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

Warning should be shown if multi payload is not available for a release when oc-mirror is run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 4.14
    • oc-mirror
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When a release does not have a multi payload image and if user tried to perform mirroring of multi payload for that release i see that command runs and it says `No new images detected` . Also if user tries to mirror any other arch along side multi arch, oc-mirror mirrors only the single arch and does not do anything with multi which the user might tend to feel that multi images are not being mirrored. So the ask is to display a warning in the log which reads "there is no multi payload available for <ocpversion> release" or something else to help user understand it is not a bug actually and this is something that is expected.

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

      4.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install 4.14 cluster & 4.14 oc-mirror client
      2. Prepare imageSetconfig as below
      3. Run oc-mirror --config imagesetConfig.yaml docker://<registry_name>
      

      Actual results:

      We can see that multi payload does not get mirrored.

      Expected results:

      since there is no multi payload for 4.9, oc-mirror should display a warning which can be understood by the user.

      Additional info:

       

              luzuccar@redhat.com Luigi Mario Zuccarelli
              knarra@redhat.com Rama Kasturi Narra
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: