Change in vdsm[master]: multipath.py: use vdsm.tool.service to restart multipathd

danken at redhat.com danken at redhat.com
Mon Jun 10 13:59:18 UTC 2013


Dan Kenigsberg has submitted this change and it was merged.

Change subject: multipath.py: use vdsm.tool.service to restart multipathd
......................................................................


multipath.py: use vdsm.tool.service to restart multipathd

multipath.py restart and reload multipathd using service command
directly. This patch uses vdsm-tool service module to manage the system
service improves portability. It covers SysV, SystemD and Upstart as
well as possible daemon names in various systems (multipathd is named
multipath-tools in Ubuntu).

Change-Id: I1130a4baf770b805aaea8de97556d18a2da86207
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Reviewed-on: http://gerrit.ovirt.org/14728
Reviewed-by: Aravinda VK <avishwan at redhat.com>
Reviewed-by: Ewoud Kohl van Wijngaarden <ewoud at kohlvanwijngaarden.nl>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/storage/multipath.py
M vdsm/sudoers.vdsm.in
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Ewoud Kohl van Wijngaarden: Looks good to me, but someone else must approve
  Aravinda VK: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved
  Zhou Zheng Sheng: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1130a4baf770b805aaea8de97556d18a2da86207
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Aravinda VK <avishwan at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ewoud Kohl van Wijngaarden <ewoud at kohlvanwijngaarden.nl>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list