← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1506819] [NEW] TestHAL3Agent.test_ha_router failure

 

Public bug reported:

it seems neutron server is crashing with None dereference.

http://logs.openstack.org/87/219187/9/check/gate-neutron-dsvm-
fullstack/9d63c76/logs/TestHAL3Agent.test_ha_router/neutron-server--
2015-10-15--22-49-11-883412.log.txt.gz

2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource [req-18955e90-cc49-4f25-addd-b04e4ef5f7f6 - - - - -] index failed
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource Traceback (most recent call last):
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     result = method(request=request, **args)
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/extensions/l3agentscheduler.py", line 104, in index
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     request.context, kwargs['router_id'])
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/l3_hascheduler_db.py", line 82, in list_l3_agents_hosting_router
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     return self._get_agents_dict_for_router(bindings)
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/l3_hascheduler_db.py", line 66, in _get_agents_dict_for_router
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     l3_agent_dict = self._make_agent_dict(agent)
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/agents_db.py", line 219, in _make_agent_dict
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     res = dict((k, agent[k]) for k in attr
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/agents_db.py", line 220, in <genexpr>
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     if k not in ['alive', 'configurations'])
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource TypeError: 'NoneType' object has no attribute '__getitem__'
2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1506819

Title:
  TestHAL3Agent.test_ha_router failure

Status in neutron:
  New

Bug description:
  it seems neutron server is crashing with None dereference.

  http://logs.openstack.org/87/219187/9/check/gate-neutron-dsvm-
  fullstack/9d63c76/logs/TestHAL3Agent.test_ha_router/neutron-server--
  2015-10-15--22-49-11-883412.log.txt.gz

  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource [req-18955e90-cc49-4f25-addd-b04e4ef5f7f6 - - - - -] index failed
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource Traceback (most recent call last):
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     result = method(request=request, **args)
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/extensions/l3agentscheduler.py", line 104, in index
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     request.context, kwargs['router_id'])
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/l3_hascheduler_db.py", line 82, in list_l3_agents_hosting_router
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     return self._get_agents_dict_for_router(bindings)
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/l3_hascheduler_db.py", line 66, in _get_agents_dict_for_router
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     l3_agent_dict = self._make_agent_dict(agent)
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/agents_db.py", line 219, in _make_agent_dict
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     res = dict((k, agent[k]) for k in attr
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/agents_db.py", line 220, in <genexpr>
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource     if k not in ['alive', 'configurations'])
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource TypeError: 'NoneType' object has no attribute '__getitem__'
  2015-10-15 22:49:21.721 9550 ERROR neutron.api.v2.resource

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1506819/+subscriptions