Live migration of instances requires the destination AND the source to have the same resources free on top of what the instance is taking
Bug #1975490 reported by
Diko Parvanov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
A live-migration of a VM with 8 vCPUs from host SOURCE to host DEST, where host SOURCE has no free vCPUs will fail, because it will require that host SOURCE has 8 vCPUs together with the already allocated 8 vCPUs from the running instance, so it requires the source host to have 16 vCPUs.
The workaround is to increase the allocation ratio of the host SOURCE via openstack resource provider inventory class set --allocation_ratio and then scale it back down to the required value.
To post a comment you must log in.
currently we do not have enough info to traige this so setting to incomplete
what version of OpenStack was this observed with.
i believe live migration should be using multiple allocations in placement
one for the source host and a second of the dest using the migration uuid