On Tue, Oct 17, 2023, at 10:25 AM, John van Ommen wrote:
Is there an OpenStack installer that offers the option of using tagged VLANs during the installation?
I'm building an OpenStack environment that uses redundant hardware, but I have limited space for switches. The idea that I had was to use tagged VLANs for the external network. But all of the installers that I've seen, they only work if each physical port on the server corresponds to a network. IE, one of my physical ports on my server needs to be connected to a management switch, another port needs to be connected to the switch for the external network, etc.
I'd like to reduce the physical footprint of the switches, by using a single switch with tagged VLAN:
1) one VLAN for the management network
2) one tagged VLAN for the external network
3) etc
Taken to the extreme, it seems like it might be possible to use as few as one or two physical ports for all of the OpenStack networks.
Is this possible, and if so, which OpenStack distribution offers this?
It has been a while since we did it, but once upon a time we were limited to a single switch port per OpenStack node. The way we dealt with that was to pre provision virtual interfaces on the host and then point our installer at the virtual interfaces rather than physical interfaces. It looked something like several tagged vlans on the physical port, then a linux bridge or ovs switch (I don't recall which one but suspect linux bridges), then virtual interfaces for each of the networks hanging off of the virtual bridge/switch. It may not be the most performant setup as I think you'll lose a bunch of offloading functionality, but it did work for us at the time. I would expect it to still work today; you'll just need to sort out the details of building your virtual networks on each host. Clark