Kobi Ianko has uploaded a new change for review. Change subject: Fixing vcpuCount periodic error. ......................................................................
Fixing vcpuCount periodic error. When vcpu count is not available via the cpu tune, mom will display an error message every 10 sec. Change-Id: Ie913a68b95f0384dbd573275cd9e70cb6c740ee6 Bug-Url: https://bugzilla.redhat.com/1119775 Signed-off-by: Kobi Ianko <[email protected]> --- M mom/HypervisorInterfaces/vdsmInterface.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/mom refs/changes/81/30181/1 diff --git a/mom/HypervisorInterfaces/vdsmInterface.py b/mom/HypervisorInterfaces/vdsmInterface.py index cde4744..1193785 100644 --- a/mom/HypervisorInterfaces/vdsmInterface.py +++ b/mom/HypervisorInterfaces/vdsmInterface.py @@ -181,7 +181,7 @@ ret['vcpu_period'] = vcpuPeriod #Get num of vCPUs - vcpuCount = response['statsList'][0]['vcpuCount'] + vcpuCount = response['statsList'][0].get('vcpuCount', None) if vcpuCount == None: return None else: -- To view, visit http://gerrit.ovirt.org/30181 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie913a68b95f0384dbd573275cd9e70cb6c740ee6 Gerrit-PatchSet: 1 Gerrit-Project: mom Gerrit-Branch: master Gerrit-Owner: Kobi Ianko <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
