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

oc-mirror v2 overwrites delete-imageset-config.yaml and delete-images.yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.20.0
    • oc-mirror
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          When oc-mirror creates the delete-imageset-config.yaml and delete-image.yaml they are not unique to that run.  A subsequent run of oc-mirror to generate a delete plan then overwrites the existing files as a result.  A user has no way to recall what images and operators were deleted in prior runs if they performed consecutive deletes.

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

          

      How reproducible:

          100%

      Steps to Reproduce:

          1. Run oc-mirror to generate deletion plan with an imageset config
          2. Observe delete-images.yaml and delete-imageset-config.yaml
          3. Run oc-mirror to generate a new deletion plan with a different imageset config
          

      Actual results:

          delete-images.yaml and delete-imageset-config.yaml have been overwritten with the latest deletion plan

      Expected results:

      A unique set of yaml files are generated (timestamped?) than allows for some sort of history of oc-mirrors delete operatations    

      Additional info:

          

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rhn-gps-kjackson Keith Jackson
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: