Bug 1857721
| Summary: | Backingstore creation should reject "Provider :PVC" with "OBC only SC- ocs-storagecluster-ceph-rgw" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Neha Berry <nberry> | ||||
| Component: | Multi-Cloud Object Gateway | Assignee: | Jacky Albo <jalbo> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Neha Berry <nberry> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.5 | CC: | etamir, nbecker, ocs-bugs | ||||
| Target Milestone: | --- | Keywords: | AutomationBackLog | ||||
| Target Release: | OCS 4.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | v4.5.0-16.ci | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-09-15 10:18:18 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Neha Berry
2020-07-16 12:12:00 UTC
My bad.. Even though I downloaded the latest noobaa-binary from noobaa-operator pod and copied in /usr/local/bin, I still ended up using the old noobaa-CLI Thanks @Jacky for looking into it and making me realise my mistake :) The fix works on below builds: OCS = ocs-operator.v4.5.0-494.ci OCP = Cluster version is 4.5.0-0.nightly-2020-07-22-074214 From CLI ============= 1. oc exec noobaa-operator-695884dc65-kldm5 -- cat /usr/local/bin/noobaa-operator >>noobaa-new ; chmod 777 noobaa-new 2. $ date --utc; ./noobaa-new backingstore create pv-pool rgw-new1 --num-volumes 2 --pv-size-gb 16 --storage-class ocs-storagecluster-ceph-rgw Wed Jul 22 14:53:26 UTC 2020 INFO[0005] ✅ Exists: NooBaa "noobaa" INFO[0006] ✅ Exists: StorageClass "ocs-storagecluster-ceph-rgw" FATA[0006] ❌ Could not set StorageClass "ocs-storagecluster-ceph-rgw" for system in namespace "openshift-storage" - as this class reserved for obc only 3. $ ./noobaa-new version INFO[0000] CLI version: 2.3.0 INFO[0000] noobaa-image: noobaa/noobaa-core:5.5.0 INFO[0000] operator-image: noobaa/noobaa-operator:2.3.0 From UI =========== UI did not reject the OBC only SC. A bZ is already raised for tracking the issue. Bug 1858179 - In OCS UI: Backingstore creation should reject Provider :PVC with OBC only SC(ocs-storagecluster-ceph-rgw & openshift-storage.noobaa.io) Hence, moving the BZ to verified state. Again, apologies for causing so much noise. 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.5.0 bug fix and enhancement 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-2020:3754 |