Red Hat Bugzilla – Bug 1302920
"virtio-win" does not retrieve memory usage from windows instances
Last modified: 2016-02-23 04:55:04 EST
Description of problem:
The Ceilometer which is one of OpenStack components logged, at warning level, periodically as follows.
2015-10-12 13:06:21.100 2189 WARNING ceilometer.compute.pollsters.memory [-]
Cannot inspect data of MemoryUsagePollster for 41879320-053a-4742-a3f8-e03e707477ad,
non-fatal reason: Failed to inspect memory usage of instance-0000003d,
can not get info from libvirt
The virtio-win seems not to be able to inspect actual memory usage from windows instances.
This unexpected situation happens to only memory inspection.
Please confirm if this behavior is by design or not, if we can not deploy the feature to
retrieve actual memory usage from windows instances because of any security issues or not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Could you please explain what the Ceilometer actually does in order to obtain the memory usage information?
Thank you for message.
The Ceilometer access to libvirt with read-only using uri then lookup instance by name.
If the Ceilometer can get connection to instance via libvirt, resource usages like Memory are expected to be inspected.
If instance is deleted during inspection, InstanceNotFoundException is raised.
If obtaining some resource usage is not implemented in the Ceilometer utility, NotImplementedError is raised.
If the Ceilometer can not get resource usage for instance, just Exception is raised saying that "Could not get *resource* usage".
I'm facing .
Redirecting to libvirt in order to do a top-down check
This was already discussed from libvirt's point of view in bug 1301443. Libvirt reports whatever it gets from QEMU, which gets it from a guest's balloon driver. While virtio-balloon for Linux supports memory statistics, virtio-win balloon driver does not seem to be reporting anything.
(In reply to Jiri Denemark from comment #4)
> This was already discussed from libvirt's point of view in bug 1301443.
> Libvirt reports whatever it gets from QEMU, which gets it from a guest's
> balloon driver. While virtio-balloon for Linux supports memory statistics,
> virtio-win balloon driver does not seem to be reporting anything.
Definitely it does. Can we be sure that in addition to the kernel mode balloon driver they also have user-mode balloon service installed and running up?
Closing. The required information is provided when the balloon's service is installed and running.
Feel free to open again if I misunderstood.