oc mirror does not mirror intermediate versions on eus channels with shortestPath
Issue
-
When using
shortestPath: true
inoc mirror
in an EUS channel, only theminVersion
andmaxVersion
are mirrored, but not an intermediate version that allows upgrading between them. -
For example, when using an
ImageSetConfiguration
such as thiskind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 storageConfig: local: path: ./oc-mirror-metadata mirror: platform: graph: true # Required for the OSUS ooperator architectures: - amd64 channels: - name: stable-4.12 minVersion: '4.12.28' maxVersion: '4.12.28' shortestPath: true type: ocp - name: eus-4.14 minVersion: '4.12.28' maxVersion: '4.14.16' shortestPath: true type: ocp
No 4.13.z version is mirrored, so no EUS upgrade is possible in a supported way.
Environment
- Red Hat OpenShift Container Platform, using oc-mirror plugin
- 4.14 (reproduced on version
4.14.0-202402081809.p0.g6874730.assembly.stream.el8-6874730
)
- 4.14 (reproduced on version
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.