Mismatch between forced host and AZ prevents move operations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Stephen Finucane | ||
Wallaby |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When spawning a new instance, it's possible to force the instance to a specific host by using a special 'availability_
openstack server create --availability-zone my-az:my-host ... my-server
Doing so bypasses the scheduler, which means the 'AvailabilityZo
The solution seems to be to either (a) error out when an invalid availability zone-host combo is requested or simply ignore the availability zone aspect of the request, opting to use the value of the host instead (with a warning, ideally). Note that microversion 2.74 introduced a better way of requesting a specific host without bypassing the scheduler, using 'host' and 'hypervisor_
tags: | added: availability-zones |
Changed in nova: | |
status: | Confirmed → In Progress |
Related fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /801523
Review: https:/