← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1611237] Re: Restart neutron-openvswitch-agent get ERROR "Switch connection timeout"

 

I reopen the bug; we use Ryu local controller by default for OVS agent,
we probably forget to kill the controller before exiting from the agent.

** Changed in: neutron
       Status: Invalid => 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/1611237

Title:
  Restart neutron-openvswitch-agent get ERROR "Switch connection
  timeout"

Status in neutron:
  Confirmed

Bug description:
  Environment: devstack  master, ubuntu 14.04

  After ./stack.sh finished, kill the neutron-openvswitch-agent process
  and then start it by /usr/bin/python /usr/local/bin/neutron-
  openvswitch-agent --config-file /etc/neutron/neutron.conf --config-
  file /etc/neutron/plugins/ml2/ml2_conf.ini

  The log shows :
  2016-08-08 11:02:06.346 ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 54, in _launch
      return func(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 97, in __call__
      self.ofp_ssl_listen_port)
    File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 120, in server_loop
      datapath_connection_factory)
    File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 117, in __init__
      self.server = eventlet.listen(listen_info)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
      sock.bind(addr)
    File "/usr/lib/python2.7/socket.py", line 224, in meth
      return getattr(self._sock,name)(*args)
  error: [Errno 98] Address already in use

  and
  ERROR neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ofswitch [-] Switch connection timeout

  In kilo I could start ovs-agent in this way correctly, I do not know
  it is right to start ovs-agent in master.

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


References