-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Using the management network interface as Neutron External can result in losing external connectivity" #131
Comments
Hi @MrLinks75, Foremost, thanks for using this project and most important, for reporting this issue. More likely, I need to improve the documentation. The idea to consume the If you installed Vagrant (my preference), you can try the different setups running In order to specify the secondary NIC in a bare metal deployment and avoid that error, you can use the curl -fsSL https://raw.githubusercontent.com/electrocucaracha/openstack-multinode/master/install.sh | OS_KOLLA_NETWORK_INTERFACE=eno1 OS_KOLLA_NEUTRON_EXTERNAL_INTERFACE=enp23s0 bash |
Hi @electrocucaracha, I'm interested in the project for my PhD project in cybersecurity to deploy security tools such as SIEMs or UEBAs with machine-learning capabilities for monitoring NB-IoT in "production"-like environment. I'm currently investigating multiple methods of deployment for an entire Openstack environment and your method is extremely interesting and faster than a manual deployment. I indeed did as you recommended and used directly the vagrant file within the The deployment went without a problem. If a need to re-deploy everything arises I will try to do it through the install.sh since I'm working on bare metal. However, I was wondering if it was possible to apply routing rules directly through the vagrant file? I've encountered a networking issue in the past (specifically instances not being able to ping or access external networks / internet) on manual but also automated deployments Could commands such as : sudo ifconfig br-ex $EXT_NET_GATEWAY netmask 255.255.255.0 up
sudo iptables -t nat -D POSTROUTING -s $EXT_NET_CIDR -o enp23s0 -j MASQUERADE
sudo iptables -D FORWARD -o enp23s0 -i br-ex -j ACCEPT
sudo iptables -D FORWARD -i enp23s0 -o br-ex -j ACCEPT Be doable out of curiosity? Regards, MrLinks |
All depends, if those instructions have to run on the host machine, they need to be adapted to Vagrant like these ones, but if they have to run as part of the provisioning method, there are multiple places to place them: |
Excellent, thanks a lot for the valuable help ! Thanks again, and great project, I'll close the issue as resolved. |
Hi,
Hope you're doing well.
I've tried to run the
install.sh
for the All-in-one configuration using the command :curl -fsSL https://raw.githubusercontent.com/electrocucaracha/openstack-multinode/master/install.sh | OS_KOLLA_NETWORK_INTERFACE=eno1 bash
and getting the error
ERROR: Using the management network interface as Neutron External can result in losing external connectivity
After checking, the script gets
mgmt_nic
fromip route get 8.8.8.8 | grep "^8." | awk '{ print $5 }'
which indeed is eno1.Vagrant has been installed using the vagrant setup provided in https://bit.ly/initVagrant
Here are my current NICs :
eno1 being the NIC directly attached to my gateway.
enp23s0 being a secondary NIC that was used in a previous manual kolla-ansible deployment to be used by Neutron for networking so it remained IPless. (It has been enabled here for testing purposes).
Should I just force enp23s0 to be the default management NIC as hard coded value?
A bit confused here,
Thanks in advance !
The text was updated successfully, but these errors were encountered: