Douglas Schilling Landgraf has uploaded a new change for review.
Change subject: deployUtil.py.in: setService() add support to restart vdsm daemon on ovirt
Node
......................................................................
deployUtil.py.in: setService() add support to restart vdsm daemon on ovirt Node
vdm-complete script define reboot() which uses deployUtil.setService("vdsmd",
"restart")
However, deployUtil.setService() just execute the validation for initd script
(/etc/init.d/vdsmd), if the distro doesn't contain this file it fails and do
not execute the restart action.
Since vdsm.spec specify that if it's not RHEL we should use systemd,
this patch includes the validation for systemd vdsmd service.
Change-Id: I7c9d6e1aefa93e9fff067bf1153c0f555d247c64
---
M vdsm_reg/deployUtil.py.in
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/92/492/1
--
To view, visit
http://gerrit.ovirt.org/492
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c9d6e1aefa93e9fff067bf1153c0f555d247c64
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland(a)redhat.com>