r/openstack • u/DFantarina • 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
View all comments
Show parent comment
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.