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

oc-mirror fails to complete with heads only complaining about devworkspace-operator

    XMLWordPrintable

Details

    • Important
    • No
    • CFE Sprint 234, CFE Sprint 235
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • NA

    Description

      Description of problem:

      oc-mirror fails to complete with heads only complaining about devworkspace-operator

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

      # oc-mirror version
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.12.0-202302280915.p0.g3d51740.assembly.stream-3d51740", GitCommit:"3d517407dcbc46ededd7323c7e8f6d6a45efc649", GitTreeState:"clean", BuildDate:"2023-03-01T00:20:53Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}
      

      How reproducible:

      Attempt a headsonly mirroring for registry.redhat.io/redhat/redhat-operator-index:v4.10

      Steps to Reproduce:

      1. Imageset currently:
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v1alpha2
      storageConfig:
        registry:
          imageURL: myregistry.mydomain:5000/redhat-operators
          skipTLS: false
      mirror:
        operators:
        - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.10
      2.$ oc mirror --config=./imageset-config.yml docker://otherregistry.mydomain:5000/redhat-operators
      
      Checking push permissions for otherregistry.mydomain:5000
      Found: oc-mirror-workspace/src/publish
      Found: oc-mirror-workspace/src/v2
      Found: oc-mirror-workspace/src/charts
      Found: oc-mirror-workspace/src/release-signatures
      WARN[0026] DEPRECATION NOTICE:
      Sqlite-based catalogs and their related subcommands are deprecated. Support for
      them will be removed in a future release. Please migrate your catalog workflows
      to the new file-based catalog format. 
      
      The rendered catalog is invalid.
      
      Run "oc-mirror list operators --catalog CATALOG-NAME --package PACKAGE-NAME" for more information.  
      
      error: error generating diff: channel fast: head "devworkspace-operator.v0.19.1-0.1679521112.p" not reachable from bundle "devworkspace-operator.v0.19.1"  

      Actual results:

      error: error generating diff: channel fast: head "devworkspace-operator.v0.19.1-0.1679521112.p" not reachable from bundle "devworkspace-operator.v0.19.1"

      Expected results:

      For the catalog to be mirrored.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-aguidi Alex Guidi
              rh-ee-aguidi Alex Guidi
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: