← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1419745] [NEW] RPC method in OVS agent attempt to access uninitialized attribute

 

Public bug reported:

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 constructor.

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

** Affects: neutron
     Importance: High
     Assignee: Eugene Nikanorov (enikanorov)
         Status: New


** Tags: ovs

** Description changed:

- The following trace was observed:
+ 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 constructor.
+ 
+ This failure at agent startup leads to connectivity failure of whole
+ node, because tunnels are not set up properly.

** Changed in: neutron
   Importance: Undecided => High

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

Title:
  RPC method in OVS agent attempt to access uninitialized attribute

Status in OpenStack Neutron (virtual network service):
  New

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 constructor.

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

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


Follow ups

References