[stork-users] Stork managing Kea backend ( database )

Vadim Yakovenko YakovenkoV at westmancom.com
Wed Dec 18 20:08:19 UTC 2024


Hello.

I'm using Stork server 2.0
The server is reporting the following issue:

It is recommended that the 'subnet_cmds' hook library not be used to manage subnets when the configuration backend is used as a source of information about the subnets. The 'subnet_cmds' hook library modifies the local subnets configuration in the server's memory, not in the database. Use the 'cb_cmds' hook library to manage the subnets information in the database instead.

When I remove the subnet_cmds library I can't add any subnets via stork. I'm getting the following message:

In order to apply configuration changes, the server should begin a transaction between the user and the server. The server should also return current data required in the form where the subnet information is specified. Unfortunately, starting the new transaction failed with the following error:
Unable to begin transaction because there are no Kea servers with subnet_cmds hooks library available
Retrying can help in some cases.

To me it looks like a dead loop. I can't use subnet_cmds because I have to use cb_cmds for database backend, but I can't add any subnets without subnet_cmds. How am I supposed to manage subnets via Stork ???
-Vadim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20241218/540e25d7/attachment.htm>


More information about the Stork-users mailing list