neutron fails with BadRequest
Bug #1633361 reported by
Choe, Cheng-Dae
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
Fix Released
|
Undecided
|
Choe, Cheng-Dae |
Bug Description
when neutron api failed. openstack sdk reports just "HttpException: BadRequest".
in debug mode says that openstack receive error message in body as key "NeutronError"
RESP BODY: {"NeutronError": {"message": "Invalid input for routes. Reason: Duplicate hostroute '{u'nexthop': u'10.51.68.25', u'destination': u'10.10.
and python-
Changed in python-openstacksdk: | |
assignee: | nobody → Choe, Cheng-Dae (whitekid) |
Changed in python-openstacksdk: | |
status: | New → In Progress |
tags: | added: network |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/386440 /git.openstack. org/cgit/ openstack/ python- openstacksdk/ commit/ ?id=23f4aa88324 4098f121c244e89 7c417410a8544f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 23f4aa883244098 f121c244e897c41 7410a8544f
Author: Choe, Cheng-Dae <email address hidden>
Date: Fri Oct 14 16:55:45 2016 +0900
Display neutron api error message more precisely
When neutron-api response fails. Session object reports error as
and this cause lack of error information on openstack cli output.
buy the way neutron failure response body contains more informations
"message": "here is error message", "type": "HTTPBadRequest",
"detail": ""}}
This changes raise exception with more precise error messages.
Change-Id: Ibea40e37ee6b61 35f8b00c8a46e02 3ff59befd5b
Closes-Bug: 1633361