[stork-users] Registering an agent

Craig Dunn sendai789 at googlemail.com
Tue Sep 28 15:46:29 UTC 2021


Hey all,

I`m still trying to build my Stork server, this time I have gone for a
straight install rather than docker.

all has seemed to go ok, I have access to the UI, and have installed
kea-ctrl-agent with its dependency. When I try and register a machine I get
the following:

Sep 28 15:32:11 docker systemd[1]: Started ISC Stork Agent.
+ su stork-agent -s /bin/sh -c 'stork-agent register -u
http://192.168.0.23:8080'
>>>> Server access token (optional):
>>>> IP address or FQDN of the host with Stork Agent (the Stork Server will
use it to connect to the Stork Agent) [docker]: 192.168.0.23
>>>> Port number that Stork Agent will use to listen on [8080]: 8080
INFO[2021-09-28 15:32:27]         register.go:150   agent token stored in
/var/lib/stork-agent/tokens/agent-token.txt
INFO[2021-09-28 15:32:27]         register.go:151   agent key, agent token
and CSR (re)generated
INFO[2021-09-28 15:32:27]         register.go:439
=============================================================================
INFO[2021-09-28 15:32:27]         register.go:440   AGENT TOKEN:
F9DCC61D68B64855C9FD28AF3C74E0209C7BB97F16BC36513D98107AEB1AF955
INFO[2021-09-28 15:32:27]         register.go:441
=============================================================================
INFO[2021-09-28 15:32:27]         register.go:446   machine will be
automatically authorized using server token
INFO[2021-09-28 15:32:27]         register.go:458   try to register agent
in Stork server
INFO[2021-09-28 15:32:27]         register.go:301   machine registered
INFO[2021-09-28 15:32:27]         register.go:326   stored agent signed
cert and CA cert
ERRO[2021-09-28 15:32:27]         register.go:483   retrying ping 1/3 due
to error: problem with pinging machine: cannot ping machine
ERRO[2021-09-28 15:32:29]         register.go:483   retrying ping 2/3 due
to error: problem with pinging machine: cannot ping machine
ERRO[2021-09-28 15:32:33]         register.go:488   cannot ping machine:
problem with pinging machine: cannot ping machine
FATA[2021-09-28 15:32:33]             main.go:97    registration failed

I have stork and DHCP on the same server so have tried agent address
127.0.0.1 and its own IP (192.168.0.23) and both give me the same results.
strangely though the server does appear in the unauthorised list despite it
giving that error but the UI keeps saying it cant get the state of the
machine.

can anyone help?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20210928/029249ee/attachment.htm>


More information about the Stork-users mailing list