One of my AWS hosts was rebooted and a different public IP address was allocated and the node is now stuck in “RECONNECTING” mode. I’m trying to run the command below on the affected host with CATTLE_AGENT_IP=NEW host PUBLIC IP address and MANAGEMENT_IP = rancher server IP address. I’m not sure what the SECURITY_TOKEN is and where I can locate it in the config. Any assistance is much appreciated. Thanks.
I copied and pasted the command from the custom page, it appears that the run command still contains the old rancher server ip address. Anyway, I updated the relevant IP addresses but the host is still in RECONNECTING mode, not sure if there’s anything else I need to do. Not sure if the security token is IP dependent, if yes, perhaps the new Token is not reflected on the docker run command. Thanks for looking into it.
I have just checked the output of docker inspect and the IP addresses were not updated successfully even though docker run command was executed without error.