During enlisting a new node my maas controller drops its vlan interfaces (in maas, not in system):
from regiond.log:
2023-03-14 12:10:03 maasserver.models.signals.interfaces: [info] xx-mgm (vlan) on maas-controller has been deleted; orphaned by eth0 (physical) on maas-controller.
2023-03-14 12:10:03 maasserver.models.signals.interfaces: [info] xx-pxe (vlan) on maas-controller has been deleted; orphaned by eth0 (physical) on maas-controller.
This results in removing subnet entries from zone.maas-internal.
And this results in failed commissioning:
cloud-init[]: request to http://10-11-12-0--24.maas-internal:5248/MAAS/metadata/2012-03-01/ failed. (…) Name or service not known
Controller has one physical network interface with 2 tagged vlans.
The problem occurs in maas 3.2 - 3.4 (snap). (other versions not tested)
A reboot of the controller fixes missing interfaces/vlans in maas.
Controller netplan:
network:
version: 2
renderer: networkd
ethernets:
eth0: {}
vlans:
xx-pxe:
id: 8
link: eth0
addresses: [10.11.12.1/24]
xx-mgm:
id: 9
link: eth0
addresses: [10.11.13.251/24]
routes:
- to: default
via: 10.11.13.254
nameservers:
addresses: [1.1.1.1]
Also tried assigning a dummy ip to physical eth0 without avail.
Why maas thinks my vlans are orphaned? Any ideas?