Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-6174

Fix GCP FAILED_PRECONDITION for role oadpjenkins.server

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Migration QE Infra
    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Critical
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • None

      The gcp bucket creation script is failing with below error.

      ~~~~~~~~~

      05-21 07:38:54.369  ERROR: (gcloud.iam.roles.create) FAILED_PRECONDITION: You can't create a role with role_id (oadpjenkins.server) where there is an existing role with that role_id in a deleted state.

       

      05-21 07:38:56.872  ERROR: Policy modification failed. For a binding with condition, run "gcloud alpha iam policies lint-condition" to identify issues in condition.
      05-21 07:38:56.872  ERROR: (gcloud.projects.add-iam-policy-binding) INVALID_ARGUMENT: Cannot add new grants to deleted role (projects/openshift-qe/roles/oadpjenkins.server).

      ~~~~~~~~~

              rhn-support-mnadeem Md Nadeem
              rhn-support-ssingla Sachin Singla
              Tareq Alayan Tareq Alayan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: