Commit 0d50917d authored by Apollon Oikonomopoulos's avatar Apollon Oikonomopoulos Committed by Michele Tartara

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: default avatarApollon Oikonomopoulos <apoikos@gmail.com>
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent b05b5ec8
......@@ -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
......
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