[stork-users] Duplicate host reservation with Kea in HA + psql hosts db

Ben Scott bscott at isc.org
Tue May 19 13:42:47 UTC 2026


On 5/19/26 03:41, Frederick Bloggingtons wrote:
> We have Kea in HA with PostgreSQL backend for leases and host reservations.
> When adding a new host reservation via Stork, or the Stork API, an error 
> is returned: ... Database duplicate entry error"

   Does the following guidance apply?

| If you are sharing the host reservation database, when making changes,
| you should send the API commands to one server only. With Stork,
| select only one daemon. Since the database is shared, the one change
| will take effect for both Kea servers. If you were to send the API
| command to both servers, one of the commands would fail (being seen as
| a duplicate of the other command). This error is generally harmless,
| but may confuse people or programs.

   From: https://kb.isc.org/docs/kea-unique-databases#Host-Reservations

   -- Ben

-- 
Any opinions expressed in this message are those of the author alone.
All information is provided without warranty of any kind.



More information about the Stork-users mailing list