[Openstack] Neutron-server error
Salvatore Orlando
sorlando at nicira.com
Sun Oct 20 15:33:39 UTC 2013
>From this traceback the only thing I can think of is that this behaviour is
related to https://bugs.launchpad.net/neutron/+bug/1236439
Can you please check the status of your agents?
Regards,
Salvatore
On 20 October 2013 08:31, Chu Duc Minh <chu.ducminh at gmail.com> wrote:
> I'm upgrading from Grizzly to Havana.
> 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)
>
> /var/log/neutron/server.log:
> (this log repeats every 5 seconds)
> *2013-10-20 13:19:49.216 11969 ERROR neutron.openstack.common.rpc.amqp
> [-] Exception during message handling
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> Traceback (most recent call last):
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> File "/usr/lib/python2.7/dist-packages/neutron/openstack/commo
> n/rpc/amqp.py", line 438, in _process_data
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> **args)
> 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",
> line 44, in dispatch
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> neutron_ctxt, version, method, namespace, **kwargs)
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> File "/usr/lib/python2.7/dist-packages/neutron/openstack/commo
> n/rpc/dispatcher.py", line 172, in dispatch
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> result = getattr(proxyobj, method)(ctxt, **kwargs)
> 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
> e.py", line 62, in get_active_networks_info
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> networks = self._get_active_networks(context, **kwargs)
> 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
> e.py", line 40, in _get_active_networks
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> plugin.auto_schedule_networks(context, host)
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedul
> ers_db.py", line 214, in auto_schedule_networks
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> self.network_scheduler.auto_schedule_networks(self, context,
> host)
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> File "/usr/lib/python2.7/dist-packages/neutron/scheduler/dhcp_
> agent_scheduler.py", line 112, in auto_schedule_networks
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> context, [net_id], active=True)
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedul
> ers_db.py", line 125, in get_dhcp_agents_hosting_networks
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> binding.dhcp_agent)]
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedul
> ers_db.py", line 82, in is_eligible_agent
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> agent['heartbeat_timestamp'])
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> TypeError: 'NoneType' object has no attribute '__getitem__'
> 2013-10-20 13:19:49.216 11969 TRACE neutron.openstack.common.rpc.amqp
> 2013-10-20 13:19:49.218 11969 ERROR neutron.openstack.common.rpc.common
> [-] Returning exception 'NoneType' object has no attribute '__
> getitem__' to caller
> 2013-10-20 13:19:49.219 11969 ERROR neutron.openstack.common.rpc.common
> [-] ['Traceback (most recent call last):\n', ' File "/usr/lib
> /python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 438,
> in _process_data\n **args)\n', ' File "/usr/lib/python2.
> 7/dist-packages/neutron/common/rpc.py", line 44, in dispatch\n
> neutron_ctxt, version, method, namespace, **kwargs)\n', ' File "/us
> r/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py",
> line 172, in dispatch\n result = getattr(proxyobj, metho
> 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
> networks = self._get_active_networks(context, **kwargs)\n', ' File
> "/usr/lib/python2.7/dist-packages/neutron/db/dhcp_rpc_base.py",
> line 40, in _get_active_networks\n
> plugin.auto_schedule_networks(context, host)\n', ' File
> "/usr/lib/python2.7/dist-packages/neut
> ron/db/agentschedulers_db.py", line 214, in auto_schedule_networks\n
> self.network_scheduler.auto_schedule_networks(self, context, h
> ost)\n', ' File
> "/usr/lib/python2.7/dist-packages/neutron/scheduler/dhcp_agent_scheduler.py",
> line 112, in auto_schedule_networks\n
> context, [net_id], active=True)\n', ' File
> "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py", line
> 125, in get_dh
> cp_agents_hosting_networks\n binding.dhcp_agent)]\n', ' File
> "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py",
> line 82, in is_eligible_agent\n agent[\'heartbeat_timestamp\'])\n',
> "TypeError: 'NoneType' object has no attribute '__getitem__'\n"
> ]*
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131020/e4d9c123/attachment.html>
More information about the Openstack
mailing list