]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 18 May 2018 15:53:47 +0000 (17:53 +0200)
commit2f43e9dab5f077276162069f449978ea97c2e9c0
treee9e2970caf43dc516c0e4c9bcdacf0ad891b6e7d
parented050bf3f682e74d9453451276d10af8c6b5947f
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>
roles/ceph-defaults/templates/restart_osd_daemon.sh.j2