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

Change subject: vdsm: packages: stop libvirtd before configure it
......................................................................

vdsm: packages: stop libvirtd before configure it

recent vdsm-tool is not stopping services.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=999853
Change-Id: I47c7222c75467ae9773459bbcdcae64cbc3c2989
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M ChangeLog
M src/plugins/ovirt-host-deploy/vdsm/packages.py
2 files changed, 7 insertions(+), 1 deletion(-)


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

diff --git a/ChangeLog b/ChangeLog
index a9297c6..eb7d8b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 ovirt-host-deploy -- oVirt host deploy
 
-????-??-?? - Version 1.2.0
+????-??-?? - Version 1.1.1
+
+ * vdsm: packages: stop libvirtd before using vdsm-tool to configure it.
+   rhbz#999853.
 
 2013-08-26 - Version 1.1.0
 
diff --git a/src/plugins/ovirt-host-deploy/vdsm/packages.py 
b/src/plugins/ovirt-host-deploy/vdsm/packages.py
index 489dd2a..d819caa 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/packages.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/packages.py
@@ -139,6 +139,9 @@
             optional=True,
         )
         if vdsm_tool is not None:
+            if self.services.exists('libvirtd'):
+                self.services.state('libvirtd', False)
+
             rc, stdout, stderr = self.execute(
                 (
                     vdsm_tool,


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I47c7222c75467ae9773459bbcdcae64cbc3c2989
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to