charm-ceph-osd/hooks
Billy Olsen 2c5406b6b3 Upgrade OSDs one at a time when changing ownership
Some upgrade scenarios (hammer->jewel) require that the ownership
of the ceph osd directories are changed from root:root to ceph:ceph.
This patch improves the upgrade experience by upgrading one OSD at
a time as opposed to stopping all services, changing file ownership,
and then restarting all services at once.

This patch makes use of the `setuser match path` directive in the
ceph.conf, which causes the ceph daemon to start as the owner of the
OSD's root directory. This allows the ceph OSDs to continue running
should an unforeseen incident occur as part of this upgrade.

Change-Id: I00fdbe0fd113c56209429341f0a10797e5baee5a
Closes-Bug: #1662591
2017-03-28 12:45:42 -07:00
..
charmhelpers Upgrade OSDs one at a time when changing ownership 2017-03-28 12:45:42 -07:00
add-storage Add support for Storage hooks 2016-05-17 08:06:07 -04:00
ceph_hooks.py Upgrade OSDs one at a time when changing ownership 2017-03-28 12:45:42 -07:00
config-changed Add unit tests for service status 2015-10-06 21:15:38 +01:00
install Add action to list unmounted disks 2016-11-28 16:53:04 -05:00
install_deps Add action to list unmounted disks 2016-11-28 16:53:04 -05: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
osd-devices-storage-attached Add support for Storage hooks 2016-05-17 08:06:07 -04:00
osd-devices-storage-detaching Add support for Storage hooks 2016-05-17 08:06:07 -04: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
storage.real Add support for Storage hooks 2016-05-17 08:06:07 -04:00
update-status Add unit tests for service status 2015-10-06 21:15:38 +01:00
upgrade-charm Add action to list unmounted disks 2016-11-28 16:53:04 -05:00
upgrade-charm.real Remove the compiled python bytecode 2016-10-03 13:16:30 -04:00
utils.py Re-license charm as Apache-2.0 2016-06-28 12:01:05 +01:00