← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1002918] Re: Validation for List servers by Flavor - expected error responses not returned

 

I updated this too quickly ... after looking at this more and reading
the linked bug, I think the responses received are reasonable.

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1002918

Title:
  Validation for List servers by Flavor - expected error responses not
  returned

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Our tempest tests run the following validation test for List Servers "by Flavor" API and fail
  as the expected error codes are not returned.

  1. test_list_servers_by_flavor_pass_negative_value - Return an error
  while listing server with negative flavor

  Expected Error Code - 400 BadRequest
  Actual Code - 200 OK

  2. test_list_servers_by_flavor_pass_overlimit_flavor - Return an error
  while listing server with too large flavor value

  Expected Error Code - 413 Overlimit
  Actual Code - 200 OK

  3. test_list_servers_by_non_existing_flavor - Return an error while
  listing server by non existing flavor

  Expected Error Code - 404 NotFound
  Actual Code - 200 OK

  The List Servers API for listing by flavor should send the Expected
  error responses as above.

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