From 7369e8268024da868486b42af2d8dc14337871a1 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Thu, 28 Jan 2010 11:34:50 +0000
Subject: [PATCH] ganeti-watcher: ensure confd is running as well

Ganeti-confd should be running on all 2.1 nodes.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 daemons/ganeti-watcher | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/daemons/ganeti-watcher b/daemons/ganeti-watcher
index 6346f07c2..4f8eb935a 100755
--- a/daemons/ganeti-watcher
+++ b/daemons/ganeti-watcher
@@ -486,6 +486,8 @@ def main():
   try:
     # on master or not, try to start the node dameon
     EnsureDaemon(constants.NODED)
+    # start confd as well. On non candidates it will be in disabled mode.
+    EnsureDaemon(constants.CONFD)
 
     notepad = WatcherState()
     try:
-- 
GitLab