Douglas Schilling Landgraf has uploaded a new change for review. Change subject: vdsm-upgrade: stop vdsm when complete upgrade ......................................................................
vdsm-upgrade: stop vdsm when complete upgrade If upgrade proceed correctly we should stop vdsm daemon to avoid any additional communication with Engine before the reboot happens. Change-Id: Ifa889880c7f02c7ecc13daa595873c1ad3e15c67 Bug-Id: https://bugzilla.redhat.com/show_bug.cgi?id=854766 Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M vdsm_reg/vdsm-upgrade 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/29/8029/1 diff --git a/vdsm_reg/vdsm-upgrade b/vdsm_reg/vdsm-upgrade index f1bb754..7d8df6e 100755 --- a/vdsm_reg/vdsm-upgrade +++ b/vdsm_reg/vdsm-upgrade @@ -17,6 +17,7 @@ from config import config import deployUtil from ovirtnode.install import Install +from vdsm import constants VDSM_REG_CONF_FILE = '/etc/vdsm-reg/vdsm-reg.conf' VDSM_CONF_FILE = '/etc/vdsm/vdsm.conf' @@ -153,6 +154,9 @@ else: msg = "<BSTRAP component='RHEV_INSTALL' status='OK'/>" logging.debug("<BSTRAP component='RHEV_INSTALL' status='OK'/>") + # Stop vdsm to avoid communication with @ENGINENAME@ before the reboot happens + deployUtil._logExec([constants.EXT_SERVICE, 'vdsmd', 'stop']) + print (msg) sys.stdout.flush() -- To view, visit http://gerrit.ovirt.org/8029 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifa889880c7f02c7ecc13daa595873c1ad3e15c67 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
