[stork-users] registration error 'cannot ping machine'

Slawek Figiel slawek at isc.org
Fri Dec 6 09:25:03 UTC 2024


Hello!

 >> I get the following when trying to register a bind9 system to stork:
 >> INFO[2024-12-04 12:34:54]         register.go:273   Machine registered
 >> FATA[2024-12-04 12:36:16]             main.go:320 Registration
 >> failed                           error="cannot ping machine: problem
 >> pinging machine: Cannot ping machine"

It may be a networking issue.

Your agent was able to establish a connection to the Stork server, 
register itself, and send a request for ping.
But the Stork server couldn't connect to the Stork agent. The firewall 
on the Stork server or agent machines may have caused this.

Please check that:

1. Try ping the agent machine/host from the server machine/host to 
verify the connection works. If it fails, it is a network issue.
2. Run the server and agent, authorize the agent, and verify if the 
server can fetch the agent's state. If it passes, then the observed 
problem was a temporary network issue or a bug in the agent (if the 
problem is repeatable).

I'll wait for your feedback.

 > also isc-kea-ctrl-agent is not installed.  Is that needed?

The Kea Control Agent is mandatory only if you want to monitor Kea 
daemons. It is not necessary to monitor BIND 9.

Regards,
Slawek Figiel



On 05/12/2024 23:40, fbcadmin wrote:
> also isc-kea-ctrl-agent is not installed.  Is that needed?
> 
> On 12/5/24 16:53, fbcadmin wrote:
>>
>> Hello
>>
>> I get the following when trying to register a bind9 system to stork:
>>
>>
>> su  stork-agent -s /bin/sh -c 'stork-agent register --server-url 
>> http://10.1.3.3:8080'
>> >>> Enter the Stork server access token (optional):
>> >>> Enter IP address or FQDN of the host with Stork agent (for the 
>> Stork server connection) [bind9B.test.com]:
>> >>> Enter port number that Stork Agent will listen on [8080]:
>> INFO[2024-12-04 12:34:54]         register.go:95    Forced agent 
>> certificates regeneration.
>> INFO[2024-12-04 12:34:54]         register.go:398 
>> =============================================================================
>> INFO[2024-12-04 12:34:54]         register.go:399   AGENT TOKEN: 
>> D8E79ACBBC7620AE16E2C21EA002163D28974A0E0AF346B9D309F7355D4835C5
>> INFO[2024-12-04 12:34:54]         register.go:400 
>> =============================================================================
>> INFO[2024-12-04 12:34:54]         register.go:405   Machine will be 
>> automatically registered using the server token
>> INFO[2024-12-04 12:34:54]         register.go:406   Agent token is 
>> printed above for informational purposes only
>> INFO[2024-12-04 12:34:54]         register.go:407   User does not need 
>> to copy or verify the agent token during registration via the server 
>> token
>> INFO[2024-12-04 12:34:54]         register.go:408   It will be sent to 
>> the server but it is not directly used in this type of machine 
>> registration
>> INFO[2024-12-04 12:34:54]         register.go:416   Try to register 
>> agent in Stork Server
>> INFO[2024-12-04 12:34:54]         register.go:273   Machine registered
>> INFO[2024-12-04 12:34:54]         register.go:294   Stored agent- 
>> signed cert and CA cert
>> ERRO[2024-12-04 12:35:14]         register.go:450   Retrying ping 1/3 
>> due to error                error="problem pinging machine: Cannot 
>> ping machine"
>> ERRO[2024-12-04 12:35:36]         register.go:450   Retrying ping 2/3 
>> due to error                error="problem pinging machine: Cannot 
>> ping machine"
>> FATA[2024-12-04 12:36:16]             main.go:320 Registration 
>> failed                           error="cannot ping machine: problem 
>> pinging machine: Cannot ping machine"
>>
>>
>> Package: isc-stork-agent Version: 2.0.0.241112163127  , Maintainer: 
>> Stork team <stork-users at lists.isc.org , APT-Sources: https:// 
>> dl.cloudsmith.io/public/isc/stork/deb/debian bookworm/main amd64 Packages
>>
>> # apt show bind9
>> Package: bind9
>> Version: 1:9.18.31-1+0~20241110.101+debian12~1.gbpbe8143
>> Priority: optional
>> Section: net
>> Maintainer: Debian DNS Team <team+dns at tracker.debian.org>
>>
>>
>> opsys = debian 12
>>
>>
>> Any suggestions on how to fix this?    I am able to register clients 
>> from kea dhcp systems .
>>
>>
>>
>>
> 



More information about the Stork-users mailing list