Change in vdsm[master]: sosreport: use service restart instead of initd script

ykaplan at redhat.com ykaplan at redhat.com
Tue Nov 25 11:21:40 UTC 2014


Yeela Kaplan has uploaded a new change for review.

Change subject: sosreport: use service restart instead of initd script
......................................................................

sosreport: use service restart instead of initd script

Using initd script obviously fails on el7...

Change-Id: Id05fdc9212f175bdffc29d084659ab3609d175c6
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M vdsm/sos/vdsm.py.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/04/35504/1

diff --git a/vdsm/sos/vdsm.py.in b/vdsm/sos/vdsm.py.in
index 535cb7a..e89e8c6 100644
--- a/vdsm/sos/vdsm.py.in
+++ b/vdsm/sos/vdsm.py.in
@@ -79,7 +79,7 @@
         self.addForbiddenPath('/etc/pki/vdsm/libvirt-spice/*-key.*')
         self.addForbiddenPath('/etc/pki/libvirt/private/*')
 
-        self.collectExtOutput("/etc/init.d/vdsmd status")
+        self.collectExtOutput("service vdsmd status")
         self.addCopySpec("/tmp/vds_installer*")
         self.addCopySpec("/tmp/vds_bootstrap*")
         self.addCopySpec("/etc/vdsm/*")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id05fdc9212f175bdffc29d084659ab3609d175c6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>


More information about the vdsm-patches mailing list