← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1189059] Re: attach quantum security group to an existing vm failed

 

** Changed in: nova/grizzly
       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/1189059

Title:
  attach quantum security group to an existing vm failed

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

Bug description:
  i set the following in nova.conf

  security_group_api=quantum
  firewall_driver=nova.virt.firewall.NoopFirewallDriver

  it works, but when i try to attach a security group to an exist vm ,
  api throw an error :

  "Network requires port_security_enabled and subnet associated in order
  to apply security groups."

  we are not useing nvp in our environemnt yet.

  my vm is boot with a subnet_id specified.


  how to reproduce this bug

  1. enable quantum security group 
  add the following to lines in nova.conf 

  security_group_api=quantum
  firewall_driver=nova.virt.firewall.NoopFirewallDriver

  2. boot a vm

  3. attach security group to a vm .

  nova add-secgroup 24891d97-8d0e-4e99-9537-c8f8291913d0 d11

  24891d97-8d0e-4e99-9537-c8f8291913d0  is my vm id 
  d11 is my security group name . 

  error message returned :

  ERROR: Network requires port_security_enabled and subnet associated in
  order to apply security groups. (HTTP 400) (Request-ID: req-
  94cb2d54-858b-4843-af53-b373c88bcdc0)

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