-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.18
-
None
-
Important
-
None
-
False
-
Getting the below error when using minVersion and MaxVersion in the imageset
~~~~
- 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.18.0-202410251041.p0.g95f0611.assembly.stream.el9-95f0611", GitCommit:"95f0611c1dc9584a4a9e857912b9eaa539234bbc", GitTreeState:"clean", BuildDate:"2024-10-25T11:28:20Z", GoVersion:"go1.22.7 (Red Hat 1.22.7-1.module+el8.10.0+22325+dc584f75) X:strictfipsruntime", Compiler:"gc", Platform:"linux/s390x"}~~~
I set the imageset-config.yaml to a specific AAP version
~~~
- name: ansible-automation-platform-operator
defaultChannel: stable-2.4-cluster-scoped
channels: - name: stable-2.4-cluster-scoped
minVersion: '2.4.0+0.1727259094'
maxVersion: '2.4.0+0.1727259094'
~~~~
Unfortunately it is still trying to download an image from a version outside of the specified range (v2.4.0+0.1725256739).
~~~
stats: shared=387 unique=1312 size=63.65GiB ratio=0.59
error: unable to retrieve source image registry.redhat.io/openshift4/ose-kube-rbac-proxy manifest sha256:514e9e03f1d96046ff819798e54aa5672621c15805d61fb6137283f83f57a1e3: manifest unknown: manifest unknown
error: an error occurred during planning
~~~
They can workaround by removing the maxVersion but that ends up mirroring 20gb