Change in vdsm[master]: vdsm-tool: add service management utilities

vvolansk at redhat.com vvolansk at redhat.com
Thu Apr 11 05:47:23 UTC 2013


Vered Volansky has posted comments on this change.

Change subject: vdsm-tool: add service management utilities
......................................................................


Patch Set 3: (1 inline comment)

....................................................
File lib/vdsm/tool/service.py
Line 131:         alreayRunRegex = r"\Wis already running\W"
Line 132:         rc, out, err = execCmd(cmd)
Line 133:         if rc != 0:
Line 134:             # initctl returns an error if the job is already started
Line 135:             # here we igore it and returns 0 if the job is already running
s/returns/return
Line 136:             rc = int(re.search(alreayRunRegex, out, re.MULTILINE) is not None)
Line 137:         return (rc, out, err)
Line 138: 
Line 139:     def _initctlStop(srvName):


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Idd1cbcf5fd00bb1ec73c5970be012e294b3b4c55
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Ewoud Kohl van Wijngaarden <ewoud at kohlvanwijngaarden.nl>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan 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