'NetplanApply' object has no attribute 'state'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
No matter the netplan configuration, it always fails with 'NetplanApply' object has no attribute 'state'.
###
network:
version: 2
ethernets:
eth0:
- 2a01:5f9:
dhcp4: true
match:
# netplan try
Warning: Stopping systemd-
systemd-
An error occurred: 'NetplanApply' object has no attribute 'state'
Reverting.
Warning: Stopping systemd-
systemd-
### Installed packages
libnetplan0/
netplan.
### No such problem on another machine with:
libnetplan0/
netplan.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
I can reproduce it on any machine just after upgrading from
### 0.103-0ubuntu5~ 20.04.1 amd64 io/0.103- 0ubuntu5~ 20.04.1 amd64
libnetplan0/
netplan.
to
### 0.103-0ubuntu5~ 20.04.2 amd64 io/0.103- 0ubuntu5~ 20.04.2 amd64
libnetplan0/
netplan.
Without any configuration changes; just 'apt upgrade' and run 'netplan try' afterwards.