Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr/volumes: improve volume deletion process #31762

Merged
merged 2 commits into from Nov 26, 2019

Conversation

jschmid1
Copy link
Contributor

Instead of checking if the --yes-i-really-mean-it
flag was set after removing the MDS daemon, we
need to check if before starting any removal operation.

Signed-off-by: Joshua Schmid jschmid@suse.de

@joscollin
Copy link
Member

@jschmid1 Do a QA run and check test_volume_rm test result.

@jschmid1
Copy link
Contributor Author

@jschmid1 Do a QA run and check test_volume_rm test result.

Could you forward me to a doc on how to do that?

@ajarr
Copy link
Contributor

ajarr commented Nov 21, 2019

@jschmid1 please create a Ceph tracker ticket so that we don't forget to backport it to nautilus, and have the commit mention that it Fixes: <tracker ticket link>.

Joshua Schmid added 2 commits November 21, 2019 16:55
Instead of checking if the --yes-i-really-mean-it
flag was set _after_ removing the MDS daemon, we
need to check if before starting any removal operation.

Fixes: https://tracker.ceph.com/issues/42931
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Fixes: https://tracker.ceph.com/issues/42931
Signed-off-by: Joshua Schmid <jschmid@suse.de>
@jschmid1
Copy link
Contributor Author

@jschmid1 please create a Ceph tracker ticket so that we don't forget to backport it to nautilus, and have the commit mention that it Fixes: <tracker ticket link>.

done @ajarr

@batrick
Copy link
Member

batrick commented Nov 21, 2019

@jschmid1 Do a QA run and check test_volume_rm test result.

@joscollin Please schedule the run yourself.

@joscollin
Copy link
Member

2019-11-22T06:46:36.371 INFO:tasks.cephfs_test_runner:test_volume_rm (tasks.cephfs.test_volumes.TestVolumes) ... ok
2019-11-22T06:46:36.371 INFO:tasks.cephfs_test_runner:
2019-11-22T06:46:36.372 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2019-11-22T06:46:36.372 INFO:tasks.cephfs_test_runner:Ran 43 tests in 2675.803s
2019-11-22T06:46:36.372 INFO:tasks.cephfs_test_runner:
2019-11-22T06:46:36.372 INFO:tasks.cephfs_test_runner:OK

2019-11-22T06:48:16.438 INFO:tasks.cephfs_test_runner:test_volume_rm (tasks.cephfs.test_volumes.TestVolumes) ... ok
2019-11-22T06:48:16.439 INFO:tasks.cephfs_test_runner:
2019-11-22T06:48:16.439 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2019-11-22T06:48:16.439 INFO:tasks.cephfs_test_runner:Ran 43 tests in 2621.792s
2019-11-22T06:48:16.439 INFO:tasks.cephfs_test_runner:
2019-11-22T06:48:16.439 INFO:tasks.cephfs_test_runner:OK

batrick added a commit that referenced this pull request Nov 26, 2019
* refs/pull/31762/head:
	mgr/ssh: improve logging for mds removal
	mgr/volumes: move up 'confirm' validation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
@batrick batrick merged commit 8b461cf into ceph:master Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants