Public bug reported:

In this grenade job 
http://logs.openstack.org/63/62463/3/gate/gate-grenade-dsvm/4a94d81/console.html

One process tries to list ALL security groups :
"2013-12-19 06:42:11.519 15319 INFO tempest.common.rest_client [-] Request: GET 
http://127.0.0.1:8774/v2/1fb77a9f8ccc417498161dbad4eeabda/os-security-groups?all_tenants=true";
(pid=15319)

http://logs.openstack.org/63/62463/3/gate/gate-grenade-
dsvm/4a94d81/logs/tempest.txt.gz#_2013-12-19_06_42_11_519

While another process deletes one:
http://logs.openstack.org/63/62463/3/gate/gate-grenade-dsvm/4a94d81/logs/tempest.txt.gz#_2013-12-19_06_42_11_510
"2013-12-19 06:42:11.510 15315 INFO tempest.common.rest_client [-] Request: 
DELETE 
http://127.0.0.1:8774/v2/c64e11f31d25473b91f7e1124f41f2a1/os-security-groups/27";
(pid=15315)


The test case failed on  listing ALL security group request , which  requested 
closely in time  to a security group deletion.
'<message>Security group 27 not found.</message></itemNotFound>'


$ nova secgroup-list --all-tenants 1  # is the cli equivalent of the failing 
request, this call should not fail with 'Security group 27 not found.'

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

Title:
  security group listing race

Status in OpenStack Compute (Nova):
  New

Bug description:
  In this grenade job 
  
http://logs.openstack.org/63/62463/3/gate/gate-grenade-dsvm/4a94d81/console.html

  One process tries to list ALL security groups :
  "2013-12-19 06:42:11.519 15319 INFO tempest.common.rest_client [-] Request: 
GET 
http://127.0.0.1:8774/v2/1fb77a9f8ccc417498161dbad4eeabda/os-security-groups?all_tenants=true";
  (pid=15319)

  http://logs.openstack.org/63/62463/3/gate/gate-grenade-
  dsvm/4a94d81/logs/tempest.txt.gz#_2013-12-19_06_42_11_519

  While another process deletes one:
  
http://logs.openstack.org/63/62463/3/gate/gate-grenade-dsvm/4a94d81/logs/tempest.txt.gz#_2013-12-19_06_42_11_510
  "2013-12-19 06:42:11.510 15315 INFO tempest.common.rest_client [-] Request: 
DELETE 
http://127.0.0.1:8774/v2/c64e11f31d25473b91f7e1124f41f2a1/os-security-groups/27";
  (pid=15315)

  
  The test case failed on  listing ALL security group request , which  
requested closely in time  to a security group deletion.
  '<message>Security group 27 not found.</message></itemNotFound>'

  
  $ nova secgroup-list --all-tenants 1  # is the cli equivalent of the failing 
request, this call should not fail with 'Security group 27 not found.'

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to