r/openstack • • Nov 08 '19

Openstack deploy via kolla-ansible with vlan trunking

Hello,

I am not sure if its a bug but I would need a help regarding that issue:

Networking setup - http://prntscr.com/pu04va Ubuntu netplan - http://prntscr.com/pu054k

2 fibre physical interfaces are bonded into bond0 and divided into 3 different vlans.

bond.10, bond.20, bond.30;

Then according to these 2 http://paste.openstack.org/show/785908/ and http://paste.openstack.org/show/785909/ ; I did the same and assigned network_interface to bond.10 and neutron_external_interface to bond0. After deployment, I create private vxlan network, external vlan:physnet1:id10 192.168.10.0/24 network, add them both to the router, create vm, associate ip address and I cannot access either vm or router when I am pinging it. Security groups are fine.

Any ideas what can be wrong? Maybe I did not create external network correctly. I assume, we might need one more bonded interface (bond1) without ip address assigned but then would you be able to explain why is that please.

Thank you

7 Upvotes

5 comments sorted by

2

u/[deleted] Dec 17 '19

Your ovs will never see vlan10, because bond0.10 is grabing all packets before they could reach ovs, so your routers and instances will never see any packages.

2

u/ntamosk Dec 12 '21 edited Dec 15 '21

Did anyone succeed on this?

1

u/usertm Nov 09 '19

I'm not sure how kolla-ansible sets things up, but have you tried to follow the packet path with tcpdump?

Can you ping between VMs when they're on the same host?

Starting from vnet* and all the way from there.

1

u/Practical_Ad_1856 May 23 '24

Did you get it to work in the end?

1

u/mab581 Aug 15 '24

Hey, I know this was a really long time ago but what was in your network-interfaces to get multiple VLANs on bonds? I am having trouble with that part.