Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1154932

Summary: [RFE][ceilometer]: Adds memory utilization meter to libvirt inspector
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-ceilometerAssignee: Eoghan Glynn <eglynn>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jruzicka, markmc, pbrady, rrosa, yeylon
Target Milestone: Upstream M1Keywords: FutureFeature, OtherQA, Triaged
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/ceilometer/+spec/libvirt-memory-utilization-inspector
Whiteboard: upstream_milestone_kilo-1 upstream_definition_approved upstream_status_implemented
Fixed In Version: openstack-ceilometer-2015.1.0-2.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:15:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2014-10-21 04:04:18 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/libvirt-memory-utilization-inspector.

Description:

Per this link https://lists.launchpad.net/openstack/msg25265.html,
I would like to add the memory usage to the ceilometer.
As the libvirt has released many new version since Thu,18 Jul 2013.
I would like to use the following libvirt api to retrive the memory used by domain:

int	virDomainMemoryStats		(virDomainPtr dom,
					 virDomainMemoryStatPtr stats,
					 unsigned int nr_stats,
					 unsigned int flags)

memory_used = VIR_DOMAIN_MEMORY_STAT_AVAILABLE - VIR_DOMAIN_MEMORY_STAT_UNUSED

Refer to http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStats for libvirt api details.

Specification URL (additional information):

None

Comment 6 Yurii Prokulevych 2015-06-15 09:44:48 UTC
Verified with '2015.1.0-2.el7ost.noarch' according to the test plan.

Comment 8 errata-xmlrpc 2015-08-05 13:15:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548