yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60668
[Bug 1657137] Re: network-ip-availabilities API returns 500 when non-existence network-id is passed
Reviewed: https://review.openstack.org/421304
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=66c7c604fe3be6b80deaa1cac86117ebad9ee3d1
Submitter: Jenkins
Branch: master
commit 66c7c604fe3be6b80deaa1cac86117ebad9ee3d1
Author: Hirofumi Ichihara <ichihara.hirofumi@xxxxxxxxxxxxx>
Date: Wed Jan 18 14:57:03 2017 +0900
Fix importing old path for exceptions
The network_ip_availability plugin uses old path for exceptions.
This patch fixes the path and adds negative test for the exception.
Change-Id: I9021f76e21b386f371ff73b926553611ab87fb66
Closes-bug: #1657137
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1657137
Title:
network-ip-availabilities API returns 500 when non-existence network-
id is passed
Status in neutron:
Fix Released
Bug description:
The network-ip-availabilities API returns 500 when non-existence
network-id is passed.
$ curl -g -i -X GET http://127.0.0.1:9696/v2.0/network-ip-availabilities/090db2f5-3d0f-41f2-b932-a50d33960bca -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN"
HTTP/1.1 500 Internal Server Error
Content-Type: application/json
Content-Length: 150
X-Openstack-Request-Id: req-80ec0a12-d6ee-4cab-8649-070e0a986b2e
Date: Tue, 17 Jan 2017 14:16:59 GMT
{"NeutronError": {"message": "Request Failed: internal server error
while processing your request.", "type": "HTTPInternalServerError",
"detail": ""}}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1657137/+subscriptions
References