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

oc-mirror updates images previously mirrored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.13.0
    • oc / oc-mirror
    • Important
    • No
    • False
    • Hide

      None

      Show
      None

      When running oc-mirror multiple times with the same imageset the ansible-automation-platfrom-operator will get updated each time.

      The other operators listed in the imageset do not get updated.

      Imageset:

      1. cat imageset-config.yaml
        kind: ImageSetConfiguration
        apiVersion: mirror.openshift.io/v1alpha2
        storageConfig:
        local:
        path: ./metadata
        mirror:
        operators:
      • catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
        packages:
      • name: openshift-pipelines-operator-rh
        channels:
      • name: latest
      • name: pipelines-1.13
        minVersion: 'v1.13.1'
        maxVersion: 'v1.13.1'
      • name: devworkspace-operator
        channels:
      • name: fast
        minVersion: '0.25.0'
        maxVersion: '0.25.0'
      • name: ansible-automation-platform-operator
        channels:
      • name: stable-2.4-cluster-scoped
        minVersion: '2.4.0+0.1702352614'
        maxVersion: '2.4.0+0.1702352614'
      1. oc-mirror version
        Logging to .oc-mirror.log
        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.14.0-202311230911.p0.ga9d1320.assembly.stream-a9d1320", GitCommit:"a9d1320cb1150a1aa25a2e67eb8bb2042fb8c9ac", GitTreeState:"clean", BuildDate:"2023-11-23T09:32:30Z", GoVersion:"go1.20.10 X:strictfipsruntime", Compiler:"gc", Platform:"linux/s390x"}

      The metadata.json from the previous runs exists in the storageConfig.local.path

            luzuccar@redhat.com Luigi Mario Zuccarelli
            rhn-support-dseals Daniel Seals
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: