charm-ceph-osd/unit_tests
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
..
__init__.py Migrate to shared lib 2016-08-02 09:04:51 -04:00
test_actions_pause_resume.py Use osd-upgrade user for pause/resume 2016-07-19 10:50:30 +01:00
test_ceph_hooks.py Upgrade OSDs one at a time when changing ownership 2017-03-28 12:45:42 -07:00
test_ceph_networking.py Re-license charm as Apache-2.0 2016-06-28 12:01:05 +01:00
test_config.py Skip osd-devices not absolute paths 2016-12-22 16:34:25 -07:00
test_replace_osd.py Upgrade OSDs one at a time when changing ownership 2017-03-28 12:45:42 -07:00
test_status.py Add support for application version 2016-09-21 09:47:09 +01:00
test_tuning.py Upgrade OSDs one at a time when changing ownership 2017-03-28 12:45:42 -07:00
test_upgrade.py Upgrade OSDs one at a time when changing ownership 2017-03-28 12:45:42 -07:00
test_utils.py Re-license charm as Apache-2.0 2016-06-28 12:01:05 +01:00