Bug 1996624
| Summary: | 100% of the cco-metrics/cco-metrics targets in openshift-cloud-credential-operator namespace are down | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mani <mmohan> |
| Component: | Cloud Credential Operator | Assignee: | Akhil Rane <arane> |
| Status: | CLOSED ERRATA | QA Contact: | wang lin <lwan> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.6 | CC: | arane, lwan |
| Target Milestone: | --- | ||
| Target Release: | 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: AWS was the default secret annotator implementation for OpenStack
Consequence: cloud-credential-operator pod restarting continuously with error
Fix: Do not setup AWS client for non-AWS platform
Result: We no longer see CCO pod crashing
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-10 16:05:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2015989 | ||
|
Description
Mani
2021-08-23 10:32:13 UTC
Hi Mani, I checked the cco log from must-gather you attached, i see the below information from log, it shows that cco detect an aws root secret in kube-system namespace too, the customer cluster is installed on openstack, so aws secret is not required and this cause the panic. as a workaround, could you remove that aws root secret($oc delete secret aws-creds -n kube-system). i tested, that could resolve this panic. ################ 2021-08-10T12:43:07.086582668Z time="2021-08-10T12:43:07Z" level=info msg="observed admin cloud credential secret event" namespace=kube-system secret=openstack-credentials 2021-08-10T12:43:07.086582668Z time="2021-08-10T12:43:07Z" level=info msg="requeueing all CredentialsRequests" 2021-08-10T12:43:07.086582668Z time="2021-08-10T12:43:07Z" level=info msg="observed admin cloud credential secret event" namespace=kube-system secret=aws-creds 2021-08-10T12:43:07.086582668Z time="2021-08-10T12:43:07Z" level=info msg="requeueing all CredentialsRequests" ################ @wang Lin I suggested the workaround to the customer and it worked. Is this affect all RHOCP 4.6 openstack clusters? I launched a regular installation on openstack using the same version as the customer, it won't create such aws root secret in kube-system namespace by default, i am not sure why the customer's cluster had this secret. To reproduce this issue, I created an aws secret manually in kube-system, then i reproduce the same issue with the customer. The verified steps pasted on PR: https://github.com/openshift/cloud-credential-operator/pull/399#issuecomment-940787856 move this one to Verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056 |