I’m trying to configure a subnet for DHCP and no matter what I do, the subnet never thinks it is associated with a rack controller. What I mean by that is this:
➜ ~ sudo /snap/bin/maas potato vlan update 5 untagged dhcp_on=True primary_rack=lst-maas -k
Success.
Machine-readable output follows:
{
"vid": 0,
"mtu": 1500,
"dhcp_on": true,
"external_dhcp": null,
"relay_vlan": null,
"fabric_id": 5,
"secondary_rack": null,
"space": "undefined",
"name": "untagged",
"fabric": "k8s-fabric",
"primary_rack": "eysnfp",
"id": 7,
"resource_uri": "/MAAS/api/2.0/vlans/7/"
}
As you can see, it says success. If I go to the vlan, rack controller has a value and status says enabled. But If I go to the subnet and try to map subnet I get:
So I’m just stumped what I’m doing wrong. This is a single host deployment, on a VM that does not exist in the same subnet as what I’m trying to serve up. Is that the issue here?