in TestNodeAddAll QA. This is a test for issue 1126.

Signed-off-by: BSRK Aditya <[email protected]>
---
 qa/qa_node.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/qa/qa_node.py b/qa/qa_node.py
index b752932..2dc5cd6 100644
--- a/qa/qa_node.py
+++ b/qa/qa_node.py
@@ -93,6 +93,12 @@ def TestNodeAddAll():
     if node != master:
       NodeAdd(node, readd=False)
 
+      cmd = utils.ShellQuoteArgs(["ps", "-Ao", "comm"])
+      prcs = AssertCommand(cmd, node=node)[1]
+
+      for d in ['ganeti-noded', 'ganeti-confd', 'ganeti-mond']:
+        if not d in prcs:
+          raise qa_error.Error(d + ' is not running at %s' % node.primary)
 
 def MarkNodeAddedAll():
   """Mark all nodes as added.
-- 
2.6.0.rc2.230.g3dd15c0

Reply via email to