yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00519
[Bug 1117232] Re: lazy load operation of attribute 'system_metadata' cannot proceed
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => grizzly-3
--
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/1117232
Title:
lazy load operation of attribute 'system_metadata' cannot proceed
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
branch: master
commit: ee955d272ab4eef2e8371f2e460454058ce7e46c
This happens sometimes when I restart nova-conductor and nova-compute services. The notification via rabbitmq is enabled in nova.
Is this the same cause of bug https://bugs.launchpad.net/nova/+bug/785816?
nova-conductor trace is here:
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp
2013-02-06 19:21:20,250.250 ERROR nova.openstack.common.rpc.amqp [req-6c4474a3-ea95-4b40-9edb-a131c9a32aee None None] Exception during message handling
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/home/wenhao/workspace/openstack/nova/nova/openstack/common/rpc/amqp.py", line 276, in _process_data
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/home/wenhao/workspace/openstack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/home/wenhao/workspace/openstack/nova/nova/conductor/manager.py", line 93, in instance_get_all_by_host
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp return jsonutils.to_primitive(result)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/home/wenhao/workspace/openstack/nova/nova/openstack/common/jsonutils.py", line 97, in to_primitive
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp level=level))
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/home/wenhao/workspace/openstack/nova/nova/openstack/common/jsonutils.py", line 108, in to_primitive
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp return to_primitive(dict(value.iteritems()),
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/home/wenhao/workspace/openstack/nova/nova/db/sqlalchemy/models.py", line 102, in iteritems
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp local = dict(self)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/home/wenhao/workspace/openstack/nova/nova/db/sqlalchemy/models.py", line 91, in next
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp return n, getattr(self, n)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 168, in __get__
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp return self.impl.get(instance_state(instance),dict_)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 453, in get
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp value = self.callable_(state, passive)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 481, in _load_for_state
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp (mapperutil.state_str(state), self.key)
2013-02-06 19:21:20,250.250 31860 TRACE nova.openstack.common.rpc.amqp DetachedInstanceError: Parent instance <Instance at 0x443ba10> is not bound to a Session; lazy load operation of attribute 'system_metadata' cannot proceed
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1117232/+subscriptions