commit 0406d1f85fa93db4e4d5ab8b37d298951d4c4193
Author: Christian Berendt <email address hidden>
Date: Thu Nov 8 20:41:07 2012 +0100
make diagnostics workable for libvirt with Xen
When using "diagnostics" with libvirt as driver on nova-compute
and Xen as hypervisor the call to domain.memoryStats() in
get_diagnostics() doesn't fail with a libvirt.libvirtError,
but with an AttributeError. This exception should be catched, too.
The method virDomainMemoryStats is not implemented in libvirt
for Xen.
Reviewed: https:/ /review. openstack. org/15662 github. com/openstack/ nova/commit/ 0406d1f85fa93db 4e4d5ab8b37d298 951d4c4193
Committed: http://
Submitter: Jenkins
Branch: master
commit 0406d1f85fa93db 4e4d5ab8b37d298 951d4c4193
Author: Christian Berendt <email address hidden>
Date: Thu Nov 8 20:41:07 2012 +0100
make diagnostics workable for libvirt with Xen
When using "diagnostics" with libvirt as driver on nova-compute memoryStats( ) in diagnostics( ) doesn't fail with a libvirt. libvirtError,
and Xen as hypervisor the call to domain.
get_
but with an AttributeError. This exception should be catched, too.
The method virDomainMemory Stats is not implemented in libvirt
for Xen.
fixes bug 1076527
Change-Id: I16645654b346e3 c40ff3dd63f2060 0c802cbeb3f