Description of problem (please be detailed as possible and provide log snippests): Currently noobaa-db pod consumes storage from `ocs-ceph-rbd` storage class which make it impossible to deploy noobaa with other storage classes. Also the Noobaa cr spec for this is marked as `immutable` hence can't be edited post deployment either. Version of all relevant components (if applicable): ocs-operator-4.7 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Is there any workaround available to the best of your knowledge? This feature will expose Storage Cluster spec to include `DBStorageClass` in the `MultiCloudGatewaySpec`allowing noobaa to be deployed without consuming storage from `ocs-ceph-rbd` Eg- — multiCloudGateway: reconcileStrategy: "manage" dbStorageClass: "gp2" — Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 3 Can this issue reproducible? Yes Can this issue reproduce from the UI? N.A If this is a regression, please provide more details to justify this: N.A Steps to Reproduce: 1. 2. 3. Actual results: N.A Expected results: N.A Additional info:N.A
If I remember correctly this need is coming from the managed add-on. We had some discussion about this earlier today and we're still deciding whether we need any actual automation in OCS itself or if it's something the deployer can handle. If we need something in OCS it may be acceptable to have this in OCS 4.8.z, so moving it there and marking it as a potential blocker.
Verification use case: deploy StorageCluster with NooBaa without Ceph using this feature
Jose, can you confirm if we need change in 4.9 too as well to pass the StorageClass for NooBaa DB PV?
We will need this, yes. If nothing else, we can't just add this new API in 4.8 and then have it disappear in 4.9. But we don't need a BZ for 4.9, just submit a PR to master and it can merge without a BZ. The only requirement is that the release-4.8 version be as similar to the master PR as possible, if not identical. This BZ already has dev_ack+, so we need someone from QE to give qa_ack+.
Please fill the doc text
In a NON-Managed cluster the Storage Cluster CR needs to be updated as follows :- ``` multiCloudGateway: reconcileStrategy: "" dbStorageClass: <test-storage-class-name> ``` After deployment succeeds check the noobaa CR oc get noobaa noobaa -oyaml The noobaa CR should have the following under spec: ``` dbStorageClass : <test-storage-class-name> pvPoolDefaultStorageClass : <test-storage-class-name> ``` `
@nberry I overlooked this before, sorry for that. The spec in multiCloudGateway should be dbStorageClassName and not dbStorageClass. so it should look like this ``` multiCloudGateway: reconcileStrategy: "" dbStorageClassName: <test-storage-class-name> ```
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenShift Container Storage 4.8.1 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3312