Dan Kenigsberg has posted comments on this change.
Change subject: Do not fail when getVSize is called on an inactive LV.
......................................................................
Patch Set 2: I would prefer that you didn't submit this
(1 inline comment)
Please rebase on top of current master, as simple cherry-pick would not take it
in.
Make sure it builds with no pep8 errors.
....................................................
File vdsm/storage/blockVolume.py
Line 100: if e.errno == os.errno.ENOENT:
Line 101: # Inactive volume has no /dev entry. Fallback to lvm
way.
Line 102: size = int(int(lvm.getLV(sdobj.sdUUID, volUUID).size)
/ bs)
Line 103: else:
Line 104: cls.log.warn("Could not get size for vol %s/%s",
I utterly do not understand your insistence to spam the logs here. but if you
have acks from others, I won't hold your patch just because of this.
However, you must fix the font of the whitespace in line 105 (indentation).
Line 105: sdobj.sdUUID, volUUID, exc_info=True)
Line 106: raise
Line 107:
Line 108: return size
--
To view, visit http://gerrit.ovirt.org/9739
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I0a8b6da4d57cdf810769586c1959989d7a545d0c
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Daniel Paikov <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Haim Ateya <[email protected]>
Gerrit-Reviewer: Shu Ming <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches