<div dir="ltr">From this traceback the only thing I can think of is that this behaviour is related to <a href="https://bugs.launchpad.net/neutron/+bug/1236439">https://bugs.launchpad.net/neutron/+bug/1236439</a><div>Can you please check the status of your agents?</div>
<div><br></div><div>Regards,</div><div>Salvatore</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 October 2013 08:31, Chu Duc Minh <span dir="ltr"><<a href="mailto:chu.ducminh@gmail.com" target="_blank">chu.ducminh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I'm upgrading from Grizzly to Havana.<br>After a day struggling, i can migrate and make almost components working... except a bug in neutron-server (due to this bug i can launch new instance, but old instances still work OK)<br>
</div><br>/var/log/neutron/server.log:<br></div>(this log repeats every 5 seconds)<br><div><div><b><span style="font-family:courier new,monospace">2013-10-20 13:19:49.216 11969 ERROR neutron.openstack.common.rpc.amqp [-] Exception during message handling<br>
2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last):<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/commo<br>
n/rpc/amqp.py", line 438, in _process_data<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp **args)<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py",<br>
line 44, in dispatch<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp neutron_ctxt, version, method, namespace, **kwargs)<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/commo<br>
n/rpc/dispatcher.py", line 172, in dispatch<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/db/dhcp_rpc_bas<br>
e.py", line 62, in get_active_networks_info<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp networks = self._get_active_networks(context, **kwargs)<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/db/dhcp_rpc_bas<br>
e.py", line 40, in _get_active_networks<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp plugin.auto_schedule_networks(context, host)<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedul<br>
ers_db.py", line 214, in auto_schedule_networks<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp self.network_scheduler.auto_schedule_networks(self, context,<br> host)<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/scheduler/dhcp_<br>
agent_scheduler.py", line 112, in auto_schedule_networks<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp context, [net_id], active=True)<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedul<br>
ers_db.py", line 125, in get_dhcp_agents_hosting_networks<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp binding.dhcp_agent)]<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedul<br>
ers_db.py", line 82, in is_eligible_agent<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp agent['heartbeat_timestamp'])<br>2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp TypeError: 'NoneType' object has no attribute '__getitem__'<br>
2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp<br>2013-10-20 13:19:49.218 11969 ERROR neutron.openstack.common.rpc.common [-] Returning exception 'NoneType' object has no attribute '__<br>
getitem__' to caller<br>2013-10-20 13:19:49.219 11969 ERROR neutron.openstack.common.rpc.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib<br>/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data\n **args)\n', ' File "/usr/lib/python2.<br>
7/dist-packages/neutron/common/rpc.py", line 44, in dispatch\n neutron_ctxt, version, method, namespace, **kwargs)\n', ' File "/us<br>r/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, metho<br>
d)(ctxt, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/dhcp_rpc_base.py", line 62, in get_active_networks_info\n<br> networks = self._get_active_networks(context, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/dhcp_rpc_base.py",<br>
line 40, in _get_active_networks\n plugin.auto_schedule_networks(context, host)\n', ' File "/usr/lib/python2.7/dist-packages/neut<br>ron/db/agentschedulers_db.py", line 214, in auto_schedule_networks\n self.network_scheduler.auto_schedule_networks(self, context, h<br>
ost)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/scheduler/dhcp_agent_scheduler.py", line 112, in auto_schedule_networks\n<br> context, [net_id], active=True)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py", line 125, in get_dh<br>
cp_agents_hosting_networks\n binding.dhcp_agent)]\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py",<br>line 82, in is_eligible_agent\n agent[\'heartbeat_timestamp\'])\n', "TypeError: 'NoneType' object has no attribute '__getitem__'\n"<br>
]</span></b><br><br></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>