enable bridge command for openvswitch agent

Bug #1730407 reported by edan david
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
edan david

Bug Description

Neutron's openvswitch agent has an extension called "fdb" that uses linux "bridge" command.
currently, this command is not enabled for ovs agent by the wrootwrap filter.

This is required to enable fdb extension, otherwise, we will encounter an unhandled exception:

Initializing agent extension 'fdb'
2017-10-02 17:47:50.942 51765 INFO oslo_rootwrap.client [req-53d535f1-4622-4550-ae0e-f0b0fe238520 - - - - -] Spawned new rootwrap daemon process with pid=51824
2017-10-02 17:47:50.948 51765 ERROR neutron.agent.linux.utils [req-53d535f1-4622-4550-ae0e-f0b0fe238520 - - - - -] Rootwrap error running command: ['bridge', 'fdb', 'show', 'dev', 'ens6f0']
2017-10-02 17:47:50.949 51765 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ovs_ryuapp [req-53d535f1-4622-4550-ae0e-f0b0fe238520 - - - - -] Agent main thread died of an exception

Changed in neutron:
assignee: nobody → edan david (edand)
status: New → In Progress
tags: added: ovs
Changed in neutron:
importance: Undecided → Medium
tags: added: pike-backport-potential
Revision history for this message
Slawek Kaplonski (slaweq) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/517985
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c6d8ccb640b2c724c575c640ea044a5d3c711e2e
Submitter: Zuul
Branch: master

commit c6d8ccb640b2c724c575c640ea044a5d3c711e2e
Author: Edan David <email address hidden>
Date: Mon Nov 6 08:20:52 2017 -0500

    Enable bridge command for openvswitch agent

    Allow ovs agent to run bridge command.
    This is necessary because FDB extension uses bridge to update the FDB table.

    Closes-Bug: #1730407

    Change-Id: I0897f1efcf36fc7f6f06e80c3b29c0e1fa14b141

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/518713

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/pike)

Reviewed: https://review.openstack.org/518713
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0c3d3c48a73f97cb5924a5fbfce9726a7097ae2e
Submitter: Zuul
Branch: stable/pike

commit 0c3d3c48a73f97cb5924a5fbfce9726a7097ae2e
Author: Edan David <email address hidden>
Date: Mon Nov 6 08:20:52 2017 -0500

    Enable bridge command for openvswitch agent

    Allow ovs agent to run bridge command.
    This is necessary because FDB extension uses bridge to update the FDB table.

    Closes-Bug: #1730407

    Change-Id: I0897f1efcf36fc7f6f06e80c3b29c0e1fa14b141
    (cherry picked from commit c6d8ccb640b2c724c575c640ea044a5d3c711e2e)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.2

This issue was fixed in the openstack/neutron 11.0.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 12.0.0.0b2

This issue was fixed in the openstack/neutron 12.0.0.0b2 development milestone.

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.