← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1373777] [NEW] race condition when create Nova default security group for same tenant

 

Public bug reported:

Boot one instance with security_group_api=nova , it will check  Nova's
default security  group firstly,

There is race condition that boot some instances at the first time for
same tenant.  with config option " security_group_api=nova " , current
logic is :

1. get default security group
2. if not get it , create one.

two threads may in step2 , than a exception.SecurityGroupExists is
raised.

Note: this only occure  randomly  when boot some instances at the first
time for same tenant.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  race condition when create Nova default security group for same tenant

Status in OpenStack Compute (Nova):
  New

Bug description:
  Boot one instance with security_group_api=nova , it will check  Nova's
  default security  group firstly,

  There is race condition that boot some instances at the first time for
  same tenant.  with config option " security_group_api=nova " , current
  logic is :

  1. get default security group
  2. if not get it , create one.

  two threads may in step2 , than a exception.SecurityGroupExists is
  raised.

  Note: this only occure  randomly  when boot some instances at the
  first time for same tenant.

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


Follow ups

References