Merge "make diagnostics workable for libvirt with Xen"
This commit is contained in:
commit
e83a155f4c
@ -2986,7 +2986,7 @@ class LibvirtDriver(driver.ComputeDriver):
|
||||
mem = domain.memoryStats()
|
||||
for key in mem.keys():
|
||||
output["memory-" + key] = mem[key]
|
||||
except libvirt.libvirtError:
|
||||
except (libvirt.libvirtError, AttributeError):
|
||||
pass
|
||||
return output
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user