← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1252410] Re: SecurityGroup exception when there are no subnets

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  SecurityGroup exception when there are no subnets

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When booting an instance with a network that has no defined subnets
  (i.e. you want the instance to have a network interface but not to
  have the address range managed by neutron), the nova/neutron
  integration code throws a SecurityGroupCannotBeApplied exception. At
  the moment, nova does not have the ability to indicate that no
  SecurityGroup is required (omitting it results in the default group
  being assumed).

  To reproduce:

  1. create a network -- do not create a subnet!
  2. boot a vm a-la "nova boot --image foo --nic net-id=[uuid for aforementioned network] foovm"

  Result: 
  VM fails to boot, enters ERROR state

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