<div dir="ltr">Hello,<div><br></div><div>I have the paid hooks. I'm using MySQL as a backend and it's working fine. Now I am trying to get the kea-ctrl agent to behave using curl. I've started the daemon, which I think is ok. This works:</div><div><br></div><div># curl -X POST -H "Content-Type: application/json" -d '{ "command": "list-commands"}' <a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a>  | jq<br>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current<br>                                 Dload  Upload   Total   Spent    Left  Speed<br>100   449  100   420  100    29   389k  27566 --:--:-- --:--:-- --:--:--  410k<br>[<br>  {<br>    "arguments": [<br>      "build-report",<br>      "config-get",<br>      "config-test",<br>      "config-write",<br>      "lease4-add",<br>      "lease4-del",<br>      "lease4-get",<br>      "lease4-get-all",<br>      "lease4-get-page",<br>      "lease4-update",<br>      "lease4-wipe",<br>      "lease6-add",<br>      "lease6-del",<br>      "lease6-get",<br>      "lease6-get-all",<br>      "lease6-get-page",<br>      "lease6-update",<br>      "lease6-wipe",<br>      "list-commands",<br>      "reservation-add",<br>      "reservation-del",<br>      "reservation-get",<br>      "shutdown",<br>      "version-get"<br>    ],<br>    "result": 0<br>  }<br>]<br></div><div><br></div><div>This does not though:</div><div><br></div><div># curl -X POST -H "Content-Type: application/json" -d '{ "command": "lease4-get-all"}' <a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a>  | jq<br>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current<br>                                 Dload  Upload   Total   Spent    Left  Speed<br>100    98  100    68  100    30   5691   2511 --:--:-- --:--:-- --:--:--  6181<br>[<br>  {<br>    "result": 1,<br>    "text": "no current lease manager is available"<br>  }<br>]<br></div><div><br></div><div>I have 1.5.0 of kea and hooks, and I think according to this page, I should be able to get all leases if I don't specify any arguements:</div><div><br></div><div><a href="https://ftp.isc.org/isc/kea/1.5.0/doc/kea-guide.html#command-lease4-get-all">https://ftp.isc.org/isc/kea/1.5.0/doc/kea-guide.html#command-lease4-get-all</a> </div><div><br></div><div>I see this error in the kea-ctrl-agent log:</div><div><br></div>2020-03-03 01:22:32.053 ERROR [kea-ctrl-agent.callouts/26800] HOOKS_CALLOUT_ERROR error returned by callout on hook 1 registered by library with index <br><div>$lease4_get_all (callout address 0x7f172e322b40) (callout duration 0.059 ms)</div><div><br></div><div>Any help much appreciated!  Thanks for helping create such a great service!</div><div><br></div><div>All the best,</div><div>Pete</div><div><br></div></div>