Architecture ValueError Uncaught API Exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Liberty |
Fix Released
|
Medium
|
Lee Yarwood | ||
Mitaka |
Fix Released
|
Medium
|
Matt Riedemann | ||
OpenStack Dashboard (Horizon) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
If an image is imported with an invalid Architecture, instances are unable to launch and cause a ValueError exception. This exception is only visible in logs and UI only tells user an exception occurred. Running Mirantis Openstack 8.0 (nova-api 2:12.0.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.846 28025 ERROR nova.api.
2016-03-18 01:13:35.848 28025 INFO nova.api.
Reproduce:
Import image with architecture named 'x64' (or presumably anything, since it's a freeform input), try to launch instance of image.
Expected Result:
Image launches, or if it cannot and error is needed, error should tell user there is an invalid architecture. If architecture can only be chosen from limited options, it should probably be a combobox rather than a freeform input when creating a new image.
Actual Result:
Generic API exception. Image fails to launch.
tags: | added: unified-objects |
tags: | added: liberty-backport-potential |
Changed in nova: | |
importance: | Low → Medium |
tags: | added: mitaka-backport-potential |
I don't know what the Mirantis OpenStack UI is like, since that's a product, but to clarify something, do you already have an image with the invalid architecture uploaded to glance and you're trying to boot an instance from it? Or something else?