Interface link-subnet fails saying "subnet": "None found", however the subnet exists
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MAAS | Status tracked in 3.6 | |||||
3.3 |
Won't Fix
|
Low
|
Unassigned | |||
3.4 |
Won't Fix
|
Low
|
Unassigned | |||
3.5 |
Won't Fix
|
Low
|
Unassigned | |||
3.6 |
Triaged
|
Low
|
Unassigned |
Bug Description
2020-08-26-21:37:06 root ERROR [localhost] Command failed: maas root interface link-subnet 64fxmx 57 subnet=1 mode=auto default_
2020-08-26-21:37:06 root ERROR [localhost] STDOUT follows:
{"subnet": ["None found with id=1.", "This field is required."], "default_gateway": ["Subnet is required when default_gateway is True."]}
However, this subnet ID is valid and exists:
$ maas root subnet read 1
Success.
Machine-readable output follows:
{
"name": "oam",
"description": "",
"vlan": {
"vid": 2101,
"mtu": 1500,
"dhcp_on": true,
"id": 5001,
"name": "untagged",
"space": "oam-space",
"fabric": "default",
},
"cidr": "10.21.1.0/24",
"rdns_mode": 2,
"gateway_ip": "10.21.1.254",
"dns_servers": [],
"allow_dns": true,
"allow_proxy": true,
"active_
"managed": true,
"id": 1,
"space": "oam-space",
"resource_uri": "/MAAS/
}
$ maas root interface read 64fxmx 57 | pastebinit
http://
$ maas root fabrics read | pastebinit
http://
$ maas root subnets read | pastebinit
http://
$ maas root machine read 64fxmx
https:/
$ dpkg -l | grep maas
ii maas-cli 2.8.1-8567-
ii maas-common 2.8.1-8567-
ii maas-dhcp 2.8.1-8567-
ii maas-proxy 2.8.1-8567-
ii maas-rack-
ii maas-region-api 2.8.1-8567-
ii maas-region-
ii python3-django-maas 2.8.1-8567-
ii python3-libmaas 0.6.1-6-
ii python3-maas-client 2.8.1-8567-
ii python3-
Any suggestions what could be wrong will be very appreciated.
Changed in maas: | |
milestone: | 3.3.0 → 3.4.0 |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
Changed in maas: | |
milestone: | 3.4.x → 3.5.x |
no longer affects: | maas/3.3 |
Subscribing field-high as this is currently delaying ongoing customer delivery.