When running tox, console output contains the following error but reported success.
Traceback (most recent call last):
File "/opt/stack/heat/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 346, in fire_timers
timer()
File "/opt/stack/heat/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/timer.py", line 56, in __call__
cb(*args, **kw)
File "/opt/stack/heat/.tox/py26/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main
result = function(*args, **kwargs)
File "/opt/stack/heat/heat/engine/parser.py", line 498, in delete
self.state_set(self.DELETE_IN_PROGRESS, 'Stack deletion started')
File "/opt/stack/heat/heat/engine/parser.py", line 264, in state_set
stack.update_and_save({'status': new_status,
AttributeError: 'NoneType' object has no attribute 'update_and_save'
Traceback (most recent call last):
File "/opt/stack/heat/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 346, in fire_timers
timer()
File "/opt/stack/heat/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/timer.py", line 56, in __call__
cb(*args, **kw)
File "/opt/stack/heat/.tox/py26/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main
result = function(*args, **kwargs)
File "/opt/stack/heat/heat/engine/parser.py", line 332, in update
'State invalid for update')
File "/opt/stack/heat/heat/engine/parser.py", line 264, in state_set
stack.update_and_save({'status': new_status,
AttributeError: 'NoneType' object has no attribute 'update_and_save'
Fix proposed to branch: master /review. openstack. org/30060
Review: https:/