AvailabilityZoneFilter keeps all hosts in default availability zone
Bug #1306602 reported by
Marc Koderer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Marc Koderer |
Bug Description
Problem:
-----------
If a host is part of an availability zone (AZ) it should not be part of the default availability zone.
Otherwise scheduling hosts by default will be spread across AZs if this is not specified in
the CLI.
Steps to reproduce:
-------
1.) Create AZ:
nova aggregate-create test01 test01
2.) Start a vm without the AZ parameter:
nova boot "testvm" --flavor 1 --image 581a7392-
3.) VM will (potentially) be started on compute node test01 even though it's not part of the default AZ
Hints:
------
If --availability-zone is not set in CLI the metadata dict will contain {.. availability-
Changed in nova: | |
assignee: | nobody → Marc Koderer (m-koderer) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/87247
Review: https:/