Bug 1309770

Summary: ceilometer floating ip pollster is broken
Product: Red Hat OpenStack Reporter: David Hill <dhill>
Component: openstack-ceilometerAssignee: Eoghan Glynn <eglynn>
Status: CLOSED NOTABUG QA Contact: Yurii Prokulevych <yprokule>
Severity: high Docs Contact:
Priority: high    
Version: 6.0 (Juno)CC: dhill, jruzicka, pkilambi, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1293683 Environment:
Last Closed: 2016-03-08 20:47:17 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:
Attachments:
Description Flags
patched floatingip.py none

Description David Hill 2016-02-18 16:15:55 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 David Hill 2016-02-18 16:19:22 UTC
Created attachment 1128270 [details]
patched floatingip.py

Comment 3 David Hill 2016-02-18 16:21:23 UTC
Hello guys,

   I tried cloning the BZ 1293683 but it appears I've messed it a bit and now I can't edit the initial post.    Here is a patched floatingip.py file from the customer and he's asking for a hotfix if possible.  This seems to be working on his side and solves the following issue:

We've found an issue - 

2016-02-08 21:25:14.049 5120 WARNING ceilometer.agent [-] Continue after error from ip.floating: 'NoneType' object has no attribute 'lower'
2016-02-08 21:25:14.049 5120 TRACE ceilometer.agent Traceback (most recent call last):
2016-02-08 21:25:14.049 5120 TRACE ceilometer.agent   File "/usr/lib/python2.7/site-packages/ceilometer/agent.py", line 123, in poll_and_publish
2016-02-08 21:25:14.049 5120 TRACE ceilometer.agent     agent_resources)
2016-02-08 21:25:14.049 5120 TRACE ceilometer.agent   File "/usr/lib/python2.7/site-packages/ceilometer/network/floatingip.py", line 68, in get_samples
2016-02-08 21:25:14.049 5120 TRACE ceilometer.agent     status = self.STATUS.get(fip['status'].lower())
2016-02-08 21:25:14.049 5120 TRACE ceilometer.agent AttributeError: 'NoneType' object has no attribute 'lower'
2016-02-08 21:25:14.049 5120 TRACE ceilometer.agent


Thank you very much,

David Hill

Comment 5 Dave Maley 2016-03-08 20:47:17 UTC
customer has not seen this re-occur since Feb 17, will re-open if needed