SwiftSignal "TypeError: 'NoneType' object is not iterable"

Bug #1493522 reported by Jason Dunsmore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Jason Dunsmore

Bug Description

SwiftSignal occasionally fails with:

2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource Traceback (most recent call last):
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource File "/opt/heat/lib/python2.7/site-packages/heat/engine/resource.py", line 625, in _action_recorder
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource yield
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource File "/opt/heat/lib/python2.7/site-packages/heat/engine/resource.py", line 696, in _do_action
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource yield self.action_handler_task(action, args=handler_args)
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource File "/opt/heat/lib/python2.7/site-packages/heat/engine/scheduler.py", line 320, in wrapper
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource step = next(subtask)
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource File "/opt/heat/lib/python2.7/site-packages/heat/engine/resource.py", line 670, in action_handler_task
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource while not check(handler_data):
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource File "/opt/heat/lib/python2.7/site-packages/heat/engine/resources/openstack/heat/swiftsignal.py", line 315, in check_create_complete
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource statuses = self.get_status()
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource File "/opt/heat/lib/python2.7/site-packages/heat/engine/resources/openstack/heat/swiftsignal.py", line 295, in get_status
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource return [s[self.STATUS] for s in self.get_signals()]
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource TypeError: 'NoneType' object is not iterable
2015-09-08 09:51:32.886 22851 ERROR heat.engine.resource

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/221511

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/221511
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=ac5f0ac8b4fa64364e91bc5215ed9f7f1e286aa9
Submitter: Jenkins
Branch: master

commit ac5f0ac8b4fa64364e91bc5215ed9f7f1e286aa9
Author: Jason Dunsmore <email address hidden>
Date: Tue Sep 8 15:47:34 2015 -0500

    Retry if Swift objects are not available yet

    Swift objects may not be immediately available after creation due to
    Swift consistency issues. Check if the objects are being returned and
    retry if not.

    Change-Id: I499389940a06965d213fcec458dfa388af47231e
    Closes-Bug: #1493522

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-rc1 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.