Bug 1309770 - ceilometer floating ip pollster is broken
Summary: ceilometer floating ip pollster is broken
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 6.0 (Juno)
Assignee: Eoghan Glynn
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-18 16:15 UTC by David Hill
Modified: 2019-10-10 11:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1293683
Environment:
Last Closed: 2016-03-08 20:47:17 UTC
Target Upstream Version:


Attachments (Terms of Use)
patched floatingip.py (3.06 KB, text/plain)
2016-02-18 16:19 UTC, David Hill
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.