remove-disk action fails with vault encrypted OSDs

Bug #1985881 reported by Trent Lloyd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
New
Undecided
Unassigned

Bug Description

The remove-disk action fails to remove disks when vault encrypted OSDs are in-use, which is the majority of deployments currently.

The cause is that it's looking for the raw disk path (/dev/vdf) in the charm_devices list, however action_osd.device is set to /dev/mapper/crypt-XXXX

As part of resolving this, we should generally verify that the remove-disk action will work correctly with vault encrypted OSDs and bcache cached OSDs and also when combined. Additionally we should ensure it works when both cache-devices and

Tested on: stable/quincy (r534)

Revision history for this message
Luciano Lo Giudice (lmlogiudice) wrote :

Hello Trent,

Can you tell me a bit more as to how to reproduce this bug ? Specifically, what are the arguments passed to the 'add-disk' and 'remove-disk' action ?

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.