diff options
author | Christian Berendt <berendt@b1-systems.de> | 2012-11-08 20:41:07 +0100 |
---|---|---|
committer | Christian Berendt <berendt@b1-systems.de> | 2012-11-08 20:49:17 +0100 |
commit | 0406d1f85fa93db4e4d5ab8b37d298951d4c4193 (patch) | |
tree | 4e56fa898d2ed77750738d54c642b8d96ba02358 /nova/utils.py | |
parent | fab607c72c36ace398cee817bae2525162dcb9f1 (diff) | |
download | nova-0406d1f85fa93db4e4d5ab8b37d298951d4c4193.tar.gz nova-0406d1f85fa93db4e4d5ab8b37d298951d4c4193.tar.xz nova-0406d1f85fa93db4e4d5ab8b37d298951d4c4193.zip |
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.
fixes bug 1076527
Change-Id: I16645654b346e3c40ff3dd63f20600c802cbeb3f
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions