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

GCP error syncing creds in mint-mode, can't create a role_id which has been marked for deletion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Critical Critical
    • None
    • 4.15
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Cloud credential operator throws an error when trying to mint gcp credentials using a custom role which has been deleted.

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

      4.15

      How reproducible:

      When role is in a deleted state.

      Steps to Reproduce:

          1. Create a gcp cluster with one of the custom roles deleted.
          2.
          3.
          

      Actual results:

      cloud-credential-operator throws the following error:
      2023-12-07T15:51:15.027808933Z time="2023-12-07T15:51:15Z" level=error msg="error syncing creds in mint-mode" actuator=gcp cr=openshift-cloud-credential-operator/openshift-cloud-network-config-controller-gcp error="error creating custom role: rpc error: code = FailedPrecondition desc = You can't create a role_id (x_openshiftcloudnetworkconfigcont) which has been marked for deletion."

      Expected results:

      The role should be (re)enabled and no error.

      Additional info:

          

              jstuever@redhat.com Jeremiah Stuever
              jstuever@redhat.com Jeremiah Stuever
              Jianping Shu Jianping Shu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: