Instances stuck in "networking" state when rancher-server ip address was changed. #1963
Labels
kind/bug
Issues that are defects reported by users or that we know have reached a real release
Milestone
Server version - V0.35.0-rc5
Had a setup with 1 host that had instances running successfully.
Rebooted rancher-server. This resulted in rancher-server getting a new ip address in my case. Rancher server was an Ubuntu instance in GCE.
After this hosts went into "reconnecting" state.
Did host registration again to set the ip address to the current rancher-server ip address.
Got the rancher-agent command to add custom host from UI and execute this on the host.
Host got to "active" state.
But I was not able to starting any new containers on the host. Containers got stuck in "networking" state.
"CATTLE_CONFIG_URL" parameter in the Network agent was still pointing to the old ipaddress of rancher-server.
Deleted the network agent from UI. This resulted in a new Network agent being created.
"CATTLE_CONFIG_URL" parameter in the Network agent now points to the new rancher-server ip address.
Attempting to start new instances still fails. Instances are stuck in "networking" state forever.
The text was updated successfully, but these errors were encountered: