local variable 'update_task' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Jason Dunsmore |
Bug Description
The following traceback was encountered when creating
http://
..which failed creation, and then updating with the following template
http://
Traceback (most recent call last):
File "/opt/heat/
gt.wait()
File "/opt/heat/
return self._exit_
File "/opt/heat/
current.
File "/opt/heat/
result = function(*args, **kwargs)
File "/opt/heat/
return func(*args, **kwargs)
File "/opt/heat/
return f(*args, **kwargs)
File "/opt/heat/
{'func': func.__name__, 'msg': errmsg})
File "/opt/heat/
self.
File "/opt/heat/
six.
File "/opt/heat/
return func(stack, *args, **kwargs)
File "/opt/heat/
updater()
File "/opt/heat/
self.
File "/opt/heat/
self.step()
File "/opt/heat/
next(
File "/opt/heat/
subtask = next(parent)
File "/opt/heat/
update_task)
UnboundLocalError: local variable 'update_task' referenced before assignment
I haven't found a way to reproduce it, but it's obvious that if an exception is encountered on the following lines:
https:/
..then the following lines will throw the above exception
https:/
Changed in heat: | |
assignee: | nobody → Jason Dunsmore (jasondunsmore) |
Changed in heat: | |
milestone: | none → newton-1 |
importance: | Undecided → Medium |
tags: | added: mitaka-backport-potential |
Fix proposed to branch: master /review. openstack. org/296798
Review: https:/