-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
4.12
-
Important
-
None
-
Rejected
-
False
-
-
Description of problem:
CGU precache does not begin with following error when clusterversion policy does not include desiredUpdate.version spec. This should not be needed when desiredUpdate.image is already specified. As a side note, when both version and image are specified, image should take the priority. - lastTransitionTime: "2022-12-10T21:01:05Z" message: unable to find version on update graph on url http://helix21.lab.eng.tlv2.redhat.com:8080/images/upgrade-graph_stable-4.12?channel=stable-4.13 reason: InvalidPlatformImage status: "False" type: Validated
Version-Release number of selected component (if applicable):
4.12
How reproducible:
100%
Steps to Reproduce:
1. ocp upgrade policy includes following clusterversion spec: object-templates: - complianceType: Musthave objectDefinition: apiVersion: config.openshift.io/v1 kind: ClusterVersion metadata: name: version spec: channel: stable-4.13 desiredUpdate: force: true image: registry.ocp-edge-cluster-0.qe.lab.redhat.com:5000/openshift-release-dev/ocp-release@sha256:0cac0d49cb9a5f9d708c7f64b0998cfc19e7b4cbb35c48bb4a2cf6e0f7ea3f82 upstream: http://helix21.lab.eng.tlv2.redhat.com:8080/images/upgrade-graph_stable-4.12 remediationAction: Inform 3. start precache via CGU using above policy
Actual results:
precache does not begin with following error - lastTransitionTime: "2022-12-10T21:01:05Z" message: unable to find version on update graph on url http://helix21.lab.eng.tlv2.redhat.com:8080/images/upgrade-graph_stable-4.12?channel=stable-4.13 reason: InvalidPlatformImage status: "False" type: Validated
Expected results:
precache starts and succeeds
Additional info:
channel, upstream and desiredUpdate.version should not be required when desiredUpdate.image is specified.
- is related to
-
OCPBUGS-3779 CGU error when only Image or Version is provided for OCP precache
- Closed
- links to