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

openshift-install is not removing agent base temp folder

XMLWordPrintable

    • None
    • Agent Sprint 267, Agent Sprint 268
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      When the 'openshift-install agent create pxe-files' command is run it creates a temporary directory. Previously this directory was not removed when the command completes. This fixes the command such that it removes the temporary directory before completion.
      Show
      When the 'openshift-install agent create pxe-files' command is run it creates a temporary directory. Previously this directory was not removed when the command completes. This fixes the command such that it removes the temporary directory before completion.
    • Bug Fix
    • In Progress

      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:

       

       

              rhn-support-pamoedom Pedro Jose Amoedo Martinez
              openshift-crt-jira-prow OpenShift Prow Bot
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: