Validation for List servers by server name - 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 server name" 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 - 400 BadRequest
Actual Code - 200 OK
4. test_list_
Expected Error Code - 404 NotFound
Actual Code - 200 OK
The List Servers API for listing by name should send the Expected error responses as above
The return code of filtering a list should typically be 200. The only thing that should be changing is what is contained in the list returned to clients. Please only file bugs based on mis-implementation of the API spec, not your personal opinion.