Bug 2027597

Summary: Failed to upgrade cinder-csi-driver
Product: OpenShift Container Platform Reporter: Rajnikant <rkant>
Component: Cloud Credential OperatorAssignee: Pierre Prinetti <pprinett>
Status: CLOSED DUPLICATE QA Contact: Jon Uriarte <juriarte>
Severity: urgent Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, pprinett
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 15:58: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:

Comment 2 Pierre Prinetti 2021-11-30 13:30:49 UTC
From the csidriver controller pod logs:

W1125 15:21:41.095471       1 main.go:108] Failed to GetOpenStackProvider: failed to read and parse /app/deployment/ocp/[REDACTED] certificate: open /app/deployment/ocp/[REDACTED]: no such file or directory

---

This is very likely a duplicate of Bug 1940142

Please try this workaround (https://bugzilla.redhat.com/show_bug.cgi?id=1940142#c1):

manually modify the `clouds.yaml` key in `openstack-credentials` secret in `kube-system` namespace, and replace `cacert: <some value>` with `cacert: /etc/kubernetes/static-pod-resources/configmaps/cloud-config/ca-bundle.pem`.

If this is effective, we can proceed to close as duplicate.

Comment 4 Pierre Prinetti 2021-12-07 15:58:43 UTC
Glad that helped!

*** This bug has been marked as a duplicate of bug 1940142 ***