From 7ec53862d988925d382489a7fd54d829fc44dbe3 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 3 Jun 2014 09:42:47 +0200 Subject: [PATCH] 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: Klaus Aehlig Reviewed-by: Petr Pudlak --- daemons/daemon-util.in | 2 +- test/py/daemon-util_unittest.bash | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daemons/daemon-util.in b/daemons/daemon-util.in index a77f1d372..88479db49 100644 --- a/daemons/daemon-util.in +++ b/daemons/daemon-util.in @@ -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 ) diff --git a/test/py/daemon-util_unittest.bash b/test/py/daemon-util_unittest.bash index 07fe1b00c..463bcdaaa 100755 --- a/test/py/daemon-util_unittest.bash +++ b/test/py/daemon-util_unittest.bash @@ -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" -- GitLab