Return 200 when execute net-list-on-dhcp-agent api with incorrect agent_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Hirofumi Ichihara |
Bug Description
Neutron server return HTML code 200 when users execute net-list-
Users expect to return HTML code 404.
I have already finished l3agent fix[1].
[1]: https:/
$ neutron agent-list
+------
| id | agent_type | host | alive | admin_state_up | binary |
+------
| 2343d3b3-
| 3b9f0e0c-
| 41206a6f-
| 96ed22b2-
+------
$ curl -i -X GET http://
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 16
X-Openstack-
Date: Tue, 24 Feb 2015 15:37:36 GMT
{"networks": []}
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 |
Marking as higt as it's needed for API consistency