nova/releasenotes/notes/bug-1821755-7bd03319e34b6b10.yaml
Rodrigo Barbieri 33c8af1f8c Error anti-affinity violation on migrations
Error-out the migrations (cold and live) whenever the
anti-affinity policy is violated. This addresses
violations when multiple concurrent migrations are
requested.

Added detection on:
- prep_resize
- check_can_live_migration_destination
- pre_live_migration

The improved method of detection now locks based on group_id
and considers other migrations in-progress as well.

Closes-bug: #1821755
Change-Id: I32e6214568bb57f7613ddeba2c2c46da0320fabc
2021-06-01 11:29:38 -03:00

12 lines
580 B
YAML

---
fixes:
- |
Improved detection of anti-affinity policy violation when performing live
and cold migrations. Most of the violations caused by race conditions due
to performing concurrent live or cold migrations should now be addressed
by extra checks in the compute service. Upon detection, cold migration
operations are automatically rescheduled, while live migrations have two
checks and will be rescheduled if detected by the first one, otherwise the
live migration will fail cleanly and revert the instance state back to its
previous value.