OVSvApp agent tunnel sync throws exceptions

Bug #1493092 reported by Romil Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vsphere
Fix Committed
Undecided
Romil Gupta

Bug Description

;36mNone None^[[00;32m] ^[[01;35m^[[00;32mtunnel_update received^[[00m ^[[00;33mfrom (pid=24231) tunnel_update /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:457^[[00m
2015-09-07 02:13:36.869 ^[[01;31mERROR oslo_messaging.rpc.dispatcher [^[[01;36mreq-320f3b31-8017-442c-9913-34d799b2e767 ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31mException during message handling: 'OVSvAppL2Agent' object has no attribute 'tunnel_csum'^[[00m
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback))
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback)
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m result = func(ctxt, **new_args)
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 477, in tunnel_update
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m tunnel_type)
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1248, in _setup_tunnel_port
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m self.tunnel_csum)
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mAttributeError: 'OVSvAppL2Agent' object has no attribute 'tunnel_csum'
^[[01;31m2015-09-07 02:13:36.869 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m
2015-09-07 02:13:37.427 ^[[00;36mINFO networking_vsphere.agent.ovsvapp_agent [^[[00;36m-^[[00;36m] ^[[01;35m^[[00;36mOVSvApp Agent tunnel out of sync with plugin!^[[00m

;36mNone None^[[00;32m] ^[[01;35m^[[00;32mtunnel_update received^[[00m ^[[00;33mfrom (pid=18037) tunnel_update /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:427^[[00m
2015-09-02 18:16:26.715 ^[[00;32mDEBUG neutron.agent.linux.utils [^[[01;36mreq-55976495-9a55-460c-afcc-1fb57d599165 ^[[00;36mNone None^[[00;32m] ^[[01;35m^[[00;32m
Command: ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-tun', u'vxlan-642828b1', '--', 'set', 'Interface', u'vxlan-642828b1', u'type=vxlan', 'options:df_default=true', u'options:remote_ip=100.40.40.177', 'options:local_ip=100.40.40.178', 'options:in_key=flow', 'options:out_key=flow']
Exit code: 0
^[[00m ^[[00;33mfrom (pid=18037) execute /opt/stack/neutron/neutron/agent/linux/utils.py:151^[[00m
2015-09-02 18:16:26.727 ^[[00;32mDEBUG neutron.agent.linux.utils [^[[01;36mreq-55976495-9a55-460c-afcc-1fb57d599165 ^[[00;36mNone None^[[00;32m] ^[[01;35m^[[00;32m
Command: ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=ofport', 'list', 'Interface', u'vxlan-642828b1']
Exit code: 0
^[[00m ^[[00;33mfrom (pid=18037) execute /opt/stack/neutron/neutron/agent/linux/utils.py:151^[[00m
2015-09-02 18:16:26.729 ^[[01;31mERROR oslo_messaging.rpc.dispatcher [^[[01;36mreq-55976495-9a55-460c-afcc-1fb57d599165 ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31mException during message handling: 'OVSBridge' object has no attribute 'setup_tunnel_port'^[[00m
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback))
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback)
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m result = func(ctxt, **new_args)
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 447, in tunnel_update
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m tunnel_type)
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1219, in _setup_tunnel_port
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m br.setup_tunnel_port(tunnel_type, ofport)
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mAttributeError: 'OVSBridge' object has no attribute 'setup_tunnel_port'
^[[01;31m2015-09-02 18:16:26.729 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m
2015-09-02 18:16:26.907 ^[[00;36mINFO networking_vsphere.agent.ovsvapp_agent [^[[00;36m-^[[00;36m] ^[[01;35m^[[00;36mOVSvApp Agent tunnel out of sync with plugin!^[[00m

Romil Gupta (romilg)
description: updated
Changed in networking-vsphere:
assignee: nobody → Romil Gupta (romilg)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.openstack.org/221062
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=1895ca6f47990a73b3014e53e909ffb94f908302
Submitter: Jenkins
Branch: master

commit 1895ca6f47990a73b3014e53e909ffb94f908302
Author: Romil Gupta <email address hidden>
Date: Mon Sep 7 08:52:13 2015 -0700

    Fix ovsvapp agent tunnel update failures

    At the time of restarting of OVSvApp Agent, we have
    observed following exceptions:

    1. Exception during message handling: 'OVSvAppL2Agent'
       object has no attribute 'tunnel_csum'

    2. AttributeError: 'OVSBridge' object has no attribute
      'setup_tunnel_port'

    This patch-set addresses the same.

    Change-Id: I56267062db5a4a5deec41c70c9f6a14ef7f9cc29
    Closes-Bug: #1493092
    Reference: https://review.openstack.org/#/c/220744/

Changed in networking-vsphere:
status: In Progress → Fix Committed
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.