Project

General

Profile

Bug #5300

ceph-deploy purgedata should give warning if ceph still installed

Added by Anonymous almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Purge will remove directores needed for continued operation. Probable need to issue a warning in this case since if the intent is not to entirely remove ceph from the system, creation of a new cluster with deph-deploy fails because some directories are missing.

History

#1 Updated by Sage Weil almost 11 years ago

purge is supposed to remove the package files and any config files...

#2 Updated by Anonymous almost 11 years ago

I'll retest, I might not have been paying attention to purge vs purge data. In any event the test system was left in an inconsistent state.

#3 Updated by Sage Weil almost 11 years ago

  • Subject changed from ceph-deploy purge should give warning if ceph still installed to ceph-deploy purgedata should give warning if ceph still installed

#4 Updated by Sage Weil almost 11 years ago

  • Priority changed from Normal to High

#5 Updated by Sage Weil over 10 years ago

  • Priority changed from High to Urgent

#6 Updated by Anonymous over 10 years ago

  • Status changed from New to Resolved

Resolved with the following commit:

commit b82cf3a4e49b524751a423d25b88592b5096dabf
Author: Gary Lowell <>
Date: Fri Jul 19 11:07:40 2013 -0700

install.py:  Warn if purging all data and ceph still installed.
If any of the hosts listed in the purgedata command still have ceph installed
issue a warning message and prompt to continue. Fixes #5300.
Signed-off-by: Gary Lowell  &lt;&gt;
Reviewed-by: Alfredo Deza &lt;&gt;

Also available in: Atom PDF