[Openstack] memory usage on libvirt

Claudio Pupparo claudio.pupparo at gmail.com
Thu Oct 16 10:40:41 UTC 2014


Hi Everyone,

I am using ceilometer to get memory usage of a libvirt/qemu guest.
On ceilometer documentation I've found that this is currently supported
only on Vsphere and XenAPI:
http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova

I've found a patch that add support for this on libvirt too:
https://review.openstack.org/#/c/90498/
but I get this error:
WARNING ceilometer.compute.virt.libvirt.inspector [-] Failed to inspect
memory usage of instance-00000032, can not get info from libvirt
ERROR ceilometer.compute.pollsters.memory [-] Could not get Memory Usage
for 17d6609a-f7c7-4b04-b3be-fbda7c0b3b84: 'NoneType' object has no
attribute 'usage'

Has someone managed to get memory.usage of a libvirt guest?


Thanks,
Claudio





More information about the Openstack mailing list