diff --git a/pvc.py b/pvc.py index 213fac82..88f3d073 100755 --- a/pvc.py +++ b/pvc.py @@ -414,7 +414,7 @@ def findTargetHypervisorLoad(zk_conn, dom_uuid): hypervisor_list = getHypervisors(zk_conn, dom_uuid) for hypervisor in hypervisor_list: - load = int(zk_conn.get('/nodes/{}/load'.format(hypervisor))[0].decode('ascii')) + load = int(zk_conn.get('/nodes/{}/cpuload'.format(hypervisor))[0].decode('ascii')) if load < least_load: least_load = load