yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01775
[Bug 1159616] Re: When running quantum with qpid rpc backend, the agent state report failed
Reviewed: https://review.openstack.org/25268
Committed: http://github.com/openstack/quantum/commit/5840f24ef3d801ff2e83f58c03f34a4e4b670217
Submitter: Jenkins
Branch: milestone-proposed
commit 5840f24ef3d801ff2e83f58c03f34a4e4b670217
Author: He Jie Xu <xuhj@xxxxxxxxxxxxxxxxxx>
Date: Mon Mar 25 16:18:21 2013 +0800
Fixes report state failed with qpid rpc backend
Fixes bug 1159616
Change-Id: Ie63dd41169fdb2f7a1814aed38ab126b69b46fe9
** 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/1159616
Title:
When running quantum with qpid rpc backend, the agent state report
failed
Status in OpenStack Quantum (virtual network service):
Fix Released
Bug description:
When running quantum with 'rpc_backend =
quantum.openstack.common.rpc.impl_qpid', get error message as below:
2013-03-25 11:32:04 ERROR [quantum.openstack.common.rpc.amqp] Exception during message handling
Traceback (most recent call last):
File "/home/soulxu/work-code/openstack/quantum/quantum/openstack/common/rpc/amqp.py", line 431, in _process_data
rval = self.proxy.dispatch(ctxt, version, method, **args)
File "/home/soulxu/work-code/openstack/quantum/quantum/common/rpc.py", line 43, in dispatch
quantum_ctxt, version, method, **kwargs)
File "/home/soulxu/work-code/openstack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 133, in dispatch
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/home/soulxu/work-code/openstack/quantum/quantum/db/agents_db.py", line 167, in report_state
time = timeutils.parse_strtime(time)
File "/home/soulxu/work-code/openstack/quantum/quantum/openstack/common/timeutils.py", line 65, in parse_strtime
return datetime.datetime.strptime(timestr, fmt)
TypeError: must be string, not timestamp
It because we pass timestamp as datetime object, but kombu and qpid
backend will deserialize the datetime object as different way.
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1159616/+subscriptions