... otherwise we have no guarantee that the RAPI daemon will pick up
the change.

Signed-off-by: Hrvoje Ribicic <[email protected]>
---
 qa/qa_rapi.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/qa/qa_rapi.py b/qa/qa_rapi.py
index 547e904..955d62a 100644
--- a/qa/qa_rapi.py
+++ b/qa/qa_rapi.py
@@ -152,6 +152,9 @@ def _CreateRapiUser(rapi_user):
   finally:
     fh.close()
 
+  # The certificates have to be reloaded now
+  AssertCommand(["service", "ganeti", "restart"])
+
   return rapi_secret
 
 
-- 
2.6.0.rc2.230.g3dd15c0

Reply via email to