charm-ceph-osd/hooks
Chris Holcombe a8790f2303 Add support for replacing a failed OSD drive
This patch adds an action to replace a hard drive for an particular
osd server.  The user executing the action will give the OSD number
and also the device name of the replacement drive.  The rest is
taken care of by the action. The action will attempt to go through
all the osd removal steps for the failed drive.  It will force
unmount the drive and if that fails it will lazy unmount the drive.
This force and then lazy pattern comes from experience with dead
hard drives not behaving nicely with umount.

Change-Id: I914cd484280ac3f9b9f1fad8b35ee53e92438a0a
2016-03-17 08:41:15 -07:00
..
charmhelpers Resync charm-helpers 2016-03-02 12:06:15 +00:00
ceph_hooks.py support Ceph's --dmcrypt flag for OSD preparation 2016-03-03 17:03:30 -05:00
ceph.py Add support for replacing a failed OSD drive 2016-03-17 08:41:15 -07:00
config-changed Add unit tests for service status 2015-10-06 21:15:38 +01:00
install Ensure python2 is installed before hook execution 2015-09-22 14:35:49 +01:00
install.real Add unit tests for service status 2015-10-06 21:15:38 +01:00
mon-relation-changed Add unit tests for service status 2015-10-06 21:15:38 +01:00
mon-relation-departed Add unit tests for service status 2015-10-06 21:15:38 +01:00
nrpe-external-master-relation-changed Add unit tests for service status 2015-10-06 21:15:38 +01:00
nrpe-external-master-relation-joined Add unit tests for service status 2015-10-06 21:15:38 +01:00
start Add unit tests for service status 2015-10-06 21:15:38 +01:00
stop Add unit tests for service status 2015-10-06 21:15:38 +01:00
update-status Add unit tests for service status 2015-10-06 21:15:38 +01:00
upgrade-charm Add unit tests for service status 2015-10-06 21:15:38 +01:00
utils.py remove unused function 2016-02-18 17:10:53 +00:00