Ayal Baron has submitted this change and it was merged.

Change subject: vm: catch getVolumeSize failures in _normalizeVdsmImg
......................................................................


vm: catch getVolumeSize failures in _normalizeVdsmImg

When getVolumeSize fails during the VM startup (e.g. volume is missing
or corrupted) a descriptive error should be returned (instead of the
previous KeyError: 'truesize'). An example of this behavior can be found
in BZ#883858.

Change-Id: Ib8e170a85100e57d7e644614a21038d869777b82
Signed-off-by: Federico Simoncelli <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/13529
Reviewed-by: Ayal Baron <[email protected]>
---
M vdsm/vm.py
1 file changed, 8 insertions(+), 2 deletions(-)

Approvals:
  Ayal Baron: Looks good to me, approved
  Federico Simoncelli: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8e170a85100e57d7e644614a21038d869777b82
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to