Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-37 Integrate OADP Lab into RHPDS/OpenTLC systems
  3. OADP-158

Ensure correct OCS ObjectBucketClaim name is used in lab provisioning script

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OADP 1.0.0
    • None
    • None
    • None
    • False
    • False
    • ToDo
    • 0
    • 0
    • 0
    • Untriaged

      We are seeing an intermittent issue with OCS provisioning.

       

      This is when I ran the script "https://raw.githubusercontent.com/kaovilai/labs/master/oadp/install-deploy.sh" from my laptop after I had provisioned an RHPDS instance of the lab.

       

      Wondering if issue is related to re-running install-deploy.sh on top of a RHPDS provisioned API for Data Protection lab which already had OCS deploy successfully once....then to upgrade the OADP version I am running install-deploy.sh from my laptop and the OCS ansible workload is doing something funky running on top of a cluster that had OCS already setup and working (just a guess).

       

       

      Example:
      https://gist.github.com/jwmatthews/bb21628d8552df33bfda04bcefa758c5
      Failure with:  TASK 
      [ocp4-workload-oadp : Get MCG PV Pool secret]
       

      We think the issue is from the OBC being in pending:

      $ oc get obc mcg -o yaml

      apiVersion: objectbucket.io/v1alpha1

      kind: ObjectBucketClaim

      metadata:

        creationTimestamp: "2021-12-09T16:18:48Z"

        finalizers:

        - objectbucket.io/finalizer

        generation: 1

        labels:

          app: noobaa

          bucket-provisioner: openshift-storage.noobaa.io-obc

          noobaa-domain: openshift-storage.noobaa.io

        name: mcg

        namespace: openshift-storage

        resourceVersion: "76185"

        uid: 2c216297-91c5-4159-b67e-5a5164ee0405

      spec:

        additionalConfig:

          bucketclass: mcg-pv-pool-bc

        bucketName: migstorage

        storageClassName: openshift-storage.noobaa.io

      status:

        phase: Pending

              tkaovila@redhat.com Tiger Kaovilai
              jmatthews John Matthews
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: