yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90717
[Bug 1747534] Re: List networks with 'subnets' as filter return 501
Bug closed due to lack of activity, please feel free to reopen if
needed.
** Changed in: neutron
Status: New => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1747534
Title:
List networks with 'subnets' as filter return 501
Status in neutron:
Won't Fix
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://10.0.0.19:9696/v2.0/networks?subnets=11'
HTTP/1.1 501 Not Implemented
Content-Type: application/json
Content-Length: 203
X-Openstack-Request-Id: req-9e3fc06f-ce9b-4e19-bfc0-63cfcec511db
Date: Mon, 05 Feb 2018 22:21:13 GMT
{"NotImplementedError": {"message": "in_() not yet supported for
relationships. For a simple many-to-one, use in_() against the set of
foreign key values.", "type": "NotImplementedError", "detail": ""}}
Expected
========
Neutron return 4xx error with high-level error message
Actual
======
Neutron return 501 error with low-level error message
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1747534/+subscriptions
References