Issue using bridge_mappings with linuxbridge agent

asked 2017-08-18 04:01:41 -0500

On a Newton setup I want some VMs to access my management network. So, I created a bridge "br-host" and attached the management physical interface to that bridge.

If I create a veth pair, attach one end (patch-mngt-br) to br-host and configure linuxbridge agents to use the other end (patch-mngt-if)

[linux_bridge]
physical_interface_mappings = management:patch-mngt-if

then everything works fine and linux bridges looks like I guess

#brctl show
bridge name      bridge id          STP enabled interfaces
br-host          8000.1866da937bba  no          eno3
                                                patch-mngt-br
brq837c8c52-cb   8000.ea56b95d6ef9  no          patch-mngt-if
                                                tapa0990df5-45

If I don't create this veth pair and configure linuxbridge agents to use already created bridge br-host

[linux_bridge]
bridge_mappings = management:br-host

then the VM is created, I don't have any error message but the VM is not attach to br-host as I guess

#brctl show
bridge name      bridge id          STP enabled interfaces
br-host          8000.1866da937bba  no          eno3
brq837c8c52-cb   8000.fe163e2d8ebe  no          tap48c7cc1f-36

It seems that nova still creates brqxxx and attach the VM to it.

Any idea?

Regards

Vincent

edit retag flag offensive close merge delete