[Openstack] Fwd: memory usage on libvirt

Claudio Pupparo claudio.pupparo at gmail.com
Wed Oct 22 14:13:36 UTC 2014


Hi Everyone,

I just want to inform you, that they have added support for memory.usage 
in libvirt in Openstack Juno:

https://github.com/openstack/ceilometer/commit/135961088d603a0ae1b51eb84d9dc7d62dc76476

So...problem solved!

Claudio


-------- Messaggio originale --------
Oggetto: memory usage on libvirt
Data: Thu, 16 Oct 2014 12:40:41 +0200
Mittente: Claudio Pupparo <claudio.pupparo at gmail.com>
A: openstack at lists.openstack.org

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