[Bug 1726912] [NEW] fails to keep dhcplease
Jon Proulx
jon at jonproulx.com
Tue Oct 24 15:26:08 UTC 2017
Public bug reported:
Not 100% sure if this is a networkd bug or a nplan bug, but...
On new install of 17.10 systemd-networkd loops with:
Oct 23 16:45:24 san-jose systemd[1]: Starting Network Service...
Oct 23 16:45:24 san-jose systemd-networkd[1217]: enp129s0f0: Gained IPv6LL
Oct 23 16:45:24 san-jose systemd-networkd[1217]: Enumeration completed
Oct 23 16:45:24 san-jose systemd[1]: Started Network Service.
Oct 23 16:45:25 san-jose systemd-networkd[1217]: enp129s0f0: Gained carrier
Oct 23 16:45:27 san-jose systemd-networkd[1217]: enp129s0f0: DHCPv4 address 128.30.3.94/24 via 12
Oct 23 16:45:27 san-jose systemd-networkd[1217]: Could not set hostname: The name org.freedesktop
Oct 23 16:45:27 san-jose systemd-networkd[1217]: enp129s0f0: Lost carrier
Oct 23 16:45:27 san-jose systemd-networkd[1217]: enp129s0f0: DHCP lease lost
Oct 23 16:45:29 san-jose systemd-networkd[1217]: enp129s0f0: Gained carrier
Oct 23 16:45:29 san-jose systemd-networkd[1217]: enp129s0f0: DHCPv4 address 128.30.3.94/24 via 12
Oct 23 16:45:29 san-jose systemd-networkd[1217]: Could not set hostname: The name org.freedesktop
Oct 23 16:45:29 san-jose systemd-networkd[1217]: enp129s0f0: Configured
Oct 23 16:45:30 san-jose systemd-networkd[1217]: enp129s0f0: Lost carrier
Oct 23 16:45:30 san-jose systemd-networkd[1217]: enp129s0f0: DHCP lease lost
that is the correct interface and address.
If I manually run 'dhclient nep129s0f0' the lease sticks and 'journalctl
-fu systemd-networkd' shows:
Oct 23 16:45:34 san-jose systemd-networkd[1217]: enp129s0f0: Gained carrier
Oct 23 16:45:34 san-jose systemd-networkd[1217]: enp129s0f0: DHCPv4 address 128.30.3.94/24 via 12
Oct 23 16:45:34 san-jose systemd-networkd[1217]: Could not set hostname: The name org.freedesktop
Oct 23 16:45:34 san-jose systemd-networkd[1217]: enp129s0f0: Configured
installer generated 01-netcfg.yaml:
network:
version: 2
renderer: networkd
ethernets:
enp129s0f0:
dhcp4: yes
root at host:~# lsb_release -rd;uname -r ; dpkg -l nplan systemd
Description: Ubuntu 17.10
Release: 17.10
4.13.0-16-generic
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-==============-==============-=========================================
ii nplan 0.30 amd64 YAML network configuration abstraction fo
ii systemd 234-2ubuntu12 amd64 system and service manager
my current workaround:
root at host:~# cat /etc/rc.local
#!/bin/sh
dhclient enp129s0f0
** Affects: nplan (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1726912
Title:
fails to keep dhcplease
Status in nplan package in Ubuntu:
New
Bug description:
Not 100% sure if this is a networkd bug or a nplan bug, but...
On new install of 17.10 systemd-networkd loops with:
Oct 23 16:45:24 san-jose systemd[1]: Starting Network Service...
Oct 23 16:45:24 san-jose systemd-networkd[1217]: enp129s0f0: Gained IPv6LL
Oct 23 16:45:24 san-jose systemd-networkd[1217]: Enumeration completed
Oct 23 16:45:24 san-jose systemd[1]: Started Network Service.
Oct 23 16:45:25 san-jose systemd-networkd[1217]: enp129s0f0: Gained carrier
Oct 23 16:45:27 san-jose systemd-networkd[1217]: enp129s0f0: DHCPv4 address 128.30.3.94/24 via 12
Oct 23 16:45:27 san-jose systemd-networkd[1217]: Could not set hostname: The name org.freedesktop
Oct 23 16:45:27 san-jose systemd-networkd[1217]: enp129s0f0: Lost carrier
Oct 23 16:45:27 san-jose systemd-networkd[1217]: enp129s0f0: DHCP lease lost
Oct 23 16:45:29 san-jose systemd-networkd[1217]: enp129s0f0: Gained carrier
Oct 23 16:45:29 san-jose systemd-networkd[1217]: enp129s0f0: DHCPv4 address 128.30.3.94/24 via 12
Oct 23 16:45:29 san-jose systemd-networkd[1217]: Could not set hostname: The name org.freedesktop
Oct 23 16:45:29 san-jose systemd-networkd[1217]: enp129s0f0: Configured
Oct 23 16:45:30 san-jose systemd-networkd[1217]: enp129s0f0: Lost carrier
Oct 23 16:45:30 san-jose systemd-networkd[1217]: enp129s0f0: DHCP lease lost
that is the correct interface and address.
If I manually run 'dhclient nep129s0f0' the lease sticks and
'journalctl -fu systemd-networkd' shows:
Oct 23 16:45:34 san-jose systemd-networkd[1217]: enp129s0f0: Gained carrier
Oct 23 16:45:34 san-jose systemd-networkd[1217]: enp129s0f0: DHCPv4 address 128.30.3.94/24 via 12
Oct 23 16:45:34 san-jose systemd-networkd[1217]: Could not set hostname: The name org.freedesktop
Oct 23 16:45:34 san-jose systemd-networkd[1217]: enp129s0f0: Configured
installer generated 01-netcfg.yaml:
network:
version: 2
renderer: networkd
ethernets:
enp129s0f0:
dhcp4: yes
root at host:~# lsb_release -rd;uname -r ; dpkg -l nplan systemd
Description: Ubuntu 17.10
Release: 17.10
4.13.0-16-generic
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-==============-==============-=========================================
ii nplan 0.30 amd64 YAML network configuration abstraction fo
ii systemd 234-2ubuntu12 amd64 system and service manager
my current workaround:
root at host:~# cat /etc/rc.local
#!/bin/sh
dhclient enp129s0f0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1726912/+subscriptions
More information about the foundations-bugs
mailing list