Need help setting up neutron networking
So, here's the goal. A 10 node cluster, each node will have a physical IP on 10.5.0.0/23. The virtual machines should receive private IPs of 10.50.0.0/16. Then I'll want a floating IP pool of 10.5.8.0/21.
I had this working (mostly) in Essex with nova, but I'm having a really difficult time translating this to Juno neutron. I feel like I'm setting up the networks properly, but the DHCP is not giving out private IPs to the instances, and floating IPs never get assigned to a virtual interface on the host (but are assigned in the dashboard), and so the virtual machines are not accessible from the outside.
I've been installing using packstack --allinone and setting up my interface using the instructions for "Neutron with existing external network". I've also removed the default networking info that packstack installs that's not valid in my network (as referenced by this question in these forums: https://ask.openstack.org/en/question... ). Below are the commands I've used to install the instance and create the networking. I'm completely stumped here, I don't understand why this isn't working. There are no errors in dhcp-agent.log, or in server.log.
Install
packstack --allinone --provision-all-in-one-ovs-bridge=n
vi /etc/sysconfig/network-scripts/ifcfg-br-ex
vi /etc/sysconfig/network-scripts/ifcfg-eth0
vi /etc/neutron/plugin
vi /etc/neutron/plugin.ini
service network restart
Delete default networking
source ~/keystonerc_admin
neutron router-gateway-clear router1
neutron subnet-delete public_subnet
neutron net-delete public
neutron router-interface-delete router1 private_subnet
neutron subnet-delete private_subnet
neutron net-delete private
neutron router-delete router1
Create private net
neutron router-create router1
neutron net-create private
neutron subnet-create --name private_subnet private 10.50.0.0/16 --allocation-pool start=10.50.0.11,end=10.50.254.254
neutron net-create private
neutron router-interface-add router1 private_subnet
Create public/floating net
neutron net-create public --router:external=True
neutron subnet-create public 10.5.8.0/21 --name public_subnet --enable_dhcp=False --allocation-pool start=10.5.8.11,end=10.5.15.254 --gateway=10.5.8.1
neutron router-gateway-set router1 public
Interface info
br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.5.0.20 netmask 255.255.254.0 broadcast 10.5.1.255
inet6 fe80::862b:2bff:fe78:316c prefixlen 64 scopeid 0x20<link>
ether 84:2b:2b:78:31:6c txqueuelen 0 (Ethernet)
RX packets 213075 bytes 355561184 (339.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 169728 bytes 26477107 (25.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br-int: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 86:61:3a:5a:a8:4a txqueuelen 0 (Ethernet)
RX packets 506 bytes 85706 (83.6 KiB)
RX errors 0 dropped 15 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br-tun: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 62:d4:03:21:b2:4f txqueuelen ...
Please, post
ls -l /etc/neutron
&& /etc/neutron/plugins/ml2/ml2_conf.ini as update 1 to your questionPlease , post
Ok, I updated the question with those updates, thanks in advance.
Creating private subnet you skipped DNS Server.
Maybe I skipped it and then added one in the dashboard, but I think there is an agent for that net:
Is that what you're looking for? Also shows up in the agent list