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

cloud-credential-operator cannot add new grants to deleted gcp role

XMLWordPrintable

    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

         The GCP Mint mode sync is failing when attempting to add permissions to a previously deleted custom role. 

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

          4.15

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create a gcp cluster in mint mode (with a CCO credentialRequests that has permissions defined)
          2. Delete the openshift-hive-dev-cloud-credential-operator-gcp-ro-creds custom role from GCP
          3. oc -n openshift-cloud-credential-operator delete secret cloud-credential-operator-gcp-ro-creds

      Actual results:

          Receive the following error when attempting to add permissions to the deleted custom role: "cloud-credential-operator cannot add new grants to deleted gcp role"

      Expected results:

          The new permissions should be added to the role without issue.

      Additional info:

          

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

                Created:
                Updated:
                Resolved: