Page MenuHomeVyOS Platform

DHCPv6-server leases op-command shows warning message even if configured
Closed, ResolvedPublicBUG

Description

The operational command "show dhcpv6 server leases" shows a warning message even if dhcpv6 setting are configured and ipv6 address got assigned to clients.

vyos@server# run sh dhcpv6 server leases

WARNING: DHCP6 server is configured but not started. Data may be
stale.

IPv6 address              State    Last communication    Lease expiration     Remaining    Type               Pool    IAID_DUID
------------------------  -------  --------------------  -------------------  -----------  -----------------  ------  -----------------------------------------------------------------
2001:cafe:1111:1::100     active   2023/04/13 17:34:21   2023/04/13 19:34:21  1:39:24      non-temporary      prefix  00:00:00:00:00:04:b0:34:25:53:1d:f8:49:0d:af:87:04:b0:ad:ed:60:20
2001:cafe:1111:1::95      active   2023/04/13 17:37:38   2023/04/13 19:37:38  1:42:41      non-temporary      prefix  00:00:00:00:00:04:5f:a2:74:eb:08:be:43:6c:96:8b:19:ac:08:0d:7b:cc
2001:cafe:1111:ffff::/64  active   2023/04/13 17:37:38   2023/04/13 19:37:38  1:42:41      prefix delegation  prefix  00:00:00:00:00:04:5f:a2:74:eb:08:be:43:6c:96:8b:19:ac:08:0d:7b:cc

dhcpv6 service status:

vyos@server# sudo service isc-dhcp-server6 status
● isc-dhcp-server6.service - ISC DHCP IPv6 server
     Loaded: loaded (/lib/systemd/system/isc-dhcp-server6.service; disabled; pr>
     Active: active (running) since Thu 2023-04-13 17:50:21 BST; 2min 30s ago
       Docs: man:dhcpd(8)
    Process: 4679 ExecStartPre=/bin/sh -ec  touch ${LEASE_FILE};  chown nobody:>
    Process: 4683 ExecStart=/usr/sbin/dhcpd -6 -q -user dhcpd -group nogroup -p>
   Main PID: 4684 (dhcpd)
      Tasks: 1 (limit: 1136)
     Memory: 4.8M
        CPU: 70ms
     CGroup: /system.slice/isc-dhcp-server6.service

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202304130846
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Cosmetic issue (typos etc.)