]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
defaults: restart_osd_daemon unit spaces
authorSébastien Han <seb@redhat.com>
Fri, 18 May 2018 12:43:57 +0000 (14:43 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 23 May 2018 06:21:51 +0000 (23:21 -0700)
commit663c9ac9456c9d6296d19bdd562af1950447a641
tree88096dacdaa6ffefd9aaa386c8d78d2aecd9c5f6
parentc61b64158591671fa0d57d4578d72b921aba3f0e
defaults: restart_osd_daemon unit spaces

Extra space in systemctl list-units can cause restart_osd_daemon.sh to
fail

It looks like if you have more services enabled in the node space
between "loaded" and "active" get more space as compared to one space
given in command the command[1].

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1573317
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 2f43e9dab5f077276162069f449978ea97c2e9c0)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-defaults/templates/restart_osd_daemon.sh.j2