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

When running oc-mirror command , a message is displayed which reads `error image list []`

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.16
    • oc / oc-mirror
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When ever oc-mirror command is run with or with out --dry-run a message is being displayed on the stdout which reads `error image list []`
          

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

           4.16
          

      How reproducible:

           always
          

      Steps to Reproduce:

          1. Get oc-mirror 4.16 latest
          2.  Run command `oc-mirror -c /tmp/imageSetConfig.yaml file://mirror --dry-run` or `oc-mirror -c /tmp/imageSetConfig.yaml file://mirror `
          3.
          

      Actual results:

          command works with out any issue but a strange message gets displayed which reads `error image list []`
          
      
      
           [knarra@knarra-thinkpadx1carbon7th openshift-tests-private]$ oc-mirror -c /tmp/imageSetConfig.yaml file://mirror --dry-run
      Creating directory: mirror/oc-mirror-workspace/src/publish
      Creating directory: mirror/oc-mirror-workspace/src/v2
      Creating directory: mirror/oc-mirror-workspace/src/charts
      Creating directory: mirror/oc-mirror-workspace/src/release-signatures
      backend is not configured in /tmp/imageSetConfig.yaml, using stateless mode
      backend is not configured in /tmp/imageSetConfig.yaml, using stateless mode
      No metadata detected, creating new workspace
      Adding graph data
      wrote mirroring manifests to mirror/oc-mirror-workspace/operators.1715710468/manifests-redhat-operator-index
       
      To upload local images to a registry, run:
       
      	oc adm catalog mirror file://redhat/redhat-operator-index:v4.15 REGISTRY/REPOSITORY
      error image list []   <------------- This line
      
          

      Expected results:

           should not see any such strange message when nothing is wrong in mirroring
          

      Additional info:

          https://redhat-internal.slack.com/archives/C050P27C71S/p1715711299379959
          

            luzuccar@redhat.com Luigi Mario Zuccarelli
            knarra@redhat.com Rama Kasturi Narra
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: