r/openstack • • Jul 23 '24

Route to instance kolla-ansible

Hello i set up (very painfully) a 2 node cluster with kolla-ansible.

I can deploy some instances and have a shared storage on an nfs (not on point yet but it's somehow viable)

Now come the network part... With a single node devstack you could connect to your instances via br-ex ( which got an address ip).

Is it the same for kolla-ansible? i've got a br-ex interface too but it is down (my instances can't access the net too), i can't ping floating ip (because there is no routes i guess).

I don't want to assign ip from my network btw, i want my node to masquerade all traffic (used to do it with devstack) I would like to have some pointers.

For what it's worth the neutron internal interface is eno3 btw and i my server connect to the internet with eno1. Thanks

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/DFantarina Jul 23 '24

I want it to be like devstack. We are on a 10.90.0.0/20 network and devstack give some default 172.24.x.x/24. I could somehow add a route via an interface named br-ex (ip address 172.24.0.1) created by default by the devstack installer. I want to be in charge of NATing by adding an iptables rules but i also want to have the option where i can enable snat on my virtual router.

But what i need the most now is a route from my server to my instances. Kolla created a br-ex but it is down and without an IP adresss i don't know if i should go through this interface or eno3

2

u/TheTomCorp Jul 24 '24

Kolla-ansible expects 2 nics 1 for internal and 1 for external. The internal is the hosts network, should have an ip address on the network. The external one (eth1 for example) is added to a bridge (br-ex), but none of that matters because for whatever reason it's referred to as physnet1 by openstack networking.

If you look at the docs https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html

You can do the init-runonce all the way at the bottom of that page to create your public network, and private network with a router. Take a look at the code in init-runonce you should get a better understanding of how it works behind the scenes. Unfortunately the documentation isn't great, but I guess that's what we're here for.

1

u/DFantarina Jul 24 '24

Okay, setting up br-ex and assigning an ip address did the trick, it was down for whatever reason.

Openstack really need some serious doc and dedicated official forums tho, god forbid you have a slightly different material than the docs everything get 1000x harder.

Time to fix my volume issues.

Thanks a lot

1

u/DFantarina Jul 26 '24

Hello I'm back the br-ex on both server looks like they are not bridged.
We can't communicate with each other via br-ex, is there a workaround?