BootAndLiveMigrateServer does wrong target host selection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
Tom Patzig |
Bug Description
BootAndLiveMigr
In this function only the AZ of the instance is evaluated, to filter hosts.
This is wrong, if you have multiple aggregates and use nova's AggregateInstan
IMHO, the function _find_host_
Reproduce:
1. Create 2 aggregates with computes in each, one aggr with metadata live_migrate=true
2. Create a flavor with property live_migrate=true
3. use rally task BootAndLiveMigr
It will randomly fail, whenever it chooses a compute from the wrong aggregate.
Fixed with https:/ /review. openstack. org/#/c/ 523865/ 2