Comment 8 for bug 1729573

Revision history for this message
Dan Streetman (ddstreet) wrote :

Xenial:

ubuntu@ip-172-31-60-65:~$ dpkg -l | grep nplan
ii nplan 0.23~16.04.1 amd64 YAML network configuration abstraction for various backends
ubuntu@ip-172-31-60-65:~$ ip l show eth1
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 12:f6:8a:ee:fc:96 brd ff:ff:ff:ff:ff:ff
ubuntu@ip-172-31-60-65:~$ sudo netplan --debug apply
sudo: unable to resolve host ip-172-31-60-65
** (generate:2495): DEBUG: Processing input file //etc/netplan/10-ifupdown.yaml..
** (generate:2495): DEBUG: starting new processing pass
** (generate:2495): DEBUG: eth0: setting default backend to 1
** (generate:2495): DEBUG: Generating output files..
** (generate:2495): DEBUG: NetworkManager: definition eth0 is not for us (backend 1)
DEBUG:netplan generated networkd configuration exists, restarting networkd
DEBUG:no netplan generated NM configuration exists
DEBUG:device lo operstate is unknown, not replugging
DEBUG:netplan triggering .link rules for lo
DEBUG:device eth0 operstate is up, not replugging
DEBUG:netplan triggering .link rules for eth0
DEBUG:replug eth1: unbinding vif-1 from /sys/bus/xen/drivers/vif
DEBUG:replug eth1: rebinding vif-1 to /sys/bus/xen/drivers/vif
ubuntu@ip-172-31-60-65:~$ ip l show eth1
4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff

ubuntu@ip-172-31-60-65:~$ dpkg -l | grep nplan
ii nplan 0.32~16.04.2 amd64 YAML network configuration abstraction for various backends
ubuntu@ip-172-31-60-65:~$ ip l show eth1
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 12:f6:8a:ee:fc:96 brd ff:ff:ff:ff:ff:ff
ubuntu@ip-172-31-60-65:~$ sudo netplan --debug apply
sudo: unable to resolve host ip-172-31-60-65
** (generate:1980): DEBUG: Processing input file //etc/netplan/10-ifupdown.yaml..
** (generate:1980): DEBUG: starting new processing pass
** (generate:1980): DEBUG: eth0: setting default backend to 1
** (generate:1980): DEBUG: Generating output files..
** (generate:1980): DEBUG: NetworkManager: definition eth0 is not for us (backend 1)
DEBUG:netplan generated networkd configuration exists, restarting networkd
DEBUG:no netplan generated NM configuration exists
DEBUG:device lo operstate is unknown, not replugging
DEBUG:netplan triggering .link rules for lo
DEBUG:device eth0 operstate is up, not replugging
DEBUG:netplan triggering .link rules for eth0
DEBUG:replug eth1: xen:vif fails on rebinding, ignoring
DEBUG:netplan triggering .link rules for eth1
ubuntu@ip-172-31-60-65:~$ ip l show eth1
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 12:f6:8a:ee:fc:96 brd ff:ff:ff:ff:ff:ff