yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30407
[Bug 1435919] [NEW] Traceback on listing security groups
Public bug reported:
The following traceback has been observed in the gate jobs (it doesn't
lead to a job's failure though):
TRACE neutron.api.v2.resource Traceback (most recent call last):
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
TRACE neutron.api.v2.resource result = method(request=request, **args)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 311, in index
TRACE neutron.api.v2.resource return self._items(request, True, parent_id)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 245, in _items
TRACE neutron.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 178, in get_security_groups
TRACE neutron.api.v2.resource self._ensure_default_security_group(context, tenant_id)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 553, in _ensure_default_security_group
TRACE neutron.api.v2.resource return default_group['security_group_id']
TRACE neutron.api.v2.resource File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
TRACE neutron.api.v2.resource self.gen.next()
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/api.py", line 59, in autonested_transaction
TRACE neutron.api.v2.resource yield tx
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 482, in __exit__
TRACE neutron.api.v2.resource self.rollback()
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
TRACE neutron.api.v2.resource compat.reraise(exc_type, exc_value, exc_tb)
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 479, in __exit__
TRACE neutron.api.v2.resource self.commit()
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 382, in commit
TRACE neutron.api.v2.resource self._assert_active(prepared_ok=True)
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 218, in _assert_active
TRACE neutron.api.v2.resource "This Session's transaction has been rolled back "
TRACE neutron.api.v2.resource InvalidRequestError: This Session's transaction has been rolled back by a nested rollback() call. To begin a new transaction, issue Session.rollback() first.
Example:
http://logs.openstack.org/17/165117/6/check/check-tempest-dsvm-neutron-
pg/7017248/logs/screen-q-svc.txt.gz?level=TRACE
** Affects: neutron
Importance: High
Assignee: Eugene Nikanorov (enikanorov)
Status: Confirmed
** Description changed:
- The following traceback has been observed in the gate jobs:
+ The following traceback has been observed in the gate jobs (it doesn't
+ lead to a job's failure though):
- TRACE neutron.api.v2.resource Traceback (most recent call last):
- TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
- TRACE neutron.api.v2.resource result = method(request=request, **args)
- TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 311, in index
- TRACE neutron.api.v2.resource return self._items(request, True, parent_id)
- TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 245, in _items
- TRACE neutron.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
- TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 178, in get_security_groups
- TRACE neutron.api.v2.resource self._ensure_default_security_group(context, tenant_id)
- TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 553, in _ensure_default_security_group
- TRACE neutron.api.v2.resource return default_group['security_group_id']
- TRACE neutron.api.v2.resource File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
- TRACE neutron.api.v2.resource self.gen.next()
- TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/api.py", line 59, in autonested_transaction
- TRACE neutron.api.v2.resource yield tx
- TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 482, in __exit__
- TRACE neutron.api.v2.resource self.rollback()
- TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
- TRACE neutron.api.v2.resource compat.reraise(exc_type, exc_value, exc_tb)
- TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 479, in __exit__
- TRACE neutron.api.v2.resource self.commit()
- TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 382, in commit
- TRACE neutron.api.v2.resource self._assert_active(prepared_ok=True)
- TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 218, in _assert_active
- TRACE neutron.api.v2.resource "This Session's transaction has been rolled back "
- TRACE neutron.api.v2.resource InvalidRequestError: This Session's transaction has been rolled back by a nested rollback() call. To begin a new transaction, issue Session.rollback() first.
+ TRACE neutron.api.v2.resource Traceback (most recent call last):
+ TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
+ TRACE neutron.api.v2.resource result = method(request=request, **args)
+ TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 311, in index
+ TRACE neutron.api.v2.resource return self._items(request, True, parent_id)
+ TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 245, in _items
+ TRACE neutron.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
+ TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 178, in get_security_groups
+ TRACE neutron.api.v2.resource self._ensure_default_security_group(context, tenant_id)
+ TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 553, in _ensure_default_security_group
+ TRACE neutron.api.v2.resource return default_group['security_group_id']
+ TRACE neutron.api.v2.resource File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
+ TRACE neutron.api.v2.resource self.gen.next()
+ TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/api.py", line 59, in autonested_transaction
+ TRACE neutron.api.v2.resource yield tx
+ TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 482, in __exit__
+ TRACE neutron.api.v2.resource self.rollback()
+ TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
+ TRACE neutron.api.v2.resource compat.reraise(exc_type, exc_value, exc_tb)
+ TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 479, in __exit__
+ TRACE neutron.api.v2.resource self.commit()
+ TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 382, in commit
+ TRACE neutron.api.v2.resource self._assert_active(prepared_ok=True)
+ TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 218, in _assert_active
+ TRACE neutron.api.v2.resource "This Session's transaction has been rolled back "
+ TRACE neutron.api.v2.resource InvalidRequestError: This Session's transaction has been rolled back by a nested rollback() call. To begin a new transaction, issue Session.rollback() first.
Example:
http://logs.openstack.org/17/165117/6/check/check-tempest-dsvm-neutron-
pg/7017248/logs/screen-q-svc.txt.gz?level=TRACE
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1435919
Title:
Traceback on listing security groups
Status in OpenStack Neutron (virtual network service):
Confirmed
Bug description:
The following traceback has been observed in the gate jobs (it doesn't
lead to a job's failure though):
TRACE neutron.api.v2.resource Traceback (most recent call last):
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
TRACE neutron.api.v2.resource result = method(request=request, **args)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 311, in index
TRACE neutron.api.v2.resource return self._items(request, True, parent_id)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 245, in _items
TRACE neutron.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 178, in get_security_groups
TRACE neutron.api.v2.resource self._ensure_default_security_group(context, tenant_id)
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/securitygroups_db.py", line 553, in _ensure_default_security_group
TRACE neutron.api.v2.resource return default_group['security_group_id']
TRACE neutron.api.v2.resource File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
TRACE neutron.api.v2.resource self.gen.next()
TRACE neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/db/api.py", line 59, in autonested_transaction
TRACE neutron.api.v2.resource yield tx
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 482, in __exit__
TRACE neutron.api.v2.resource self.rollback()
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
TRACE neutron.api.v2.resource compat.reraise(exc_type, exc_value, exc_tb)
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 479, in __exit__
TRACE neutron.api.v2.resource self.commit()
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 382, in commit
TRACE neutron.api.v2.resource self._assert_active(prepared_ok=True)
TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 218, in _assert_active
TRACE neutron.api.v2.resource "This Session's transaction has been rolled back "
TRACE neutron.api.v2.resource InvalidRequestError: This Session's transaction has been rolled back by a nested rollback() call. To begin a new transaction, issue Session.rollback() first.
Example:
http://logs.openstack.org/17/165117/6/check/check-tempest-dsvm-
neutron-pg/7017248/logs/screen-q-svc.txt.gz?level=TRACE
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1435919/+subscriptions
Follow ups
References