Royce Lv has uploaded a new change for review. Change subject: Remove imageID in diskstats collect ......................................................................
Remove imageID in diskstats collect imageID is only available for vdsm created images, direct lun and iso stats can't be collected because of lack of this imageID. so remove it when collecting. Change-Id: I43171fefaf1e4e6b81420f95ed6bdd8ef65431b2 Signed-off-by: Royce Lv<[email protected]> --- M vdsm/libvirtvm.py 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/7698/1 diff --git a/vdsm/libvirtvm.py b/vdsm/libvirtvm.py index 7a1cc1f..38c9dfc 100644 --- a/vdsm/libvirtvm.py +++ b/vdsm/libvirtvm.py @@ -267,8 +267,7 @@ dStats = {} try: dStats = {'truesize': str(vmDrive.truesize), - 'apparentsize': str(vmDrive.apparentsize), - 'imageID': vmDrive.imageID} + 'apparentsize': str(vmDrive.apparentsize)} dStats['readRate'] = ((eInfo[dName][1] - sInfo[dName][1]) / sampleInterval) -- To view, visit http://gerrit.ovirt.org/7698 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I43171fefaf1e4e6b81420f95ed6bdd8ef65431b2 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Royce Lv <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
