commit 2c5406b6b31f77776cd31fae02aefdc1c9bf00de
Author: Billy Olsen <email address hidden>
Date: Mon Mar 13 16:54:18 2017 -0700
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.
Reviewed: https:/ /review. openstack. org/445265 /git.openstack. org/cgit/ openstack/ charm-ceph- osd/commit/ ?id=2c5406b6b31 f77776cd31fae02 aefdc1c9bf00de
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2c5406b6b31f777 76cd31fae02aefd c1c9bf00de
Author: Billy Olsen <email address hidden>
Date: Mon Mar 13 16:54:18 2017 -0700
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: I00fdbe0fd113c5 6209429341f0a10 797e5baee5a
Closes-Bug: #1662591