charm-ceph-osd/actions
Nikhil Kshirsagar 489a4ede69 Do not zap a disk if it is used by lvm2
If the disk being zapped is used by lvm (if it contains the
lvm label and hasn't been pvremove'd) it's safer to simply
bail out of zapping it than attempt teardown through a force
pvremove, because the disk being zapped might be in fact in
use by some LV.

Closes-Bug: 1858519
Change-Id: I111475c5a4584a3e367c604ab51ce2ef3789ff7f
2021-08-25 11:34:42 +05:30
..
__init__.py Migrate to shared lib 2016-08-02 09:04:51 -04:00
add-disk Move a disk with an action 2016-12-12 11:34:49 -05:00
add_disk.py Rename lib/ceph to lib/charms_ceph 2020-02-24 15:21:33 +00:00
blacklist-add-disk Add actions to blacklist osd-devices 2017-11-09 07:06:29 +01:00
blacklist-remove-disk Add actions to blacklist osd-devices 2017-11-09 07:06:29 +01:00
blacklist.py Bring ceph-osd to Python 3 2017-11-17 12:13:54 +00:00
list-disks Add action to list unmounted disks 2016-11-28 16:53:04 -05:00
list_disks.py Rename lib/ceph to lib/charms_ceph 2020-02-24 15:21:33 +00:00
osd-in Rename pause/resume osd-out/osd-in 2018-11-27 14:48:47 -08:00
osd-out Rename pause/resume osd-out/osd-in 2018-11-27 14:48:47 -08:00
osd_in_out.py Add `osds` argument to the osd-in/osd-out action 2021-01-15 15:13:29 +01:00
security-checklist Add security-checklist action 2019-03-13 10:32:13 +01:00
security_checklist.py Unpin flake8, fix lint 2020-08-26 16:29:47 +02:00
service.py Add `osds` argument to the osd-in/osd-out action 2021-01-15 15:13:29 +01:00
start Added `start` and `stop` actions for management of ceph OSDs 2020-12-15 17:29:24 +01:00
stop Added `start` and `stop` actions for management of ceph OSDs 2020-12-15 17:29:24 +01:00
zap-disk Add action to zap disk(s) 2018-06-04 13:08:45 +02:00
zap_disk.py Do not zap a disk if it is used by lvm2 2021-08-25 11:34:42 +05:30