From: Billy Olsen Date: Mon, 24 Oct 2016 22:13:51 +0000 (-0700) Subject: upstart: start ceph-all after static-network-up X-Git-Tag: v11.1.0~177^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e10e22a95f67c31947d4c0f33d69e4d8b929b0e8;p=ceph.git upstart: start ceph-all after static-network-up Starting on runlevel [2345] allows the ceph services to start before all of the networking is configured. This introduces a race condition which allows a service to start before the network it binds to is available. Add the static-network-up event as a dependency for the start on directive in order to start the ceph services after all of the network stanzas have been processed and executed in the /etc/network/interfaces and /etc/network/interfaces.d/*.conf files. Fixes: http://tracker.ceph.com/issues/17689 Signed-off-by: Billy Olsen --- diff --git a/src/upstart/ceph-all.conf b/src/upstart/ceph-all.conf index c0b0edd3871..52d0f08b8e0 100644 --- a/src/upstart/ceph-all.conf +++ b/src/upstart/ceph-all.conf @@ -1,4 +1,4 @@ description "Ceph" -start on runlevel [2345] +start on runlevel [2345] and static-network-up stop on runlevel [!2345]