← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1304409] [NEW] VMs can't be booted with networks without subnet

 

Public bug reported:

Recently a change in the nova/network/neutronv2/api.py file is causing
nova boots to fail for networks that do not have a subnet associated
with them.

The following line in the api.py file is causing the issue:

            for net in nets:
                if not net.get('subnets'):
                    raise exception.NetworkRequiresSubnet(
                        network_uuid=net['id'])

This has to be fixed to allow users to do boots with networks that do
not have a subnet associated with them.

The issue seems to be occuring post the commit done here:

https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commitdiff;h=45e2398f0c01c327db46ce92fb9dda886455db9d

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1304409

Title:
  VMs can't be booted with networks without subnet

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Recently a change in the nova/network/neutronv2/api.py file is causing
  nova boots to fail for networks that do not have a subnet associated
  with them.

  The following line in the api.py file is causing the issue:

              for net in nets:
                  if not net.get('subnets'):
                      raise exception.NetworkRequiresSubnet(
                          network_uuid=net['id'])

  This has to be fixed to allow users to do boots with networks that do
  not have a subnet associated with them.

  The issue seems to be occuring post the commit done here:

  https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commitdiff;h=45e2398f0c01c327db46ce92fb9dda886455db9d

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


Follow ups

References