-
Bug
-
Resolution: Not a Bug
-
Critical
-
None
-
4.17
-
Critical
-
No
-
Proposed
-
True
-
-
Release Note Not Required
-
In Progress
Description of problem:
When installing the GCP CAPI cluster, the cloud-credential operator becomes DEGRADED because the target namespace 'openshift-cluster-api' does not exist. As a result, the cluster installation will fail.
Version-Release number of selected component (if applicable):
4.17.0-0.nightly-multi-2024-06-27-225521
How reproducible:
Always
Steps to Reproduce:
1.Install a GCP cluster via CAPI. 2. 3.
Actual results:
1. The cluster installation fails, and the cloud-credential operator becomes DEGRADED. [hmx@fedora 4.16]$ oc get co NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE cloud-credential 4.17.0-0.nightly-multi-2024-06-27-225521 True True True 62m 1 of 8 credentials requests are failing to sync. cluster-api 2. Check the CCO operator logs, the error message is: time="2024-06-28T08:34:07Z" level=warning msg="secret namespace does not yet exist" controller=credreq cr=openshift-cloud-credential-operator/openshift-cluster-api-gcp secret=openshift-cluster-api/capg-manager-bootstrap-credentials 3. Check the credentialsrequests, that show below error message. $ oc describe credentialsrequests -n openshift-cloud-credential-operator openshift-cluster-api-gcp | grep "Message:" Message: target namespace openshift-cluster-api not found
Expected results:
Cluster install successfully.
Additional info: