[stork-users] Removing a node and re-adding it back causes a certificate error
mxhajduczenia at gmail.com
mxhajduczenia at gmail.com
Tue May 7 11:58:54 UTC 2024
Thank you, Darren
That is exactly the process I am following. My Stork Server does not coexist with the Stork Agent on the same server (separate VM) so I did not change the port numbers from defaults.
Regards
Marek
From: Stork-users <stork-users-bounces at lists.isc.org> On Behalf Of Darren Ankney
Sent: Tuesday, May 7, 2024 3:51 AM
To: stork-users at lists.isc.org
Subject: Re: [stork-users] Removing a node and re-adding it back causes a certificate error
Hi Marek,
Have you tried removing the machine from the Stork GUI and then re-registering as described here: https://kb.isc.org/docs/stork-quickstart-guide#register-stork-agent or here: https://kb.isc.org/docs/stork-quickstart-guide#register-stork-agent1 ? It may work.
Thank you,
Darren Ankney
On Mon, May 6, 2024 at 6:05 PM <mxhajduczenia at gmail.com <mailto:mxhajduczenia at gmail.com> > wrote:
Dear Forum,
I had two nodes added to Stork: .130 and .131 and they were working correctly. Node .130 had a kernel failure due to changes I was trying to apply and I did not make a copy, unfortunately. Long story short, I had to re-install node .130, and then I wanted to add it back to Stork
No matter what I do, I am getting the error shown above, i.e., Cannot get state of machine.
Syslog review shows only one error message following two warning messages.
May 6 21:58:38 server-kea-control stork-server[719]: time="2024-05-06 21:58:38" level="warning" msg="rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: remote error: tls: bad certificate\"" file=" manager.go:124 " agent="172.17.129.130:8080 <http://172.17.129.130:8080> "
May 6 21:58:38 server-kea-control stork-server[719]: time="2024-05-06 21:58:38" level="warning" msg="Failed to get state from the Stork agent; the agent is still not responding" file=" grpcli.go:326 " agent="172.17.129.130:8080 <http://172.17.129.130:8080> "
May 6 21:58:38 server-kea-control stork-server[719]: time="2024-05-06 21:58:38" level="warning" msg="failed to get state from agent 172.17.129.130:8080 <http://172.17.129.130:8080> : grpc manager is unable to re-establish connection with the agent 172.17.129.130:8080 <http://172.17.129.130:8080> : rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: remote error: tls: bad certificate\"" file=" statepuller.go:247 "
I suspect that the TLS certificate does to get cleared when the machine is removed and a machine with the same IP address is re-added.
I did not find a remedy for it for now and I do not fancy a complete re-install of Stork if I can avoid it.
Any suggestions on how to fix it?
Regards
Marek
--
Stork-users mailing list
Stork-users at lists.isc.org <mailto: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/20240507/42f4483e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 46237 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20240507/42f4483e/attachment-0001.png>
More information about the Stork-users
mailing list