← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1773827] Re: Sort flavors with tenant_id return 500

 

Seems this has been fixed, closing.

** Changed in: neutron
       Status: In Progress => Invalid

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

Title:
  Sort flavors with tenant_id return 500

Status in neutron:
  Invalid

Bug description:
  I tried to list flavors with 'tenant_id' as a sort key and neutron
  server returned 500 response. I expected the response to be 4xx.

    $ openstack network flavor create --service-type L3_ROUTER_NAT dummy-flavor
    $ openstack network flavor create --service-type L3_ROUTER_NAT dummy-flavor2
    $ curl -g -i -X GET "http://127.0.0.1:9696/v2.0/flavors?sort_dir=asc&sort_key=tenant_id"; -H "Accept: application/json" -H "X-Auth-Token: $TOKEN"
    HTTP/1.1 500 Internal Server Error
    Content-Type: application/json
    Content-Length: 150
    X-Openstack-Request-Id: req-918c6f4d-97c8-4ebf-8d16-35621eac0cb8
    Date: Tue, 05 Jun 2018 19:05:55 GMT

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

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



References