Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-54345

openshift-install is not removing agent base temp folder

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when you ran the `openshift-install agent create pxe-files` command, the command created temporary directories in `/tmp/agent` and the command did not remove these directories upon command completion. With this release, the command now removes the directories when the command nears completion, so no manual deletion of directories is necessary. (link:https://issues.redhat.com/browse/OCPBUGS-54345[OCPBUGS-54345])
      Show
      * Previously, when you ran the `openshift-install agent create pxe-files` command, the command created temporary directories in `/tmp/agent` and the command did not remove these directories upon command completion. With this release, the command now removes the directories when the command nears completion, so no manual deletion of directories is necessary. (link: https://issues.redhat.com/browse/OCPBUGS-54345 [ OCPBUGS-54345 ])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-39583. The following is the description of the original issue:

      Description of problem:

          The temp folder for extracting the ISO is not cleared in some cases.

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          Run the installer 

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          ls -ld /tmp/agent\*
      06    drwx------. 6 root root 4096 Sep  3 18:25 /tmp/agent1486745391
      06    drwx------. 6 root root 4096 Sep  3 19:11 /tmp/agent2382395525
      06    drwx------. 6 root root 4096 Sep  3 16:21 /tmp/agent2495758451
      06    drwx------. 6 root root 4096 Sep  3 18:44 /tmp/agent2810534235
      06    drwx------. 6 root root 4096 Sep  3 16:41 /tmp/agent2862979295
      06    drwx------. 6 root root 4096 Sep  3 17:31 /tmp/agent2935357941
      06    drwx------. 6 root root 4096 Sep  3 17:00 /tmp/agent2952470601
      06    drwx------. 6 root root 4096 Sep  3 17:12 /tmp/agent4019363474
      06    drwx------. 6 root root 4096 Sep  3 19:03 /tmp/agent589005812

      Expected results:

      Temp folder to be removed once the iso is created.

      Additional info:

       

       

              bfournie@redhat.com Robert Fournier
              openshift-crt-jira-prow OpenShift Prow Bot
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: