← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1747534] [NEW] ist networks with 'subnets' as filter return 500

 

Public bug reported:

Neutron return 500 on listing networks with 'subnets=xxx' as filter. The
command below can reproduce the error:

$ 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": ""}}

** Affects: neutron
     Importance: Undecided
     Assignee: Hongbin Lu (hongbin.lu)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Hongbin Lu (hongbin.lu)

** Description changed:

- eutron return 500 on listing networks with 'subnets' as filter. The
+ Neutron return 500 on listing networks with 'subnets' as filter. The
  command below can reproduce the error:
  
  $ 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": ""}}

** Description changed:

- Neutron return 500 on listing networks with 'subnets' as filter. The
+ Neutron return 500 on listing networks with 'subnets=xxx' as filter. The
  command below can reproduce the error:
  
  $ 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": ""}}

-- 
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:
  ist networks with 'subnets' as filter return 500

Status in neutron:
  New

Bug description:
  Neutron return 500 on listing networks with 'subnets=xxx' as filter.
  The command below can reproduce the error:

  $ 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": ""}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1747534/+subscriptions


Follow ups