-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.17.z, 4.18
-
Low
-
None
-
False
-
Description of problem:
CCO supports only passthrough mode on OpenStack but the root credential has no mode annotation to indicate passthrough mode like other clouds
Version-Release number of selected component (if applicable):
4.18.0-0.nightly-2024-10-23-003937 4.17.2
How reproducible:
Always
Steps to Reproduce:
1.Install a OpenStack cluster 2.Check root credential and cco logs
Actual results:
$ oc get secret -n kube-system openstack-credentials -o yaml ...... kind: Secret metadata: creationTimestamp: "2024-10-24T07:27:50Z" name: openstack-credentials namespace: kube-system resourceVersion: "446" uid: d8bed54b-2234-43f0-816d-d6859e4eced5 type: Opaque In cco logs, there warnings as below time="2024-10-24T06:45:51Z" level=warning msg="Secret missing mode annotation, assuming ModeUnknown" controller=metrics
Expected results:
The annotation on root credential to indicate passthrough, no above warning logs
Additional info:
It is minor issue but may impact metrics for cco mode and other possible logic depending on mode annotation.