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

oc-mirror with prepare failed when specify port

XMLWordPrintable

    • Important
    • CFE Sprint 246
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done
    • Customer Facing

      Description of problem:

      when use the oc-mirror with v2 prepare failed with error when specify port :
      oc-mirror  --v2 prepare --from file://out --config config-filter.yaml file://out  -p 5005
      --v2 flag identified, flow redirected to the oc-mirror v2 version. PLEASE DO NOT USE that. V2 is still under development and it is not ready to be used. 
      2023/12/04 05:39:17  [INFO]   : mode prepare 
      2023/12/04 05:39:17  [ERROR]  :  error using the local storage folder for caching

       

       

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

      oc-mirror version 
      WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version.
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.15.0-202312011230.p0.ge4022d0.assembly.stream-e4022d0", GitCommit:"e4022d08586406f3a0f92bab1d3ea6cb8856b4fa", GitTreeState:"clean", BuildDate:"2023-12-01T12:48:12Z", GoVersion:"go1.20.10 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}

      How reproducible:

      always

      Steps to Reproduce:

      1. run the oc-mirror with prepare and specify port :
      oc-mirror --v2 prepare --from file://out --config config-filter.yaml file://out -p 5005

      Actual results: 

      oc-mirror  --v2 prepare --from file://out --config config-filter.yaml file://out  -p 5005
      --v2 flag identified, flow redirected to the oc-mirror v2 version. PLEASE DO NOT USE that. V2 is still under development and it is not ready to be used. 
      2023/12/04 05:39:17  [INFO]   : mode prepare 
      2023/12/04 05:39:17  [ERROR]  :  error using the local storage folder for caching

      Expected results:

      Should succeed.

       

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

              Created:
              Updated:
              Resolved: