It looks like this was fixed a while ago.  Feel free to reopen if I'm

** Changed in: tripleo
       Status: Triaged => Fix Released

You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.

  brutal stop of ovs-agent doesn't kill ryu controller

Status in neutron:
  Fix Released
Status in tripleo:
  Fix Released

Bug description:
  It seems like when we kill neutron-ovs-agent and start it again, the
  ryu controller fails to start because the previous instance (in
  eventlet) is still running.

  (... ovs agent is failing to start and is brutally killed)

  Trying to start the process 5 minutes later:
  INFO neutron.common.config [-] /usr/bin/neutron-openvswitch-agent version
  INFO ryu.base.app_manager [-] loading app 
  INFO ryu.base.app_manager [-] loading app
  INFO ryu.base.app_manager [-] loading app ryu.controller.ofp_handler
  INFO ryu.base.app_manager [-] instantiating app 
neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ovs_ryuapp of 
  INFO ryu.base.app_manager [-] instantiating app ryu.controller.ofp_handler of 
  INFO ryu.base.app_manager [-] instantiating app of 
  ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call 
    File "/usr/lib/python2.7/site-packages/ryu/lib/", line 54, in _launch
      return func(*args, **kwargs)
    File "/usr/lib/python2.7/site-packages/ryu/controller/", line 
97, in __call__
    File "/usr/lib/python2.7/site-packages/ryu/controller/", line 
120, in server_loop
    File "/usr/lib/python2.7/site-packages/ryu/lib/", line 117, in 
      self.server = eventlet.listen(listen_info)
    File "/usr/lib/python2.7/site-packages/eventlet/", line 43, 
in listen
    File "/usr/lib64/python2.7/", line 224, in meth
      return getattr(self._sock,name)(*args)
  error: [Errno 98] Address already in use
  INFO neutron.agent.ovsdb.native.vlog [-] tcp: connecting...
  INFO neutron.agent.ovsdb.native.vlog [-] tcp: connected
  INFO neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ovs_bridge 
[-] Bridge br-int has datapath-ID 0000badb62a6184f
  ERROR neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ofswitch 
[-] Switch connection timeout

  I haven't figured out yet how the previous instance of ovs agent was
  killed (my theory is that Puppet killed it but I don't have the
  killing code yet, I'll update the bug asap).

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to