neutron-openvswitch-agent backtrace at ovs_bridge.py

Bug #1615283 reported by Serguei Bezverkhi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

On the latest master (August 20,2016) I consistently observe a traceback in neutron-openvswitch-agent.log

2016-08-20 15:39:35.542 16 ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/ryu/lib/hub.py", line 54, in _launch
    return func(*args, **kwargs)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ovs_ryuapp.py", line 35, in agent_main_wrapper
    ovs_agent.main(bridge_classes)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2158, in main
    agent = OVSNeutronAgent(bridge_classes, cfg.CONF)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 168, in __init__
    self.setup_integration_br()
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/osprofiler/profiler.py", line 154, in wrapper
    return f(*args, **kwargs)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1004, in setup_integration_br
    self.int_br.setup_default_table()
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/br_int.py", line 43, in setup_default_table
    self.install_normal()
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py", line 160, in install_normal
    (_dp, ofp, _ofpp) = self._get_dp()
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ovs_bridge.py", line 49, in _get_dp
    self._cached_dpid = int(dpid_str, 16)
TypeError: int() can't convert non-string with explicit base

Revision history for this message
Serguei Bezverkhi (sbezverk) wrote :

fb4240eb-1e3b-4442-8a82-aa5fb8adda80
    Bridge br-tnts
        Port br-tnts
            Interface br-tnts
                type: internal
    Bridge br-ex
        Port "eth1"
            Interface "eth1"
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal

Revision history for this message
Serguei Bezverkhi (sbezverk) wrote :

It looks like it is related:

2016-08-20T20:33:01.488Z|00253|ofproto|ERR|failed to open datapath br-int: No such file or directory
2016-08-20T20:33:01.488Z|00254|bridge|ERR|failed to create bridge br-int: No such file or directory
2016-08-20T20:33:01.488Z|00255|dpif|WARN|failed to enumerate system datapaths: No such file or directory
2016-08-20T20:33:01.488Z|00256|dpif|WARN|failed to create datapath ovs-system: No such file or directory
2016-08-20T20:33:01.488Z|00257|ofproto_dpif|ERR|failed to open datapath of type system: No such file or directory
2016-08-20T20:33:01.488Z|00258|ofproto|ERR|failed to open datapath br-tnts: No such file or directory
2016-08-20T20:33:01.488Z|00259|bridge|ERR|failed to create bridge br-tnts: No such file or directory
2016-08-20T20:33:01.493Z|00260|dpif|WARN|failed to enumerate system datapaths: No such file or directory
2016-08-20T20:33:01.493Z|00261|dpif|WARN|failed to create datapath ovs-system: No such file or directory
2016-08-20T20:33:01.493Z|00262|ofproto_dpif|ERR|failed to open datapath of type system: No such file or directory
2016-08-20T20:33:01.493Z|00263|ofproto|ERR|failed to open datapath br-ex: No such file or directory
2016-08-20T20:33:01.494Z|00264|bridge|ERR|failed to create bridge br-ex: No such file or directory
2016-08-20T20:33:01.494Z|00265|dpif|WARN|failed to enumerate system datapaths: No such file or directory
2016-08-20T20:33:01.494Z|00266|dpif|WARN|failed to create datapath ovs-system: No such file or directory
2016-08-20T20:33:01.494Z|00267|ofproto_dpif|ERR|failed to open datapath of type system: No such file or directory
2016-08-20T20:33:01.494Z|00268|ofproto|ERR|failed to open datapath br-int: No such file or directory
2016-08-20T20:33:01.494Z|00269|bridge|ERR|failed to create bridge br-int: No such file or directory
2016-08-20T20:33:01.494Z|00270|dpif|WARN|failed to enumerate system datapaths: No such file or directory
2016-08-20T20:33:01.494Z|00271|dpif|WARN|failed to create datapath ovs-system: No such file or directory

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

Without steps to repro, we are unable to confirm this. Please follow bug report submission guidelines:

http://docs.openstack.org/developer/neutron/policies/bugs.html

Changed in neutron:
status: New → Incomplete
Revision history for this message
Serguei Bezverkhi (sbezverk) wrote :

The repro is very easy, you need to unload openvswitch module and it will break ovs datapath.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
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.