netplan apply fails if NIC alias exists

Bug #1810043 reported by Don Thornton Jr. on 2018-12-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

# netplan apply
Traceback (most recent call last):
  File "/usr/sbin/netplan", line 23, in <module>
  File "/usr/share/netplan/netplan/cli/", line 50, in main
  File "/usr/share/netplan/netplan/cli/", line 130, in run_command
  File "/usr/share/netplan/netplan/cli/commands/", line 43, in run
  File "/usr/share/netplan/netplan/cli/", line 130, in run_command
  File "/usr/share/netplan/netplan/cli/commands/", line 93, in command_apply
  File "/usr/lib/python3.6/", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/eth0:0']' returned non-zero exit status 4.

more specifically... if there is a label set for alias as in:

ifconfig eth0:0

 -- or --

ip addr add dev eth0 label eth0:0

Ryan Harper (raharper) on 2019-01-07
Changed in netplan:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers