Alon Bar-Lev has uploaded a new change for review.

Change subject: vdsm: packaging: always restart libvirtd
......................................................................

vdsm: packaging: always restart libvirtd

required if vdsm does not restart when asked to configure libvirtd.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1043524
Change-Id: I9be578c00823f50e2eee446f0661aed624d0d909
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M ChangeLog
M src/plugins/ovirt-host-deploy/vdsm/packages.py
2 files changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/78/22478/1

diff --git a/ChangeLog b/ChangeLog
index 803b016..fe21215 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 ????-??-?? - Version 1.1.3
 
+ * vdsm: packages: always restart libvirtd. rhbz#1043524.
 
 2013-12-01 - Version 1.1.2
 
diff --git a/src/plugins/ovirt-host-deploy/vdsm/packages.py 
b/src/plugins/ovirt-host-deploy/vdsm/packages.py
index a4898e6..4bc9096 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/packages.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/packages.py
@@ -170,6 +170,10 @@
         ],
     )
     def _start(self):
+        self.logger.info(_('Stopping libvirtd'))
+        if self.services.exists('libvirtd'):
+            self.services.state('libvirtd', False)
+
         self.logger.info(_('Starting vdsm'))
         if not self.services.supportsDependency:
             if self.services.exists('cgconfig'):


-- 
To view, visit http://gerrit.ovirt.org/22478
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9be578c00823f50e2eee446f0661aed624d0d909
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: ovirt-host-deploy-1.1
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to