← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1311731] Re: Deploys fail with "NetworkRequiresSubnet" Exception when deployed with networks without subnets

 

Before this patch was added the instance would go into error state. The
subnet is required for security groups.

** 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/1311731

Title:
  Deploys fail with "NetworkRequiresSubnet" Exception when deployed with
  networks without subnets

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Deploys fail with "Network <uuid> requires a subnet in order to boot
  instances on." when done with networks which don't have an associated
  subnet.

  It seems that this error was introduced after the following code was
  integrated:
  https://review.openstack.org/gitweb?p=openstack%2Fnova.git;a=commitdiff;h=45e2398f0c01c327db46ce92fb9dda886455db9d

  This review mentions that the subnet check will be subsequently
  removed but the issue is still present in the latest icehouse builds.

  The issue can be easily simulated by attempting a deploy without associating a subnet with it.
  Note: port_security_enabled is also not used as a part of the network used.

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


References