Validation for Get servers by UUID - Expected error responses not returned

Bug #1002901 reported by Rohit Karajgi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Our tempest tests run the following validation test for GET Servers "by server UUID" API and fail
as the expected error codes are not returned.

1. test_get_server_details_pass_negative_uuid -Return an error when a negative value is passed for uuid

Expected Error Code - 400 BadRequest
Actual Code - 404 NotFound

2. test_get_server_details_pass_overlimit_length_uuid - Return an error when a very large value is passed for uuid

Expected Error Code - 413 OverLimit
Actual Code - 404NotFound

The Get Server details API for listing by UUID should send the Expected error responses as above.

Tags: ntt
Revision history for this message
Brian Waldon (bcwaldon) wrote :

Similar explanation as given on this bug: https://bugs.launchpad.net/nova/+bug/1008456

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.