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

[CloudStorage] cloudStorage controller continuously trying to create bucket even after there is an error

XMLWordPrintable

    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-operator-bundle-container-1.5.1-44
    • ToDo
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • None

      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:

          There are no Sub-Tasks for this issue.

              tkaovila@redhat.com Tiger Kaovilai
              rhn-support-prajoshi Prasad Joshi
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: