/v2.1/servers/detail?tenant_id=XX returns unpredictable results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Jordan Pittier | ||
Ocata |
Fix Committed
|
Medium
|
Matt Riedemann |
Bug Description
Found this while investigating why the tempest test test_list_
This test produces the following API call:
GET /v2.1/servers/
Which calls this method in Nova:
nova.api.
In the _get_servers() method that detail() calls, for some reason (bug ? [1]), the 'project_id' is added to the search options. So now, we see that get_all() is called with both tenant_id and project_id:
Searching by: {'project_id': '74e1044b53de44
Now, in nova/nova/
Changed in nova: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/426259
Review: https:/