AggregateMultiTenancyIsolation uses wrong tenant_id during cold migrate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann | ||
Ocata |
Fix Committed
|
High
|
Matt Riedemann | ||
Pike |
Fix Committed
|
High
|
Matt Riedemann | ||
Queens |
Fix Committed
|
High
|
Matt Riedemann |
Bug Description
The details are in this mailing list thread:
http://
But essentially the case is:
* There are 3 compute hosts.
* compute1 and compute2 are in a host aggregate and a given tenant is restricted to that aggregate
* The user creates a server on compute1
* The admin attempts to cold migrate the server which fails in the AggregateMultiT
The reason is because the cold migrate task in the conductor replaces the original request spec, which had the instance project_id in it, and uses the current context, which is the admin (which could be in a different project):
https:/
information type: | Public → Public Security |
Looks like the problem code was removed in Pike: https:/ /review. openstack. org/#/c/ 449640/
In order to fix bug 1675607. I'll see if we can backport that to Ocata.