Project

General

Profile

Actions

Bug #7617

closed

ceph-deploy uninstall should document why it doesn't remove all relevant packages

Added by Dan Mick about 10 years ago. Updated almost 10 years ago.

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

0%

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

Description

ceph-deploy uninstall on Precise left behind librbd1 and librados2 (dependencies, not explicitly installed); an audit shows that uninstall is pretty spotty across all supported distros. We should complete those lists to contain the dependencies of any package ceph-deploy install pulls in.

Actions #1

Updated by Ian Colle about 10 years ago

  • Project changed from Ceph to devops
Actions #2

Updated by Dan Mick about 10 years ago

The problem is that qemu-kvm depends on librbd1, and if you remove the latter, that means removing the former. That really should be fixed before this can be; I spoke to Josh about it, and he has a fix, but it's been rejected from upstream in favor of a more-generic plugin mechanism that will doubtless take years :)

Actions #3

Updated by Alfredo Deza about 10 years ago

@Dan Mick would an acceptable workaround to this problem in the meantime be to add an extra flag to handle this?

Something like `--with-dependencies`:

ceph-deploy uninstall --with-dependencies {nodes}

# and

ceph-deploy purge --with-dependencies {nodes}
Actions #4

Updated by Dan Mick about 10 years ago

Oh, I dunno. I was depressed enough about the "qemu requires librbd" that I kinda lost interest.

I'm good with closing this. It's just an unfortunate wart. We may want to document it somewhere tho.

Actions #5

Updated by Alfredo Deza about 10 years ago

  • Subject changed from ceph-deploy uninstall should remove all relevant packages to ceph-deploy uninstall should document why it doesn't remove all relevant packages
  • Status changed from New to In Progress
Actions #6

Updated by Alfredo Deza about 10 years ago

  • Status changed from In Progress to Fix Under Review
Actions #7

Updated by Alfredo Deza almost 10 years ago

  • Status changed from Fix Under Review to Resolved

Merged into ceph-deploy's master branch with hash: 4ba3fa3

Actions

Also available in: Atom PDF