Bug 1927782
Summary: | With graceful mode, storagecluster/cephcluster deletion should be blocked if OBC based on RGW SC still exists | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Neha Berry <nberry> | ||||
Component: | rook | Assignee: | Blaine Gardner <brgardne> | ||||
Status: | CLOSED ERRATA | QA Contact: | Anna Sandler <asandler> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.7 | CC: | jthottan, madam, muagarwa, nigoyal, ocs-bugs, odf-bz-bot, rtalur, shan, tnielsen | ||||
Target Milestone: | --- | Keywords: | AutomationBackLog | ||||
Target Release: | ODF 4.9.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-12-13 17:44:30 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
2021-02-11 14:09:22 UTC
Since not a regression, only related to uninstall, and there is a workaround, moving to 4.8. Per discussion on upstream design doc for cleanup, this would have potential breaking behavior change so we need to wait for an upstream minor release v1.7 to make this change. Thus, moving to 4.9. Upstream design doc to solve this issue as well as a related class of issues: https://github.com/rook/rook/pull/7885 Branch https://github.com/red-hat-data-services/rook/tree/release-4.9 has the fix from a resync. Moving to MODIFIED. created two OBCs via UI ------------------------------------------------------------------- [asandler@fedora ~]$ oc get obc -A No resources found [asandler@fedora ~]$ oc get obc -A NAMESPACE NAME STORAGE-CLASS PHASE AGE default obc1 ocs-storagecluster-ceph-rgw Bound 15s default obc2 openshift-storage.noobaa.io Bound 3s deleting storagecluster ------------------------------------------------------------- [asandler@fedora ~]$ oc delete storagecluster ocs-storagecluster -n openshift-storage storagecluster.ocs.openshift.io "ocs-storagecluster" deleted [asandler@fedora ~]$ oc get storagecluster -A NAMESPACE NAME AGE PHASE EXTERNAL CREATED AT VERSION openshift-storage ocs-storagecluster 4h15m Deleting 2021-08-23T20:02:18Z 4.8.0 -----> stuck on deleting deleting noobaa OBC ----------------------------------------------------------- [asandler@fedora ~]$ oc get obc -A NAMESPACE NAME STORAGE-CLASS PHASE AGE default obc1 ocs-storagecluster-ceph-rgw Bound 12m [asandler@fedora ~]$ oc get storagecluster -A NAMESPACE NAME AGE PHASE EXTERNAL CREATED AT VERSION openshift-storage ocs-storagecluster 4h17m Deleting 2021-08-23T20:02:18Z 4.8.0 -------> still stuck deleting RGW OBC ------------------------------------------------------------------ [asandler@fedora ~]$ oc get obc -A No resources found [asandler@fedora ~]$ oc get storagecluster -A No resources found * PVCs were deleted too to prevent storagecluster being stuck because of them moving to verified 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 (Moderate: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and 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/RHSA-2021:5086 |