Unable to list flavors in WebUI due to wrong Content-Type of a query sent to nova
Bug #1591393 reported by
Krzysztof Klimonda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Medium
|
Krzysztof Klimonda | |||
R3.0.2.x |
Fix Committed
|
Medium
|
Krzysztof Klimonda | |||
Trunk |
Fix Committed
|
Medium
|
Krzysztof Klimonda | |||
OpenContrail |
New
|
Medium
|
Krzysztof Klimonda |
Bug Description
When creating a Service Template, instance flavor has to be selected from a dropdown menu. That fails when running Mitaka nova-api, due to requests being done with Content-Type set to "application/
That happens because an empty data object is passed to request.get call. Even though we're setting Content-Type to "application/json", restler later sees a JS object, "stringifies" it, and overrides Content-Type with "application/
The simplest fix seems to simply avoid passing an empty data object with GET calls, which seems to make sense anyway.
Changed in opencontrail: | |
importance: | Undecided → Medium |
assignee: | nobody → Krzysztof Klimonda (kklimonda) |
tags: | added: ui |
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/21091
Submitter: Krzysztof Klimonda (<email address hidden>)