Project

General

Profile

Bug #4505

package purge should not remove cluster data

Added by Mark Nelson about 11 years ago. Updated about 11 years ago.

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

0%

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

Description

Currently our packages will basically destroy existing ceph clusters on package purge if that cluster is using the standard /var/lib/ceph locations for storing monitor data. This is especially bad because we don't have any reasonable way for users to recover from this. They can't get their cluster back by simply reinstalling the package.

I'd argue that this is not reasonable behavior. My understanding of the purge flag is that it should in addition to removing package binaries, remove package configuration files. I'd argue that /var/lib/ceph is user generated data, not package configuration data. For an analogous example, look at the mysql packages. Purge specifically does not delete the databases that live in /var/lib/mysql.

History

#1 Updated by Ian Colle about 11 years ago

  • Assignee set to Sage Weil
  • Priority changed from Normal to Urgent

#2 Updated by Sage Weil about 11 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Sage Weil about 11 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF