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

openshift-install error out while creating agent based ISO image for s390x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.z
    • None
    • Low
    • Yes
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          While creating agent based ISO image using "openshift-install" throwing an error, when we run "agent create image" for second time on same cluster. 

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

          OCP Build Version: 4.18 RC build

      How reproducible:

          Always

      Steps to Reproduce:

          1. Run this command "./openshift-install agent create image --log-level=debug" on clean cluster and command successfully create image without any issues.
          2. For some reason if I delete the created ISO and try to create ISO image for second time on same cluster using "./openshift-install agent create image --log-level=debug ", throws error saying "FATAL failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors " 
          
          
      Note : This issue because "openshift-install agent create image" generate a a file ".openshift_install_state.json". If this file already present seeing above mentioned error, For some reason if I try to generate ISO on same env.   

      Actual results:

          Throws error "FATAL failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors " 

      Expected results:

          It should create ISO image. 

      Additional info:

          Expecting : Above issue need to be handled by updating Knowledge Center to remove the previous run ".openshift_install_state.json" OR "openshift-install agent create image" should overwrite or delete and create fresh one. 

              dveerabh@redhat.com Neeraj Mishra
              charlapu@redhat.com Chidanand Harlapur
              Doug Slavens Doug Slavens
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: