]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-defaults: fix handlers for mds and rgw 1838/head
authorSébastien Han <seb@redhat.com>
Thu, 31 Aug 2017 09:22:33 +0000 (11:22 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 31 Aug 2017 17:02:21 +0000 (19:02 +0200)
commit3dd47a45cb709c65d0d759a5e7cef7657fddcec2
tree1d07552dbee5f69957d80e11a0658484a4b3cc90
parent7ccd10a15e9adaca9ca45dff493c195e1416e0db
ceph-defaults: fix handlers for mds and rgw

The way we handle the restart for both mds and rgw is not ideal, it will
try to restart the daemon on the host that don't run the daemon,
resulting in a service file being created (see bug description).

Now we restart each daemon precisely and in a serialized fashion.

Note: the current implementation does NOT support multiple mds or rgw on
the same node.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1469781
Signed-off-by: Sébastien Han <seb@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-defaults/handlers/main.yml
roles/ceph-defaults/templates/restart_mds_daemon.sh.j2 [new file with mode: 0644]
roles/ceph-defaults/templates/restart_mon_daemon.sh.j2
roles/ceph-defaults/templates/restart_rgw_daemon.sh.j2 [new file with mode: 0644]