-
Bug
-
Resolution: Done
-
Major
-
None
-
4.12.z
-
No
-
False
-
-
Description of problem:
In a connected and proxy'ed environment, attempting to apply a ClusterGroupUpgrade with a ClusterVersion CR in the policy fails with the error: InvalidPlatformImage unable to request update graph on url https://api.openshift.com/api/upgrades_info/v1/graph?channel=stable-4.10: Get "https://api.openshift.com/api/upgrades_info/v1/graph?channel=stable-4.10": dial tcp 54.152.194.165:443: connect: connection timed out
Version-Release number of selected component (if applicable):
topology-aware-lifecycle-manager.v4.12.5
How reproducible:
Always
Steps to Reproduce:
1. Setup a connected ACM/ZTP environment with a web proxy 2. Create a PGT that contains a ClusterVersion CR such as: - fileName: ClusterVersion.yaml policyName: "config-policy" metadata: name: version annotations: ran.openshift.io/ztp-deploy-wave: "100" spec: channel: "stable-4.10" desiredUpdate: version: 4.10.45 status: history: - version: 4.10.45 state: "Completed" 3. Attempt to deploy node via GitOps (or create a CGU to manually apply the policy)
Actual results:
CGU refuses to proceed and apply policies, raising an InvalidPlatformImage error with a timeout to https://api.openshift.com
Expected results:
CGU successfully applies all policies to node
Additional info:
Generally the proxy in the environment does work. rsh in to the cgu controller manager pod and doing a curl against api.openshift.com works fine. Doing an `oc adm upgrade` on the SNO is also successful and the node can pull down the upgrade graphs/etc. Seems to be erroring out on this line: https://github.com/openshift-kni/cluster-group-upgrades-operator/blob/release-4.12/controllers/precache.go#L77 Pre-caching is not enabled on the CGU though.
- clones
-
OCPBUGS-20423 InvalidPlatformImage Error Behind Proxy
- Closed
- is cloned by
-
OCPBUGS-20425 InvalidPlatformImage Error Behind Proxy
- Closed
- links to
-
RHEA-2023:118987 OpenShift Container Platform 4.13.3 CNF vRAN extras update
- mentioned on
(1 mentioned on)