-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
ToDo
-
-
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
Description of problem:
Controller tries to create bucket every other second. If the error is not recoverable we should stop creating bucket, example missing some permission which requires human intervention.
2025-09-03T13:09:37Z DEBUG events unable to create bucket: permission denied: check service account permissions for project {"type": "Warning", "object": {"kind":"CloudStorage","namespace":"openshift-adp","name":"gcp-test-storage","uid":"e48d5fde-b918-4768-86a0-30fa321db6ef","apiVersion":"oadp.openshift.io/v1alpha1","resourceVersion":"166917"}, "reason": "BucketNotCreated"} 2025-09-03T13:10:38Z DEBUG events unable to create bucket: permission denied: check service account permissions for project {"type": "Warning", "object": {"kind":"CloudStorage","namespace":"openshift-adp","name":"gcp-test-storage","uid":"e48d5fde-b918-4768-86a0-30fa321db6ef","apiVersion":"oadp.openshift.io/v1alpha1","resourceVersion":"166917"}, "reason": "BucketNotCreated"}
Version-Release number of selected component (if applicable):
OADP 1.5.1
How reproducible:
always
Steps to Reproduce:
1. Create a GCP-WIF
2. Create a service account without adding storage.buckets.create permission
3. Create cloudStorage CR.
4. Observe openshift-adp-controller pod logs.
Actual results:
Bucket create call is getting executed every other second.
Expected results:
If error is not recoverable in that case CR should fallback.
Additional info: