Francesco Romani has uploaded a new change for review.

Change subject: vm: periodic: NumaInfoMonitor doesn't need jobs
......................................................................

vm: periodic: NumaInfoMonitor doesn't need jobs

The Vm.isDomainReadyForCommands() is a borderline hack
that relies on virDomainGetControlInfo, which, in turn,
tells the caller about the hypervisor monitor traffic.

In the case of NumaInfoMonitor, this protection has zero
positive value (only adds libvirt traffic) because
the libvirt API used internally by NumaInfoMonitor do not
need to access the QEMU monitor, but only data from /proc.

Hence, remove the call to reduce libvirt traffic and
to reduce false negative reported:

periodic/3::WARNING::2015-08-12
15:02:57,855::periodic::253::virt.periodic.VmDispatcher::(__call__)
could not run <class 'virt.periodic.NumaInfoMonitor'> on
[u'5b44bc17-99ba-4c9d-a3c5-fcd913c87361']

Change-Id: I50c68b8b00ea0f9c137ce8149f3a806c62be7f6d
Signed-off-by: Francesco Romani <[email protected]>
---
M vdsm/virt/periodic.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/63/44763/1

diff --git a/vdsm/virt/periodic.py b/vdsm/virt/periodic.py
index 632674f..36dd4af 100644
--- a/vdsm/virt/periodic.py
+++ b/vdsm/virt/periodic.py
@@ -287,7 +287,7 @@
 
     @property
     def runnable(self):
-        return self._vm.isDomainReadyForCommands()
+        return True
 
     def __call__(self):
         self._vm.updateNumaInfo()


-- 
To view, visit https://gerrit.ovirt.org/44763
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I50c68b8b00ea0f9c137ce8149f3a806c62be7f6d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to