Page MenuHomePhabricator

No DHCPv6 leases reported for "show dhcpv6 client leases"
Needs testing, LowPublicBUG


I configured one of my LAB routers to make use of DHCPv6

vyos@vyos# show interfaces
 ethernet eth0 {
     duplex auto
     hw-id 00:50:56:00:00:fa
     smp-affinity auto
     speed auto
     vif 202 {
         address dhcp
         address dhcpv6

An IPv6 address is assigend as shown by:

vyos@vyos:~$ show interfaces ethernet
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             -                                 u/u
eth0.202                  u/u
vyos@vyos:~$ show interfaces ethernet eth0 vif 202
eth0.202@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:50:56:00:00:fa brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0.202
       valid_lft forever preferred_lft forever
    inet6 2001:db8:202::199/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:fe00:fa/64 scope link
       valid_lft forever preferred_lft forever

    RX:  bytes    packets     errors    dropped    overrun      mcast
        310719       4181          0          0          0          3
    TX:  bytes    packets     errors    dropped    carrier collisions
        562266       3813          0          0          0          0

But the show dhcpv6 client leases command fails

vyos@vyos:~$ show dhcpv6 client leases
There are no DHCPv6 leases.
vyos@vyos:~$ ls -la /var/lib/dhcp/dhclient_v6_*
-rw-r--r-- 1 root root 168 Mar  8 18:43 /var/lib/dhcp/dhclient_v6_eth0.202.conf
-rw-r--r-- 1 root root 450 Mar  8 18:43 /var/lib/dhcp/dhclient_v6_eth0.202.leases
-rw-r--r-- 1 root root   5 Mar  8 18:43 /var/lib/dhcp/

Shows that the file /var/lib/dhcp/dhclient_v6_eth0.202_leases is missing as required by /opt/vyatta/sbin/


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close

Event Timeline

c-po created this task.Mar 8 2019, 6:14 PM
pasik added a subscriber: pasik.Mar 8 2019, 10:19 PM
dmbaturin changed the task status from Open to Needs testing.Mar 26 2019, 1:55 AM
dmbaturin added a subscriber: dmbaturin.

Curiously, I can't reproduce it in the latest rolling, even though the code hasn't changed. We need to test in latest crux builds.

syncer assigned this task to zsdc.Apr 17 2019, 7:47 PM
syncer triaged this task as Low priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.