From 0d50917dcf7a4b58f2e9ae44de8de308a1ad7bd3 Mon Sep 17 00:00:00 2001 From: Apollon Oikonomopoulos Date: Wed, 16 Oct 2013 12:17:23 +0300 Subject: [PATCH] daemon-util: handle luxid in {start,stop}_master() Luxid was not handled in start_master() and stop_master() at all. As a result, during a master-failover, luxid would be left running on the old master and would not start on the new master, leaving the cluster without management until luxid was manually started. Signed-off-by: Apollon Oikonomopoulos Signed-off-by: Michele Tartara Reviewed-by: Michele Tartara --- daemons/daemon-util.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemons/daemon-util.in b/daemons/daemon-util.in index 44c39a9..f1e5941 100644 --- a/daemons/daemon-util.in +++ b/daemons/daemon-util.in @@ -292,12 +292,14 @@ check_and_start() { start_master() { start ganeti-masterd start ganeti-rapi + _confd_enabled && start ganeti-luxid } # Stops the master role stop_master() { stop ganeti-rapi stop ganeti-masterd + _confd_enabled && stop ganeti-luxid } # Start all daemons -- 1.7.10.4