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

cloud-credential-operator cannot delete gcp system managed keys

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.15
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Cloud credential operator is warning that gcp system managed keys cannot be deleted. This is causing unnecessary API calls and logging.

      Version-Release number of selected component (if applicable):

      4.15

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install a cluster using gcp mint mode
      2. oc -n openshift-ingress-operator delete secrets/cloud-credentials
      

      Actual results:

      time="2023-11-09T22:57:08Z" level=warning msg="failed to remove extra service account key: rpc error: code = InvalidArgument desc = Service Account Key <KEY> is a system managed key and can not be deleted." actuator=gcp cr=openshift-cloud-credential-operator/openshift-ingress-gcp 
      

      Expected results:

      The warning should not appear in the logs.

      Additional info:

      These keys have "keyType": "SYSTEM_MANAGED"

              Unassigned Unassigned
              jstuever@redhat.com Jeremiah Stuever
              None
              None
              Mingxia Huang Mingxia Huang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: