Launching instance fails when Nova doesn't support DiskConfig
Bug #1326406 reported by
Wu Hong Guang
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Lin Hua Cheng |
Bug Description
Setup: Nova does not support DiskConfig extension
Test step:
1: login as admin
2:go to Project-
3:launch instance
I've attached the horizon_error.log
Changed in horizon: | |
assignee: | nobody → Lin Hua Cheng (lin-hua-cheng) |
status: | New → Triaged |
importance: | Undecided → High |
summary: |
- There was an error submitting the form when launching instance + Launching instance fails when Nova doesn't support DiskConfig |
Changed in horizon: | |
assignee: | Lin Hua Cheng (lin-hua-cheng) → Eric Peterson (ericpeterson-l) |
Changed in horizon: | |
assignee: | Eric Peterson (ericpeterson-l) → nobody |
Changed in horizon: | |
assignee: | nobody → Lin Hua Cheng (lin-hua-cheng) |
tags: | added: icehouse-backport-potential |
tags: | removed: icehouse-backport-potential |
Changed in horizon: | |
milestone: | none → juno-1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
I can reproduce the issue when Nova does not support DiskConfig.
disk_config field is removed from the workflow if the Nova does not support it. (added in https:/ /review. openstack. org/#/c/ 90284/)
However it is still accessed in the handle() method
try:
api. nova.server_ create( request,
...
disk_config= context[ 'disk_config' ])
return True