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

oc-mirror command stuck when use wrong format `file:/`

XMLWordPrintable

    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Bug Fix
    • In Progress
    • Release Notes
    • Customer Facing

      Description of problem:

      When use wrong format for `file:/` , the oc-mirror command is stuck: 
      `oc-mirror -c config-op.yaml file:/outocp --v2`

       

       

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

      oc-mirror 4.16

      How reproducible:

      always

      Steps to Reproduce:

      1) Use following isc to do mirror2disk for v2:  
      apiVersion: mirror.openshift.io/v2alpha1
      kind: ImageSetConfiguration
      mirror:
        platform:
          architectures:
            - "amd64"
          channels:
            - name: stable-4.15
              minVersion: 4.15.2
              maxVersion: 4.15.5
      `oc-mirror --config config.yaml file:/outocp  --v2`
      
      

       

      Actual results: 

      1) mirror command stuck

      Expected results:

      1) should print error

      Additional information:

       

              luzuccar@redhat.com Luigi Mario Zuccarelli
              yinzhou@redhat.com ying zhou
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: