[stork-users] Stork doesnt show address leases

Slawek Figiel slawek at isc.org
Mon Nov 14 10:58:05 UTC 2022


 > the error happnes when I -incorrectly- search for substrings. i just 
noticed that's unsupported. searching for complete IP works perfectly.

I'm happy to hear that your problem is solved, Tan. You're right that 
the Stork search lease requires an exact value. We analyze the 
possibility of adding the support for the regular expressions in the 
https://gitlab.isc.org/isc-projects/stork/-/issues/901 .

 > Is there any place where all leased IPs are shown? So far im only 
able to see % of assigned subnet/qty of leases, but not specific IPs

No, it isn't. Stork doesn't support listing leases. But it is one of our 
long-term goals. See https://gitlab.isc.org/isc-projects/stork/-/issues/44 .

On 14/11/2022 11:48, Tan Mientras wrote:
> the error happnes when I -incorrectly- search for substrings. i just 
> noticed that's unsupported. searching for complete IP works perfectly.
>
> Is there any place where all leased IPs are shown? So far im only able 
> to see % of assigned subnet/qty of leases, but not specific IPs
>
>
>
> On Mon, Nov 14, 2022 at 11:18 AM Slawek Figiel <slawek at isc.org> wrote:
>
>     Hi Tan!
>
>     Does the error occur when you search by the client ID only or for
>     any data? Please, check the IPv4 and IPv6 addresses.
>
>     Which version of the Kea and Stork do you use? Are the Kea hooks
>     in the identical versions as the Kea DHCP?
>
>     Can you execute the `lease4-get-by-client-id` command using the
>     `kea-shell` program? Do it returns an error too?
>
>     Regards
>     Slawek
>
>     On 11/11/2022 15:15, Tan Mientras wrote:
>>     DHCP>Leases search page appears empty.
>>     typing something to find IPs result in error on both servers
>>     (hot-standby).
>>
>>     Logs shows:
>>     ERROR HOOKS_CALLOUT_ERROR error returned by callout on hook
>>     $lease4_get_by_client_id registered by library with index 1
>>     (callout address 0x7ff6e0d90d40) (callout duration 0.061 ms)
>>
>>     both servers are loading (in dhcp config):
>>     /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so
>>     /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so
>>     /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so
>>
>>     shouldn't that be enough? what im missing?
>>
>     -- 
>     Stork-users mailing list
>     Stork-users at lists.isc.org
>     https://lists.isc.org/mailman/listinfo/stork-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20221114/bacfe6b0/attachment.htm>


More information about the Stork-users mailing list