Bug 1213471

Summary: AttributeError may be raised if virt backend is libvirt in some case
Product: Red Hat OpenStack Reporter: Pradeep Kilambi <pkilambi>
Component: openstack-ceilometerAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: high Docs Contact:
Priority: high    
Version: 6.0 (Juno)CC: ajeain, dnavale, eglynn, jruzicka, pbrady, pkilambi, sclewis, yeylon
Target Milestone: z3Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-ceilometer-2014.2.3-4.el7ost Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Fix: Previously, in some cases when using 'libvirt' driver, certain instances did not support usage metrics due to lack of balloon driver. This led to an unhandled exception that caused an Attribute error. This update adds checks in memory pollster to check if the object in 'None' and skip the pollster and log a message. As a result, unhandled exceptions are handled appropriately and logged. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-05 13:10:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 7 Yurii Prokulevych 2015-04-27 08:31:22 UTC
Verified using next steps:
1. Spawned 2 VMs
2. Got several polling cycles to get initial value for 'memory.usage' meter.
3. Stopped 1st VM.
4. While VMs was in 'SHUTOFF' state(~5 polling cycles) no traceback appeared in log.
5. After VM was enabled new meter's samples were gathered.

Comment 9 errata-xmlrpc 2015-05-05 13:10:59 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://rhn.redhat.com/errata/RHBA-2015-0930.html