Commit 7ec53862 authored by Klaus Aehlig's avatar Klaus Aehlig

Start noded before wconfd

noded is designed to live on a normal node and hence
will not depend on any other daemon. In particular, it
is safe to start this daemon first. Starting it after
wconfd also allows wconfd to carry out a full voting.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
parent 2037242f
......@@ -28,8 +28,8 @@ readonly defaults_file="$SYSCONFDIR/default/ganeti"
# order is important as there are dependencies between them. On shutdown,
# they're stopped in reverse order.
DAEMONS=(
ganeti-wconfd
ganeti-noded
ganeti-wconfd
ganeti-rapi
ganeti-luxid
)
......
......@@ -36,8 +36,8 @@ if ! grep -q '^ENABLE_MOND = ' lib/_constants.py; then
err "Please update $0, mond enable feature is missing"
fi
DAEMONS_LIST="wconfd noded rapi luxid"
STOPDAEMONS_LIST="luxid rapi noded wconfd"
DAEMONS_LIST="noded wconfd rapi luxid"
STOPDAEMONS_LIST="luxid rapi wconfd noded"
if grep -q '^ENABLE_CONFD = True' lib/_constants.py; then
DAEMONS_LIST="$DAEMONS_LIST confd"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment