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
  3. OADP-6687

(QE) Verify for ( [CloudStorage] cloudStorage controller continuously trying to create bucket even after there is an error )

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OADP 1.5.1
    • None
    • QE-Task
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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:

              rhn-support-prajoshi Prasad Joshi
              talayan@redhat.com Tareq Alayan
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: