Enabling kernel bridge firewall fails in a container

Bug #1662194 reported by Denis Buliga
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Denis Buliga

Bug Description

When devstack is being run inside a container it tries to automatically enable the kernel net bridge and it fails to do so while calling modprobe.

https://github.com/openstack-dev/devstack/blob/master/functions#L668-L682

Denis Buliga (dbuliga)
description: updated
Denis Buliga (dbuliga)
summary: - Enabling kernel bridge firewall fails
+ Enabling kernel bridge firewall fails in a container
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/429744

Changed in devstack:
assignee: nobody → Denis Buliga (dbuliga)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/429744
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=0bf75a471ecce8c05718644e7e070b4d5a8657d6
Submitter: Jenkins
Branch: master

commit 0bf75a471ecce8c05718644e7e070b4d5a8657d6
Author: Denis Buliga <email address hidden>
Date: Mon Feb 6 16:56:46 2017 +0200

    Skips enabling kernel bridge firewall in container

    Calling enable_kernel_bridge_firewall inside a
    container, devstack will crash because it tries to
    load a kernel module by calling 'sudo modprobe' on
    net.bridge.

    Change-Id: Id4718c065d5a8c507d49f38e19c2796a64221aa4
    Closes-Bug: #1662194

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

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/441239

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/441868

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

Reviewed: https://review.openstack.org/441239
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=28b034fc958f4c30b78d5cb578efcb139dce7db2
Submitter: Jenkins
Branch: stable/ocata

commit 28b034fc958f4c30b78d5cb578efcb139dce7db2
Author: Denis Buliga <email address hidden>
Date: Mon Feb 6 16:56:46 2017 +0200

    Skips enabling kernel bridge firewall in container

    Calling enable_kernel_bridge_firewall inside a
    container, devstack will crash because it tries to
    load a kernel module by calling 'sudo modprobe' on
    net.bridge.

    Change-Id: Id4718c065d5a8c507d49f38e19c2796a64221aa4
    Closes-Bug: #1662194
    (cherry picked from commit 0bf75a471ecce8c05718644e7e070b4d5a8657d6)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/newton)

Reviewed: https://review.openstack.org/441868
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=043141302cd9de8103aa632356acbe02c0f6e42f
Submitter: Jenkins
Branch: stable/newton

commit 043141302cd9de8103aa632356acbe02c0f6e42f
Author: Denis Buliga <email address hidden>
Date: Mon Feb 6 16:56:46 2017 +0200

    Skips enabling kernel bridge firewall in container

    Calling enable_kernel_bridge_firewall inside a
    container, devstack will crash because it tries to
    load a kernel module by calling 'sudo modprobe' on
    net.bridge.

    Change-Id: Id4718c065d5a8c507d49f38e19c2796a64221aa4
    Closes-Bug: #1662194
    (cherry picked from commit 0bf75a471ecce8c05718644e7e070b4d5a8657d6)

tags: added: in-stable-newton
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.