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.
The root cause seems to be a problem in gathering hardware ressources from controller node, which is maybe architecture related (arm64). The problem also occurs without vlan setup. After fresh install controller shows no network interfaces/vlans. Restarting maas fixes this, but mac address of eth0 is 00:00:00:00:00:00, which is obviously wrong. Trying to enlist a node crashes network config again. regiond.log:
maasserver.region_controller: [info] Reloaded DNS configuration:
* ip 10.11.12.1 disconnected from maas-controller on eth0
Further down in section networks the correct mac address is reported (for eth0 as well as vlan interfaces).
By replacing the binary “…/machine-resources/arm64” with a simple wrapper script, which replaces the wrong mac address with the correct one on the fly, maas works again as expected.
So it’s not a bug in maas, but maybe maas could handle this situation better