Maor Lipchuk has uploaded a new change for review. Change subject: volume: Add compat level to volume's info ......................................................................
volume: Add compat level to volume's info Change-Id: Ic01646173a2b62dabb965cd79e393ca65e724f3b Signed-off-by: Maor Lipchuk <[email protected]> --- M vdsm/storage/volume.py 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/67/65867/1 diff --git a/vdsm/storage/volume.py b/vdsm/storage/volume.py index d7d65d7..73c14c9 100644 --- a/vdsm/storage/volume.py +++ b/vdsm/storage/volume.py @@ -231,6 +231,8 @@ info['truesize'] = str(avsize) info['status'] = "OK" info['lease'] = self.getLeaseStatus() + domain = sdCache.produce(self.sdUUID) + info['qcow2compat'] = domain.qcow2_compat() except se.StorageException as e: self.log.debug("exception: %s:%s" % (str(e.message), str(e.value))) info['apparentsize'] = "0" -- To view, visit https://gerrit.ovirt.org/65867 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic01646173a2b62dabb965cd79e393ca65e724f3b Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <[email protected]> _______________________________________________ vdsm-patches mailing list -- [email protected] To unsubscribe send an email to [email protected]
