Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-43783

OpenStack root credential has not been updated with mode annotation

XMLWordPrintable

    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      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.     

              Unassigned Unassigned
              jshu@redhat.com Jianping Shu
              Jianping Shu Jianping Shu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: