[RFE] Container driver uses deprecated brctl commands

Bug #1877410 reported by Goutham Pacha Ravi
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Felipe Rodrigues

Bug Description

"brctl" has been deprecated in some Linux distros (CentOS/RHEL [1], Fedora, Ubuntu..). The package that contains it, bridge-utils is deprecated in favor of the bridge command in iproute2 [2]

Several OpenStack projects have already moved away from it [3]

We should replace the use of brctl in the Container driver with iproute2 commands or
the pyroute2 library where possible.

[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/deprecated_functionality
[2] https://lwn.net/Articles/703776/
[3] https://bugs.launchpad.net/neutron/+bug/1801919

Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

When this bug is fixed, we've to get rid of the workaround committed to resolve https://bugs.launchpad.net/manila/+bug/1876820

Changed in manila:
importance: Undecided → Low
milestone: none → victoria-1
assignee: nobody → Goutham Pacha Ravi (gouthamr)
Changed in manila:
milestone: victoria-1 → victoria-2
Changed in manila:
milestone: victoria-2 → victoria-3
Changed in manila:
milestone: victoria-3 → wallaby-rc1
Vida Haririan (vhariria)
Changed in manila:
assignee: Goutham Pacha Ravi (gouthamr) → Felipe Rodrigues (felipefutty)
Changed in manila:
milestone: wallaby-rc1 → xena-1
Changed in manila:
milestone: xena-1 → xena-2
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Felipe, we're closing on xena-RC1 soon.

i'm moving this bug to Yoga-1; please let me know if that timeline is inaccurate.

Changed in manila:
milestone: xena-2 → yoga-1
Changed in manila:
milestone: yoga-1 → yoga-2
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :
Changed in manila:
milestone: yoga-2 → yoga-3
Changed in manila:
milestone: yoga-3 → yoga-rc1
Changed in manila:
milestone: yoga-rc1 → zed-1
Changed in manila:
milestone: zed-1 → zed-2
Changed in manila:
milestone: zed-2 → zed-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/852006

Changed in manila:
status: New → In Progress
Changed in manila:
milestone: zed-3 → zed-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/852006
Committed: https://opendev.org/openstack/manila/commit/7ecc990686ed2d469be5abe78277414c357fd6dc
Submitter: "Zuul (22348)"
Branch: master

commit 7ecc990686ed2d469be5abe78277414c357fd6dc
Author: Felipe Rodrigues <email address hidden>
Date: Thu Aug 4 23:01:50 2022 -0300

    Change to use iproute2 instead of brctl

    brctl is being deprecated in some Linux distros, so
    change container driver to start using iproute2 commands.

    Closes-bug: #1877410
    Change-Id: If679e79fa3242ee1cd8610b5525deca35b41c87e

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila

This issue was fixed in the openstack/manila release candidate.

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.