Change in vdsm[ovirt-3.5]: disable systemctl intervention when switch to upstart control

ybronhei at redhat.com ybronhei at redhat.com
Wed May 20 09:46:38 UTC 2015


Yaniv Bronhaim has uploaded a new change for review.

Change subject: disable systemctl intervention when switch to upstart control
......................................................................

disable systemctl intervention when switch to upstart control

In old libvirt_configure.sh.in script we used to run chkconfig libvirtd
off. it seems to be missing in new configurators/libvirt.py script. This
patch add that part which introduced a regression after first host
restarts.

Change-Id: I6326a34cc9e4bee82a427f2543354438205cd11d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1222154
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M lib/vdsm/tool/configurators/libvirt.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/44/41144/1

diff --git a/lib/vdsm/tool/configurators/libvirt.py b/lib/vdsm/tool/configurators/libvirt.py
index d492eab..e8e9665 100644
--- a/lib/vdsm/tool/configurators/libvirt.py
+++ b/lib/vdsm/tool/configurators/libvirt.py
@@ -158,6 +158,7 @@
             if os.path.isfile(packaged):
                 if not os.path.isfile(TARGET):
                     service.service_stop('libvirtd')
+                    service.service_disable('libvirtd')
                 if (not os.path.isfile(TARGET) or
                         not filecmp.cmp(packaged, TARGET)):
                     oldmod = None


-- 
To view, visit https://gerrit.ovirt.org/41144
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6326a34cc9e4bee82a427f2543354438205cd11d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list