This bug also hit us in MAAS version: 2.4.2 (7034-g2f5deb8b8-0ubuntu1).
After upgrading to MAAS version: 2.6.2 (7841-ga10625be3-0ubuntu1~18.04.1) I can still reproduce it in a slightly different scenario. In this scenario the update of dnsresource fails:
This bug also hit us in MAAS version: 2.4.2 (7034-g2f5deb8b 8-0ubuntu1) . 3-0ubuntu1~ 18.04.1) I can still reproduce it in a slightly different scenario. In this scenario the update of dnsresource fails:
After upgrading to MAAS version: 2.6.2 (7841-ga10625be
$ maas admin domain read 12 ive": true, record_ count": 0, api/2.0/ domains/ 12/"
Success.
Machine-readable output follows:
{
"authoritat
"ttl": null,
"is_default": false,
"id": 12,
"resource_
"name": "c",
"resource_uri": "/MAAS/
}
$ maas admin dnsresources create name="a.b" domain="c" ip_addresses= "1.2.3. 4" records" : [],
"created" : "2020-03- 13T17:16: 17.007" ,
"alloc_ type": 4,
"subnet" : null,
"interface _set": [],
"alloc_ type_name" : "User reserved",
"owner" : {
"is_superuser ": true,
"username" : "admin",
"email" : "****@telekom.hu",
"is_local" : true,
"resource_ uri": "/MAAS/ api/2.0/ users/admin/ "
"resource_ uri": "/MAAS/ api/2.0/ ipaddresses/ " api/2.0/ dnsresources/ 68/"
Success.
Machine-readable output follows:
{
"address_ttl": null,
"resource_
"ip_addresses": [
{
"ip": "1.2.3.4",
},
}
],
"fqdn": "a.b.c",
"id": 68,
"resource_uri": "/MAAS/
}
$ maas admin domain read 12 ive": true, record_ count": 1, api/2.0/ domains/ 12/"
Success.
Machine-readable output follows:
{
"authoritat
"ttl": null,
"is_default": false,
"id": 12,
"resource_
"name": "c",
"resource_uri": "/MAAS/
}
$ maas admin dnsresource update 68
{"__all__": ["Invalid dnsresource name: a.b."]}
Update of dnsresource fails, although I change nothing! 3-0ubuntu1~ 18.04.1)
Observed this in MAAS version: 2.6.2 (7841-ga10625be
In fact, deleting the dnsresource succeeds:
$ maas admin dnsresource delete 68
Success.
Machine-readable output follows:
$ maas admin domain read 12 ive": true, record_ count": 0, api/2.0/ domains/ 12/"
Success.
Machine-readable output follows:
{
"authoritat
"ttl": null,
"name": "c",
"is_default": false,
"id": 12,
"resource_
"resource_uri": "/MAAS/
}
Should I open a new bug for the faiing dnsresource update or can you cover it here?