List networks with 'subnets' as filter return 501
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Description
===========
Neutron return 501 on listing networks with 'subnets=xxx' as filter. This response looks odds for the following reasons:
* Arguably, neutron should return 4xx in this case since it is due to an invalid user input.
* The error message seems to have too much low-level details.
Reproduce
=========
$ TOKEN=$(openstack token issue | awk '/ id /{print $4}')
$ curl -g -i -X GET -H "X-Auth-Token: $TOKEN" 'http://
HTTP/1.1 501 Not Implemented
Content-Type: application/json
Content-Length: 203
X-Openstack-
Date: Mon, 05 Feb 2018 22:21:13 GMT
{"NotImplemente
Expected
========
Neutron return 4xx error with high-level error message
Actual
======
Neutron return 501 error with low-level error message
Changed in neutron: | |
assignee: | nobody → Hongbin Lu (hongbin.lu) |
description: | updated |
description: | updated |
summary: |
- ist networks with 'subnets' as filter return 500 + List networks with 'subnets' as filter return 500 |
summary: |
- List networks with 'subnets' as filter return 500 + List networks with 'subnets' as filter return 501 |
description: | updated |
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/542485
Review: https:/