yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01767
[Bug 1157045] Re: Exception when using database pooling
Reviewed: https://review.openstack.org/25109
Committed: http://github.com/openstack/quantum/commit/1ee37e03a6d722d516ebeeab6cbad3d4ddca3eba
Submitter: Jenkins
Branch: milestone-proposed
commit 1ee37e03a6d722d516ebeeab6cbad3d4ddca3eba
Author: Gary Kotton <gkotton@xxxxxxxxxx>
Date: Thu Mar 21 17:01:31 2013 +0000
Fix issues with db pooling
Fixes bug 1157045
Change-Id: I1b0ea5b18b3d75dc3d047975b234275420af189c
** Changed in: quantum
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/1157045
Title:
Exception when using database pooling
Status in OpenStack Quantum (virtual network service):
Fix Released
Bug description:
When sql_dbpool_enable is set a True we get the following exception:
2013-03-17 11:24:27 ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling
Traceback (most recent call last):
File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 430, in _process_data
rval = self.proxy.dispatch(ctxt, version, method, **args)
File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch
quantum_ctxt, version, method, **kwargs)
File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 133, in dispatch
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/quantum/quantum/db/agents_db.py", line 167, in report_state
plugin.create_or_update_agent(context, agent_state)
File "/opt/stack/quantum/quantum/db/agents_db.py", line 156, in create_or_update_agent
context.session.add(agent_db)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 452, in __exit__
raise
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
In OSLO there was the following task removing this support
https://github.com/openstack/oslo-
incubator/commit/02c12aade7a0c28c66cb45b54786c90c0ae8fb09
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1157045/+subscriptions