Validation for List servers by Image - expected error responses not returned
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Our tempest tests run the following validation test for List Servers "by Image" API and fail
as the expected error codes are not returned.
1. test_list_
Expected Error Code - 400 BadRequest
Actual Code - 200 OK
2. test_list_
Expected Error Code - 413 OverLimit
Actual Code - 200 OK
3. test_list_
Expected Error Code - 404 NotFound
Actual Code - 200 OK
The List Servers API for listing by image should send the Expected error responses as above.
Similar explanation as given on this bug: https:/ /bugs.launchpad .net/nova/ +bug/1008456