DevStack Homelab Network Configuration
Hello,
I have a single host that I'd like to run DevStack on.
OS: 18.04.3 LTS (Bionic Beaver)
Kernel: Linux OpenStack 5.0.0-29-generic #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
CPU: AMD Ryzen 7 1800X Eight-Core Processor
RAM: 16GB
Disk: /dev/mapper/ubuntu--vg-ubuntu--lv 916G 19G 860G 3% /
NIC: enp35s0, Intel Corporation I211 Gigabit Network Connection (rev 03)
https://docs.openstack.org/devstack/latest/guides/single-machine.html (I followed this doc). The installer runs, and I'm able to spin up VMs! This seems to create two networks "Public" and "Shared" (I do not seem to be able to assign a floating IP when a VM is attached to the shared network, that seems intentional?).
However, these are not reachable from outside of the host machine.
I set the following in my local.conf
before running stack.sh
FLOATING_RANGE=192.168.0.128/26
FIXED_RANGE=10.11.12.0/24
HOST_IP=192.168.0.15
After creating DevStack, I created a few networks, subnets, and routers. Then for troubleshooting purposes I created an "allow all" to allow all TCP, UDP, and ICMP traffic. https://gitlab.com/qbrd-homelab/terraform/openstack/infrastructure (Terraform that I used to do so can be found here). https://gist.github.com/qubitrenegade/3fc1e9c3df595540ce3b2b42c97bbfc2 (I created a gist) of the out put from network, router, and port opentstack
commands.
I'm doing this on my home network I created a https://i.imgur.com/K2teP5l.png (rough drawing) to illustrate what I have going on.
Home Subnet: 192.168.0.0/24
DHCP Range: 192.168.0.96-127
DHCP/DNS Server: 192.168.0.2
Host1: DevStack
IP: 192.168.0.15
VM1: Guest on DevStack
Network: prod01-network
IP: 192.168.100.30
Floating IP: 192.168.0.186
VM2: Guest on another host, all results are replicable from laptop and workstation (which is the host of VM2)
IP: 192.168.0.72
I am able to ping/ssh to the VM1 guest from Host1. I cannot ping/ssh from VM2 (external to DevStack) to VM1 (DevStack guest). I _can_ ping/ssh from VM1 (DevStack Guest) to VM2 (external to DevStack)
I performed the following connectivity tests:
Host1 -> VM1 Floating IP - 192.168.0.186, yes
Host1 -> Floating IP G/W -192.168.0.129, yes
Host1 -> VM1 IP - 192.168.100.30, negative
Host1 -> VM1 Gateway - 192.168.100.1, negative
VM2 -> ping VM1 Floating IP - 192.168.0.186, negative
VM2 -> ssh VM1 FLoating IP - 192.168.0.186, negative
VM2 -> ping Floating IP G/W -192.168.0.129, yes
VM2 -> VM1 IP - 192.168.100.30, negative
VM2 -> VM1 Gateway - 192.168.100.1, negative
VM2 -> curl -L 1.0.0.1, yes
VM2 -> Host1 - 192.168.0.15, yes
VM1 -> ping VM2 - 192.168.0.72, yes
VM1 -> ssh VM2 192.168.0.72, yes
VM1 -> ping 8.8.8.8 -> yes
VM1 -> ping google.com, negative "name ...
Hmm... These docs: https://docs.openstack.org/devstack/latest/configuration.html (https://docs.openstack.org/devstack/l...)
Have different attributes:
Though, I'm not sure that would really have any affect...
But, the FLOATING_RANGEdifferent subnet than host