charm-ceph-osd/unit_tests
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 Bring ceph-osd to Python 3 2017-11-17 12:13:54 +00:00
test_actions_add_disk.py Rename lib/ceph to lib/charms_ceph 2020-02-24 15:21:33 +00:00
test_actions_blacklist.py Add actions to blacklist osd-devices 2017-11-09 07:06:29 +01:00
test_actions_list_disks.py Rename lib/ceph to lib/charms_ceph 2020-02-24 15:21:33 +00:00
test_actions_osd_out_in.py Add `osds` argument to the osd-in/osd-out action 2021-01-15 15:13:29 +01:00
test_actions_service.py Add `osds` argument to the osd-in/osd-out action 2021-01-15 15:13:29 +01:00
test_actions_zap_disk.py Do not zap a disk if it is used by lvm2 2021-08-25 11:34:42 +05:30
test_ceph_hooks.py Add BlueStore Compression support 2020-08-26 16:30:24 +02:00
test_ceph_networking.py Re-license charm as Apache-2.0 2016-06-28 12:01:05 +01:00
test_ceph_utils.py Add `osds` argument to the osd-in/osd-out action 2021-01-15 15:13:29 +01:00
test_config.py Add mock for get_blacklist 2020-02-17 17:28:28 +01:00
test_status.py Add BlueStore Compression support 2020-08-26 16:30:24 +02:00
test_tuning.py Rename lib/ceph to lib/charms_ceph 2020-02-24 15:21:33 +00:00
test_upgrade.py Notify ceph-mon relations on version upgrade. 2019-05-21 15:30:00 -04:00
test_utils.py Update cloud-archive.list when upgrading from Pike to Queens 2019-02-01 11:47:05 -03:00