MIssing flavor causes backtrace
Bug #1129388 reported by
Ian Main
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Ian Main | ||
Grizzly |
Fix Released
|
High
|
Ian Main |
Bug Description
There is no error handling in place for a missing 'flavor id'. If a flavor is specified which is not in openstack, a flavor_id is used before assignment error occurs.
Changed in heat: | |
status: | New → In Progress |
Changed in heat: | |
milestone: | none → grizzly-3 |
assignee: | nobody → Ian Main (imain) |
importance: | Undecided → High |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | grizzly-rc1 → 2013.1 |
To post a comment you must log in.
Backtrace:
2013-02-14 12:53:55 ERROR [heat.engine. resource] create Instance "WikiDatabase" imain/src/ heat/heat/ engine/ resource. py", line 255, in create handle_ create( ) imain/src/ heat/heat/ engine/ resources/ instance. py", line 265, in handle_create flavor_ id,
Traceback (most recent call last):
File "/home/
self.
File "/home/
flavor=
UnboundLocalError: local variable 'flavor_id' referenced before assignment