nova live-migration not observing availability zone boundary in Red Hat OpenStack Platform
Issue
- When performing a live migration of an instance in one availability zone, the destination host can be in a different availability zone
- This can occur regardless of whether or not a target is specified:
[stack@ctl ~]$ nova list --all --fields name,host,OS-EXT-AZ:availability_zone | grep test
| <id> | test | cpt2 | AZ2 |
[stack@lpdospiudira0 ~]$ nova live-migration <id> cpt3
[stack@lpdospiudira0 ~]$ nova list --all --fields name,host,OS-EXT-AZ:availability_zone | grep test
| <id> | test | cpt3 | AZ1 |
[stack@lpdospiudira0 ~]$ nova live-migration <id>
[stack@lpdospiudira0 ~]$ nova list --all --fields name,host,OS-EXT-AZ:availability_zone | grep test
| <id> | test | cpt2 | AZ2 |
Environment
- Red Hat OpenStack Platform 7.0
- Red Hat OpenStack Platform 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.