MAAS netplan config uses deprecated items
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Low
|
Unassigned |
Bug Description
I made some manual changes to the netplan config created by MAAS to set up a new network device that MAAS does not yet recognize... when I ran 'netplan apply', I got these warnings:
ubuntu@buzzar:~$ sudo netplan apply
** (generate:8213): WARNING **: 22:06:28.021: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:8211): WARNING **: 22:06:28.348: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
one of the four entries has a gateway configured using `gateway4`:
ubuntu@buzzar:~$ grep gateway /etc/netplan/
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
According to https:/ /bugs.launchpad .net/netplan/ +bug/1756590 it is indeed seems to be deprecated.
We generate netplan config in src/maasserver/ preseed_ network. py and we need to update it so it is using new syntax.
It is mentioned that
> if somebody uses the (now deprecated) gateway4/6 fields it will still work, but print a warning.
So I would assume it is not critical, but for sure needs to be handled until it becomes unsupported.