Impossible to list network resources with OpenStack Pike
Bug #1754096 reported by
Jerome Pansanel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ooi |
Fix Released
|
Undecided
|
Jerome Pansanel |
Bug Description
When an occi client request the list of networks, the following error is reported:
Returning 406 to user: The server could not comply with
the request since it is either malformed or otherwise incorrect.
I am using OpenStack Pike, for all OpenStack components and OOI v1.2.
Changed in ooi: | |
assignee: | nobody → Jerome Pansanel (pansanel) |
Changed in ooi: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/550703 /git.openstack. org/cgit/ openstack/ ooi/commit/ ?id=db1a78a9c86 7c756464ba9bbe4 b749e8243e5768
Committed: https:/
Submitter: Zuul
Branch: master
commit db1a78a9c867c75 6464ba9bbe4b749 e8243e5768
Author: Jerome Pansanel <email address hidden>
Date: Wed Mar 7 18:14:15 2018 +0100
Set correctly request parameters for the list_resources request
The Neutron API requires that the content_type and accept headers
are correcty set in the request. This commit permit to fix this
issue.
It has been successfully tested with Tox.
Closes-Bug: 1754096
Change-Id: I977f97cd0692a8 6bac1d817fa1c4d e27889f2675