Change in vdsm[master]: deployUtil.py.in: add support to restart vdsmd

danken at redhat.com danken at redhat.com
Wed Dec 7 19:57:23 UTC 2011


Dan Kenigsberg has submitted this change and it was merged.

Change subject: deployUtil.py.in:  add support to restart vdsmd
......................................................................


deployUtil.py.in:  add support to restart vdsmd

vdsm-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(-)

Approvals:
  Douglas Schilling Landgraf: Verified
  Dan Kenigsberg: Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7c9d6e1aefa93e9fff067bf1153c0f555d247c64
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>


More information about the vdsm-patches mailing list