← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1749030] [NEW] Filter by 'created_at' return 500

 

Public bug reported:

Neutron server will return 500 if we try to list ports with 'created_at'
as filter. For example:

  $ curl -g -i -X GET -H "X-Auth-Token: $TOKEN" "http://10.0.0.19:9696/v2.0/ports?created_at=test";
  HTTP/1.1 500 Internal Server Error
  Content-Type: application/json
  Content-Length: 150
  X-Openstack-Request-Id: req-78d586d8-2ad1-4303-89e9-e93ffe4229cb
  Date: Mon, 12 Feb 2018 23:12:17 GMT

  {"NeutronError": {"message": "Request Failed: internal server error
while processing your request.", "type": "HTTPInternalServerError",
"detail": ""}}

IMO, the neutron server should return a 4xx error in this case.

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

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1749030

Title:
  Filter by 'created_at' return 500

Status in neutron:
  New

Bug description:
  Neutron server will return 500 if we try to list ports with
  'created_at' as filter. For example:

    $ curl -g -i -X GET -H "X-Auth-Token: $TOKEN" "http://10.0.0.19:9696/v2.0/ports?created_at=test";
    HTTP/1.1 500 Internal Server Error
    Content-Type: application/json
    Content-Length: 150
    X-Openstack-Request-Id: req-78d586d8-2ad1-4303-89e9-e93ffe4229cb
    Date: Mon, 12 Feb 2018 23:12:17 GMT

    {"NeutronError": {"message": "Request Failed: internal server error
  while processing your request.", "type": "HTTPInternalServerError",
  "detail": ""}}

  IMO, the neutron server should return a 4xx error in this case.

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


Follow ups