Wrong IPv6 prefix_length after high availability lease sync (0 instead of 128)
name: HA sync of IPv6 addresses results in incorrect prefix_length
Describe the bug A clear and concise description of what the bug is.
To Reproduce When running two Kea DHCPv6 servers with version 1.4.0-P1 with the same configuration with the high availability hook enabled and the postgresql as database backend for both lease and host storage,
If we start the primary server after it was down for a while, it syncs the dhcpv6-leases (lease6) from the standby server via lease6-get-all. The primary server is now enabled, but throws an error when a client tries to rebind a single address (no pd). [Error message in support ticket]
- Kea version: 1.4.0-P1
Additional Information Support ticket https://support.isc.org/Ticket/Display.html?id=13645 Support ticket includes lease file information.