Description of problem:
Older images are pulled even when using minVersion in ImageSetConfiguration.
Version-Release number of selected component (if applicable):
oc mirror version
Client Version: version.Info
How reproducible:
Always
Steps to Reproduce:
1. get attached ImageSetConfiguration
2. run 'oc mirror --config=./image-set.yaml docker://<yourRegistry> --continue-on-error'
Actual results:
Output contains a lot of 'unable to retrieve source image' errors for images which are older than defined in minVersion (those images are known to be missing, a goal was to use minVersion to filter out those older images to get rid of those errors but it's not working)
Expected results:
Those older images should not be included
Additional info:
image-set.yaml is attached
Full output of 'oc mirror' attached
There are more images failing but as an example:
error: unable to retrieve source image registry.redhat.io/openshift-service-mesh/pilot-rhel8 manifest sha256:f7c468b5a35bfce54e53b4d8d00438f33a0861549697d14445eae52d8ead9a68: for image pulls. Use the equivalent V2 schema 2 manifest digest instead. For more information see https://access.redhat.com/articles/6138332
This image is from version 1.0.11 but minVersion: '2.2.1-0' so it should not be included.
Here is how I checked that image:
podman inspect registry-proxy.engineering.redhat.com/rh-osbs/openshift-service-mesh-pilot-rhel8@sha256:f7c468b5a35bfce54e53b4d8d00438f33a0861549697d14445eae52d8ead9a68 | grep version "istio_version": "1.1.17", "version": "1.0.11" "istio_version": "1.1.17", "version": "1.0.11"
- is cloned by
-
OCPBUGS-11754 oc-mirror sometimes will leave big data under /tmp
- Closed
- is related to
-
OCPBUGS-20301 error generating diff when updating the local mirror directory generated using oc-mirror
- New
- is triggered by
-
OSSM-1759 Image mirroring for disconnected cluster is failing (unsupported: V2 schema 1)
- Closed
- links to
-
RHSA-2023:5006 OpenShift Container Platform 4.14.z security update