Trace is seen when disabling neutron-openvswitch-agent with of_interface=native

Bug #1585131 reported by Inessa Vasilevskaya
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Confirmed
Medium
MOS Neutron
9.x
Won't Fix
Medium
Inessa Vasilevskaya

Bug Description

Mos 9.0, 3 controllers/1 compute.

Confuguration:
/etc/neutron/plugins/ml2/openvswitch_agent.ini has of_interface=native on all nodes.

After `pcs resource disable neutron-openvswitch-agent` the following trace is seen in neutron-openvswitch log:

2016-05-24 09:48:32 ERR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ryu/lib/hub.py", line 52, in _launch
    func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 532, in close
    self.uninstantiate(app_name)
  File "/usr/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 515, in uninstantiate
    app = self.applications.pop(name)
KeyError: 'ofctl_service'

Tags: area-neutron
Revision history for this message
Sergey Kolekonov (skolekonov) wrote :

Please note that of_interface=native was set manually and it's not the default option for MOS 9.0

Changed in mos:
assignee: nobody → MOS Neutron (mos-neutron)
milestone: none → 10.0
Dina Belova (dbelova)
tags: added: area-neutron
Changed in mos:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Inessa Vasilevskaya (ivasilevskaya) wrote :

This is also seen on compute node when stopping neutron-openvswitch-agent via

service neutron-openvswitch-agent stop.

Revision history for this message
Inessa Vasilevskaya (ivasilevskaya) wrote :

That's the reason - https://review.openstack.org/#/c/257204/6.
The close is performed in 2 eventlet threads with the applications being uninstantiated twice (see ryu's lib code https://github.com/osrg/ryu/blob/master/ryu/base/app_manager.py#L544)

Revision history for this message
Inessa Vasilevskaya (ivasilevskaya) wrote :
Revision history for this message
Inessa Vasilevskaya (ivasilevskaya) wrote :

The issue was fixed in ryu 4.4 (verified on devstack), will be fixed in Newton by requirements update (https://review.openstack.org/#/c/336799/).

Changed in mos:
status: Confirmed → Won't Fix
Changed in mos:
status: Won't Fix → Confirmed
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.