yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01515
[Bug 1146000] Re: lazy load 'system_metadata' error in nova-network
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1146000
Title:
lazy load 'system_metadata' error in nova-network
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
branch: master
commit: bcdbe9ba881db8b38525bfc44a182e6b210459cd
2013-03-05 12:37:29.658 ERROR nova.openstack.common.rpc.amqp [req-5f8a3941-839b-4226-b6e6-709627aaeecd 1458120d63784bb49858437c275dc59e 7dd8607e7d294efc845ccf68f8d282b7] Exception during message handling
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 393, in _process_data
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/floating_ips.py", line 116, in allocate_for_instance
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp **kwargs)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 508, in allocate_for_instance
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp requested_networks=requested_networks)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 211, in _allocate_fixed_ips
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp vpn=vpn, address=address)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1658, in allocate_fixed_ip
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp instance_id)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 380, in _do_trigger_security_group_members_refresh_for_instance
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp group_ids)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 3147, in trigger_members_refresh
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp context, instance['host'], instance)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/rpcapi.py", line 669, in refresh_instance_security_rules
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp instance_p = jsonutils.to_primitive(instance)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/jsonutils.py", line 107, in to_primitive
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp return recursive(dict(value.iteritems()), level=level + 1)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/db/sqlalchemy/models.py", line 88, in iteritems
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp local = dict(self)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/db/sqlalchemy/models.py", line 77, in next
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp return n, getattr(self, n)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 168, in __get__
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp return self.impl.get(instance_state(instance),dict_)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 453, in get
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp value = self.callable_(state, passive)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 481, in _load_for_state
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp (mapperutil.state_str(state), self.key)
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp DetachedInstanceError: Parent instance <Instance at 0x5888190> is not bound to a Session; lazy load operation of attribute 'system_metadata' cannot proceed
2013-03-05 12:37:29.658 14282 TRACE nova.openstack.common.rpc.amqp
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1146000/+subscriptions