Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1214844 - Neutron notification handler throws a None Type Error when the payload is empty
Neutron notification handler throws a None Type Error when the payload is empty
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer (Show other bugs)
6.0 (Juno)
Unspecified Unspecified
high Severity unspecified
: ga
: 8.0 (Liberty)
Assigned To: Pradeep Kilambi
Yurii Prokulevych
: TestOnly, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-23 12:16 EDT by Pradeep Kilambi
Modified: 2016-04-07 17:01 EDT (History)
3 users (show)

See Also:
Fixed In Version: openstack-ceilometer-5.0.1-1.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-04-07 17:01:10 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 1447686 None None None Never
Red Hat Product Errata RHEA-2016:0603 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-07 20:53:53 EDT

  None (edit)
Description Pradeep Kilambi 2015-04-23 12:16:07 EDT
Description of problem:
When the payload doesnt have enough data, process_notification in neutron/notifications.py throws a None TypeError.

2015-04-22 18:44:41.349 88824 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.7/site-packages/ceilometer/plugin.py", line 107, in info
2015-04-22 18:44:41.349 88824 TRACE oslo.messaging.notify.dispatcher self.to_samples_and_publish(context.get_admin_context(), notification)
2015-04-22 18:44:41.349 88824 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.7/site-packages/ceilometer/plugin.py", line 124, in to_samples_and_publish
2015-04-22 18:44:41.349 88824 TRACE oslo.messaging.notify.dispatcher p(list(self.process_notification(notification)))
2015-04-22 18:44:41.349 88824 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.7/site-packages/ceilometer/network/notifications.py", line 92, in process_notification
2015-04-22 18:44:41.349 88824 TRACE oslo.messaging.notify.dispatcher for resource in resources:
2015-04-22 18:44:41.349 88824 TRACE oslo.messaging.notify.dispatcher TypeError: 'NoneType' object is not iterable

Upstream bug: https://bugs.launchpad.net/ceilometer/+bug/1447686

Upstream commit to be backported: https://review.openstack.org/176885
Comment 7 Yurii Prokulevych 2016-01-22 05:02:03 EST
'health_monitors' were created/deleted  from UI/CLI. 
No tracebacks in ceilometer/{agent-notification,collector}.log

Ceilometer's version: 5.0.1-1.el7ost
Comment 9 errata-xmlrpc 2016-04-07 17:01:10 EDT
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/RHEA-2016-0603.html

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