← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1534110] [NEW] OF native connection sometimes goes away and agent exits

 

Public bug reported:

Probably we should provide a reconnection mechanism when something on
the OpenFlow connection goes wrong.


2016-01-06 08:23:45.031 11755 DEBUG OfctlService [-] dpid 231386065181514 -> datapath None _handle_get_datapath /opt/stack/new/neutron/.tox/dsvm-fullstack-constraints/local/lib/python2.7/site-packages/ryu/app/ofctl/service.py:106
2016-01-06 08:23:45.032 11755 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ofswitch [-] Switch connection timeout
2016-01-06 08:23:45.033 11755 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=datapath_id', 'list', 'Bridge', 'br-int261889006'] create_process /opt/stack/new/neutron/neutron/agent/linux/utils.py:84
2016-01-06 08:23:45.057 11755 DEBUG neutron.agent.linux.utils [-] Exit code: 0 execute /opt/stack/new/neutron/neutron/agent/linux/utils.py:142
2016-01-06 08:23:45.058 11755 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [-] Switch connection timeout Agent terminated!
2016-01-06 08:23:45.060 11755 ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
  File "/opt/stack/new/neutron/.tox/dsvm-fullstack-constraints/local/lib/python2.7/site-packages/ryu/lib/hub.py", line 52, in _launch
    func(*args, **kwargs)
  File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1991, in main
    sys.exit(1)
SystemExit: 1


http://logs.openstack.org/77/240577/6/check/gate-neutron-dsvm-
fullstack/ec699c7/logs/TestConnectivitySameNetwork.test_connectivity_VLANs,Native_
/neutron-openvswitch-agent--2016-01-06--
08-23-13-672140.log.txt.gz#_2016-01-06_08_23_45_032

http://logs.openstack.org/77/240577/6/check/gate-neutron-dsvm-
fullstack/ec699c7/testr_results.html.gz

** Affects: neutron
     Importance: Medium
     Assignee: YAMAMOTO Takashi (yamamoto)
         Status: New


** Tags: ovs

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

Title:
  OF native connection sometimes goes away and agent exits

Status in neutron:
  New

Bug description:
  Probably we should provide a reconnection mechanism when something on
  the OpenFlow connection goes wrong.

  
  2016-01-06 08:23:45.031 11755 DEBUG OfctlService [-] dpid 231386065181514 -> datapath None _handle_get_datapath /opt/stack/new/neutron/.tox/dsvm-fullstack-constraints/local/lib/python2.7/site-packages/ryu/app/ofctl/service.py:106
  2016-01-06 08:23:45.032 11755 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ofswitch [-] Switch connection timeout
  2016-01-06 08:23:45.033 11755 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=datapath_id', 'list', 'Bridge', 'br-int261889006'] create_process /opt/stack/new/neutron/neutron/agent/linux/utils.py:84
  2016-01-06 08:23:45.057 11755 DEBUG neutron.agent.linux.utils [-] Exit code: 0 execute /opt/stack/new/neutron/neutron/agent/linux/utils.py:142
  2016-01-06 08:23:45.058 11755 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [-] Switch connection timeout Agent terminated!
  2016-01-06 08:23:45.060 11755 ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack-constraints/local/lib/python2.7/site-packages/ryu/lib/hub.py", line 52, in _launch
      func(*args, **kwargs)
    File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1991, in main
      sys.exit(1)
  SystemExit: 1


  http://logs.openstack.org/77/240577/6/check/gate-neutron-dsvm-
  fullstack/ec699c7/logs/TestConnectivitySameNetwork.test_connectivity_VLANs,Native_
  /neutron-openvswitch-agent--2016-01-06--
  08-23-13-672140.log.txt.gz#_2016-01-06_08_23_45_032

  http://logs.openstack.org/77/240577/6/check/gate-neutron-dsvm-
  fullstack/ec699c7/testr_results.html.gz

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


Follow ups