← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1306602] [NEW] AvailabilityZoneFilter keeps all hosts in default availability zone

 

Public bug reported:

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-587a-4eac-849d-0536243cd0b4
 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-zone=None..}.

** Affects: nova
     Importance: Undecided
     Assignee: Marc Koderer (m-koderer)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Marc Koderer (m-koderer)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1306602

Title:
  AvailabilityZoneFilter keeps all hosts in default availability zone

Status in OpenStack Compute (Nova):
  New

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-587a-4eac-849d-0536243cd0b4
   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-zone=None..}.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1306602/+subscriptions


Follow ups

References