Querying servers in another tenant should return a NotFound error

Bug #1002935 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 List Servers in another tenant of which the user is not a part of and fails
as the expected error code is not returned.

test_list_servers_list_another_tenant_servers - Return an error when a user lists servers in another tenant

Expected Error Code - 404 Not Found
Actual Code - 200 OK

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

Actually, it currently returns a 400 whether the other tenant exists or not. I think that is fine behavior as we don't want to imply that the other tenant does or does not exist.

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.