Purging an OSD should cleanup associated files and services

Bug #1955110 reported by Edin S
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
New
Undecided
Unassigned

Bug Description

After purging an OSD the associated files and services should be cleaned up.

For example, after purging osdid 0, the following remains on the osd unit:
- directory /var/lib/ceph/osd/ceph-0 (which leads to bugs like LP#1934938)
- systemd service ceph-osd@0.service (it's stopped, but not disabled)

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

How are you purging an OSD? The charms don't currently have any actions to purge the OSD so independent operator action must have been taken? If that's the case, then the operator should take care to remove leftovers as well.

Changed in charm-ceph-osd:
status: New → Incomplete
Revision history for this message
Edin S (exsdev) wrote :

The purge was done via the ceph-mon charm, via its purge-osd action (a relatively new addition). e.g.
juju run-action ceph-mon/0 purge-osd osd=0 i-really-mean-it=true --wait

Changed in charm-ceph-osd:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.