Bug with netplan

The bug mentioned here still exists!!!

Operating system: Ubuntu
OS version: 20.4

Asked and answered.

1 Like

the bug still exists anyway and is a serious one

It is a different bug. That specific bug has been fixed (as noted in the Webmin github ticket linked). We need to see the relevant config files before and after (just don’t reboot after installation and config check, and post the relevant configs…be sure to fix whatever the problem is before rebooting).

You mean its different because is Ubuntu 20.4?

netplan config before virtualmin installation:

network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s31f6:
      addresses:
        - 138.201.28.9/32
        - 2a01:4f8:171:2f88::2/64
      routes:
        - on-link: true
          to: 0.0.0.0/0
          via: 138.201.28.1
      gateway6: fe80::1
      nameservers:
        addresses:
          - 213.133.98.98
          - 213.133.100.100
          - 213.133.99.99
          - 2a01:4f8:0:1::add:9898
          - 2a01:4f8:0:1::add:1010
          - 2a01:4f8:0:1::add:9999

01-netcfg.yaml-copy (END)

netplan config after virtualmin installation:

network:
  version: 2
  renderer: networkd
  ethernets:
        enp0s31f6:
            addresses: ['138.201.28.9/32']
            gateway6: fe80::1
            nameservers:
                addresses: [127.0.0.1, 213.133.98.98, 213.133.100.100, 213.133.99.99, HASH(0x561925d28f98), HASH(0x561925d28250), HASH(0x561925d277c8)]
            routes:
              - on-link: true
                to: 0.0.0.0/0
                via: 138.201.28.1

No, I mean it’s different because Jamie said he fixed the bug that caused that particular problem. Just because it is a netplan config parser/generator issue does not mean it is the same netplan issue.

@Jamie looks like two problems here. Lost ipv6 address in the addresses section and got a bunch of hashes that didn’t get derefed properly in the nameservers section (again, the ipv6 addresses).

Looks like those are the same problem - IPv6 nameservers aren’t being saved properly. I’ll take a look…

1 Like

Ok, I see the cause of this - it will be fixed in the next Webmin release.

2 Likes

I was building a new Ubuntu 20.04 server on Leaseweb at the beginning of the month that had a netplan.yml config error after Webmin and Virtualmin were installed. Totally knocked the system access offline. They had to go in and reconfigure.
From the ticket:
“I have found your issue, as I suspected, it looks like you edited the netplan yml and upon running “netplan apply” it spat out the issue - the tabbing of the secondary interface was incorrect. I have correct this, applied netplan, and the server responds to ping as well and being able to ping out to the internet.”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.