I’m trying to use MAAS+JUJU to deploy kubernetes into KVM. My host is running on ubuntu 20.04 and I’m basing my config off of https://technology.amis.nl/platform/kubernetes/charmed-kubernetes-on-kvm-using-maas-and-juju/. I want my KVM to share the IP space of my lab network (192.168.2.0/24). I created a bridge interface with the following config:
network:
ethernets:
enp4s0:
dhcp4: false
dhcp6: false
bridges:
br0:
interfaces: [ enp4s0 ]
addresses: [192.168.2.114/24]
gateway4: 192.168.2.1
mtu: 1500
nameservers:
addresses: [192.168.2.25]
parameters:
stp: true
forward-delay: 0
dhcp4: no
dhcp6: no
version: 2
Launching a VM manually results in an IP that can reach the rest of the network and can be reached by the rest of the network. I next deployed MAAS and added KVM. I also enabled DHCP on my default subnet. When I create a VM with PXE enabled, the boot process starts, but eventually fails and reboots. When I try to compose a VM from MAAS I get:
Pod unable to compose machine: Please add a 'default' or 'maas' network whose bridge is on a MAAS DHCP enabled VLAN. Ensure that libvirt DHCP is not enabled.
any ideas?