RPC method in OVS agent attempt to access uninitialized attribute

Bug #1419745 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
High
Eugene Nikanorov

Bug Description

The following trace was observed during OVS agent startup.

2015-02-09 07:32:54.512 25702 ERROR oslo.messaging.rpc.dispatcher [req-e7ffbedc-3e8e-4699-a341-9e14ec04f231 ] Exception during message handling: 'OVSNeutronAgent' object has no attribute 'enable_tunneling'
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 321, in tunnel_update
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher if not self.enable_tunneling:
2015-02-09 07:32:54.512 25702 TRACE oslo.messaging.rpc.dispatcher AttributeError: 'OVSNeutronAgent' object has no attribute 'enable_tunneling'

The failure is caused by tunnel_update rpc message handled during OVS agent initialization.

This failure at agent startup leads to connectivity failure of whole node, because tunnels are not set up properly.

Tags: ovs
description: updated
Changed in neutron:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/154012

Changed in neutron:
status: New → In Progress
description: updated
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

Observed behavior applies to Juno release and was fixed later.

Changed in neutron:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by enikanorov (<email address hidden>) on branch: master
Review: https://review.openstack.org/154012

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.