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

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

XMLWordPrintable

    • Important
    • No
    • CFE Sprint 233
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • NA

      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.18.1-0.1675929565.p" not reachable from bundle "devworkspace-operator.v0.18.1"
      
      

      Actual results:

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

      Expected results:

      For the catalog to be mirrored.

      Additional info:

      Logged: https://github.com/openshift/oc-mirror/issues/571

            rh-ee-aguidi Alex Guidi
            mahmad1@redhat.com Mohammad N T Ahmad
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: