Project

General

Profile

Bug #44669

cephadm: rm-cluster should clean up /etc/ceph

Added by Sebastian Wagner 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm (binary)
Target version:
% Done:

0%

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

Description

master:~ # cephadm rm-cluster --fsid be909564-691b-11ea-9063-5254009bd4ee --force
master:~ # ls /etc/ceph/
ceph.client.admin.keyring  ceph.conf  rbdmap

Downside is that a future call to ceph will hang, as it tries to reach the cluster be909564-691b-11ea-9063-5254009bd4ee

History

#1 Updated by Sage Weil 7 months ago

What should the behavior here be? Check if the /etc/ceph config has the same fsid, and if so, remove it + the keyring(s)? What about rbdmap? (not sure where that came from tbh)

#2 Updated by Daniel Pivonka 7 months ago

  • Status changed from New to In Progress
  • Assignee set to Daniel Pivonka

#3 Updated by Daniel Pivonka 7 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 34150

#4 Updated by Sage Weil 7 months ago

  • Status changed from Fix Under Review to Resolved

#5 Updated by Sebastian Wagner 6 months ago

  • Target version set to v15.2.2

Also available in: Atom PDF