[stork-users] Stork managing Kea backend ( database )
Slawek Figiel
slawek at isc.org
Thu Dec 19 14:51:49 UTC 2024
Hello Vadim!
The "subnet_cmds" hook is required to modify the subnets and shared
network in Stork. Support for the "cb_cmds" hook is under development.
I recommend you keep the subnet_cmds" hook loaded and disable the
confusing checker.
I opened https://gitlab.isc.org/isc-projects/stork/-/issues/1654 to
remove it, as the suggestion is confusing. This checker was implemented
when we didn't support the subnet hook.
Regards,
Slawek Figiel
On 18/12/2024 21:08, Vadim Yakovenko wrote:
> 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
>
More information about the Stork-users
mailing list