Bug 1775266 - mgr/volumes: extend the `fs volume rm` protection to include MDS tear down
Summary: mgr/volumes: extend the `fs volume rm` protection to include MDS tear down
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 4.0
Hardware: All
OS: All
medium
low
Target Milestone: rc
: 4.1
Assignee: Jos Collin
QA Contact: subhash
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-21 16:04 UTC by Jos Collin
Modified: 2020-05-19 17:31 UTC (History)
7 users (show)

Fixed In Version: ceph-14.2.8-3.el8, ceph-14.2.8-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-19 17:31:16 UTC
Embargoed:
hyelloji: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 43024 0 None None None 2020-03-05 15:36:33 UTC
Red Hat Bugzilla 1761752 0 medium CLOSED mgr/volumes: missing protection for `fs volume rm` command 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2020:2231 0 None None None 2020-05-19 17:31:30 UTC

Description Jos Collin 2019-11-21 16:04:27 UTC
Description of problem:
The `fs volume rm` command (delete volume) includes MDS tear down and filesystem removal. The protection --yes-i-really-mean-it was implemented only for the filesystem removal. So extend it to include the MDS tear down too. This avoids a partial state of deleting a volume. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. ./bin/ceph fs volume rm

Actual results:
Without protection: Tears Down MDS but doesn't delete the filesystem.

Expected results:
Without protection: Prevent both Tear Down the MDS and delete the filesystem. 

Additional info:

Comment 6 errata-xmlrpc 2020-05-19 17:31:16 UTC
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, 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-2020:2231


Note You need to log in before you can comment on or make changes to this bug.