Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-4177

Ignore errors when trying to clean the /tmp directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.3.0.GA
    • 2.3.0.GA
    • None
    • None
    • False
    • None
    • False

      In #6966 we added a cleanup of the /tmp directory when the container restarts. However, it turns out that in some casis various weird tools inject their own files into the /tmp dir often with various permissions which do not allow us to delete the files. One such example is discussed in https://cloud-native.slack.com/archives/CMH3Q3SNP/p1659351813745469

      While we in general do not support this kind of tools, we should make the container scripts more resilient against this. The /tmp clean-up is done as a prevention of the disk getting full. Skipping deletion of these files might not mean we run out of disk space. Trying to delete them and failing the operator startup causes failure every time. We should update the scripts to just ignore such errors or not try to delete such files.

            Unassigned Unassigned
            scholzj JAkub Scholz
            Lukas Kral Lukas Kral
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: