← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1526666] Re: After neutron AZ is enabled, nova should add an AZ filter when picking up networks

 

please look into host aggregates @
http://docs.openstack.org/developer/nova/aggregates.html where you can
map in the availability zone with net id. This will help allocate
resources during instance creation

** Changed in: nova
       Status: New => Invalid

-- 
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/1526666

Title:
  After neutron AZ is enabled, nova should add an AZ filter when picking
  up networks

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Reproduce steps:

  1> Create 2 networks with az-hint, and they are in different
  availability zone hints.

  $ neutron net-show net-149
  +-------------------------+--------------------------------------+
  | Field                   | Value                                |
  +-------------------------+--------------------------------------+
  | admin_state_up          | True                                 |
  | availability_zone_hints | zone-149                             |
  | availability_zones      | zone-149                             |
  | id                      | c1db3273-1e1f-4cd7-acd9-a96f03d3174f |
  | name                    | net-149                              |
  | port_security_enabled   | True                                 |
  | router:external         | False                                |
  | shared                  | False                                |
  | status                  | ACTIVE                               |
  | subnets                 | c039a710-63e5-4b2a-9aa5-33ac10cfe672 |
  | tenant_id               | 4a0e924e4f704aa9a735f79e32edb49b     |
  +-------------------------+--------------------------------------+

  $ neutron net-show 8bda9ae0-77c9-42fe-bfbf-2612339345a8
  +-------------------------+--------------------------------------+
  | Field                   | Value                                |
  +-------------------------+--------------------------------------+
  | admin_state_up          | True                                 |
  | availability_zone_hints | zone-239                             |
  | availability_zones      | zone-239                             |
  | id                      | 8bda9ae0-77c9-42fe-bfbf-2612339345a8 |
  | name                    | net-239                              |
  | port_security_enabled   | True                                 |
  | router:external         | False                                |
  | shared                  | False                                |
  | status                  | ACTIVE                               |
  | subnets                 | f935d2f6-0552-4471-a021-5fc3f025113a |
  | tenant_id               | 4a0e924e4f704aa9a735f79e32edb49b     |
  +-------------------------+--------------------------------------+

  When I boot VM with the command below, it should pick up the network
  in zone-149

  nova boot --flavor 1 --image cirros-0.3.3-x86_64 --availability-zone
  zone-149 vm-zone-149

  But I got error msg: 
  ERROR (Conflict): Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-6b01d821-f8a8-4537-b3d1-bf7aebc86a79)

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


References