Return 200 when execute router-list-on-l3-agent api with incorrect agent_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Hirofumi Ichihara |
Bug Description
Neutron server return HTML code 200 when users execute router-
Users expect to return HTML code 404.
$ neutron agent-list
+------
| id | agent_type | host | alive | admin_state_up | binary |
+------
| 21b32f05-
| 5d1cc93d-
| 88cb8c8e-
| f6eb352e-
+------
I executed API with "hoge" as incorrect agent_id.
$ curl -i -X GET http://
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 15
X-Openstack-
Date: Thu, 22 Jan 2015 08:01:39 GMT
{"routers": []}
Changed in neutron: | |
assignee: | nobody → Hirofumi Ichihara (ichihara-hirofumi) |
Changed in neutron: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/149531
Review: https:/