New patch submitted by Federico Simoncelli (fsimonce(a)redhat.com)
You can review this change at:
http://gerrit.usersys.redhat.com/779
commit 35adf49436ce00b4c8638fb87e20aa05e364a022
Author: Federico Simoncelli <fsimonce(a)redhat.com>
Date: Tue Aug 2 15:46:12 2011 +0000
BZ#727509 Vdsm-reg should get RHEVM certificates
Change-Id: I09673ab7bc9fa5dc99829eb6b8d6a65bc13d0e73
diff --git a/vdsm_reg/vdsm-reg-setup.py b/vdsm_reg/vdsm-reg-setup.py
index b1015b8..ed88f32 100755
--- a/vdsm_reg/vdsm-reg-setup.py
+++ b/vdsm_reg/vdsm-reg-setup.py
@@ -192,6 +192,10 @@ class Setup:
logging.debug("execute: after renameBridge: " + str(fOK))
if fOK:
+ fOK = deployUtil.getRhevmCert(self.vdcURL, self.vdcPORT)
+ logging.debug("execute: after getRhevmCert: " + str(fOK))
+
+ if fOK:
strKey = deployUtil.getAuthKeysFile(self.vdcURL, self.vdcPORT)
if strKey is not None:
fOKNow = deployUtil.handleSSHKey(strKey)