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

openshift-install agent create image - should ignore cache when the version changed

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • x86_64
    • Dev
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          When working in the same directory "openshift-install agent create image" use old version cache file ('.openshift_install_state.json') as a result when shift to new version image creation failed. old version 4.19.17 and new version 4.20.0 .

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

          OCP 4.20.0

      How reproducible:

          Reuse same directory during creating of agent iso with 'openshift-install agent create image' issue found with disconnected installation not tested with other use cases

      Steps to Reproduce:

          1. Download all needed tools for OCP 4.19.17 including openshift-install      2. Mirror registry 4.19.17
          3. Create agent iso with by issuing "openshift-install agent create image"
          4. agent iso creation successful
          5. Download all needed tools for OCP 4.20.0 including openshift-install
          6. Mirror registry 4.20.0
          7. In same directory (step 3) create agent iso with by issuing "openshift-install agent create image"
           

      Actual results:

          DEBUG Using internal constant for release image quay.io/openshift-release-dev/ocp-release@sha256:d1dc76522d1e235b97675b28e977cb8c452f47d39c0eb519cde02114925f91d2                                                                                                                                                       ERROR failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors                                                                                                                                                                                                        FATAL failed to fetch Agent Installer ISO: failed to fetch dependency of "Agent Installer ISO": failed to fetch dependency of "Agent Installer Artifacts": failed to fetch dependency of "Agent Installer Ignition": failed to fetch dependency of "Agent Manifests": failed to generate asset "ClusterImageSet Config": invalid ClusterImageSet configuration: spec.releaseImage: Invalid value: "quay.io/openshift-release-dev/ocp-release@sha256:d96bf58288bfe00d347707ba0b9fa5455ee0d506ae4dfe417518473197ee16ab": value must be equal to quay.io/openshift-release-dev/ocp-release@sha256:d1dc76522d1e235b97675b28e977cb8c452f47d39c0eb519cde02114925f91d2

      Expected results:

        iso creation should be successful  

      Additional info:

          After removing ".openshift_install_state.json" iso creation was successful

              rhn-support-pamoedom Pedro Jose Amoedo Martinez
              suvmitra@redhat.com Suvendu Mitra
              None
              None
              Manoj Hans Manoj Hans
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: