Shu Ming has posted comments on this change.
Change subject: Take care of 'No devices found' when calling dmsetup status
......................................................................
Patch Set 2: I would prefer that you didn't submit this
(1 inline comment)
....................................................
File vdsm/storage/devicemapper.py
Line 184: return an empty list when status output is: No
devices found
Line 185: """
Line 186: return res
Line 187: else:
Line 188: raise
Why not return the same Exception as the above?
raise Exception("Could not get device statuses")
Line 189:
Line 190: for m in PATH_STATUS_RE.finditer(statusLine):
Line 191: devNum, status = m.groups()
Line 192: physdevName = findDev(*[int(i) for i in
devNum.split(":")])
--
To view, visit http://gerrit.ovirt.org/10035
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb487feab43741267e4f7027c1baf033148683c1
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Shu Ming <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches