← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1171997] Re: For networks shared beetwen multiple tenants (net-create --shared) there's no 'default' security group

 

** Changed in: quantum/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1171997

Title:
  For networks shared beetwen multiple tenants (net-create --shared)
  there's no 'default' security group

Status in OpenStack Quantum (virtual network service):
  Fix Released
Status in quantum grizzly series:
  Fix Released

Bug description:
  
  In environment where single network (net-create --shared) is shared beetwen multiple tenants, all tenants except one who is owning network are unable to spawn new instances as there's no 'default' security group for them.

  
  2013-04-23 15:45:00.100 ERROR nova.compute.manager [req-077e253e-9fe4-4dee-adfc-4535996a19e5 3735b2c7b83d43b4be0b9a4c4ae1d2ae 4d979b29cec04703aa67ec6ee70efd97] [instance: 4631ea86-c258-4928-9b2d-ae15a9eb94b6] Error: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 831, in _run_instance\n    requested_networks, macs, security_groups)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1075, in _allocate_network\n    instance=instance)\n', '  File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1071, in _allocate_network\n    security_groups=security_groups)\n', '  File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 46, in wrapper\n    res = f(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/network/quantumv2/api.py", line 212, in allocate_for_instance\n    security_group_id=security_group)\n', 'SecurityGroupNotFound: Security group default not found.\n']
  2013-04-23 15:45:00.123 ERROR nova.scheduler.filter_scheduler [req-077e253e-9fe4-4dee-adfc-4535996a19e5 3735b2c7b83d43b4be0b9a4c4ae1d2ae 4d979b29cec04703aa67ec6ee70efd97] [instance: 4631ea86-c258-4928-9b2d-ae15a9eb94b6] Error from last host: linux-tsn9 (node linux-tsn9): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 831, in _run_instance\n    requested_networks, macs, security_groups)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1075, in _allocate_network\n    instance=instance)\n', u'  File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1071, in _allocate_network\n    security_groups=security_groups)\n', u'  File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 46, in wrapper\n    res = f(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/site-packages/nova/network/quantumv2/api.py", line 212, in allocate_for_instance\n    security_group_id=security_group)\n', u'SecurityGroupNotFound: Security group default not found.\n']

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