https://rancher.com/ logo
Title
s

stale-painting-80203

10/21/2022, 3:33 AM
My harvester node is not importing into my Rancher instance. I can ping the IP of rancher from Harvester node. Where can see the connection logs between Rancher and Harvester?
a

ancient-pizza-13099

10/21/2022, 7:38 AM
try to check the log of POD
Rancher-...
,
Harvester...
in harvester side
s

stale-painting-80203

11/09/2022, 2:05 AM
I checked the agent POD logs and see that the harvester node is trying to connect to a previous instance of my rancher.
CATTLE_SERVER=<https://rancher.senode.dev> CATTLE_SERVER_VERSION=v2.6.6
The above is pointing to a rancher instance that does not exist. I have updated the harvester setting "cluster-registration-url" to my new instance https://rancher75182.senode.dev.... but seems to not work. Is there a way to force to reset which or update the server URL?
my server URL in Rancher settings is https://rancher75182.senode.dev How does the agent on Harvester get the correct URL?
a

ancient-pizza-13099

11/09/2022, 9:46 AM
try to add this Rancher URL to your DNS server, or give the IP to harvester
s

stale-painting-80203

11/09/2022, 1:19 PM
The rancher URL is in my DNS and from the harvester server it does resolve. It's just that somehow the agent is not picking up the new URL
a

ancient-pizza-13099

11/09/2022, 1:28 PM
When Harvester installation, there is a step to fill in DNS server, you may add all of the public and local DNS server then.
https://docs.harvesterhci.io/v1.1/install/iso-install
6 (Optional) Configure the DNS servers. Use commas as a delimiter.
s

stale-painting-80203

11/09/2022, 1:35 PM
The issue is not with DNS setup. The agent is pointing to an incorrect URL which no longer exists. How does the agent get the rancher URL?
a

ancient-pizza-13099

11/09/2022, 2:18 PM
Cold you try to
use default value
in
harvester
setting
cluster-registration-url
first, save to set it to empty value first; then try to use the new `Rancher registration url`` again.
s

stale-painting-80203

11/09/2022, 3:29 PM
For some reason it's not letting me click "Use Default Value" button. Which explains why the new URL is not getting used.
cluster-registration-url Active
Age: 155 days
a

ancient-pizza-13099

11/09/2022, 6:50 PM
@bland-farmer-13503 @faint-football-12756 Do you know any known issue about this? thanks.
@stale-painting-80203 Which Harvester version are you using ?
@stale-painting-80203 Or would you delete harvester-node from Rancher first, then check if
use default value
is feasiable.
s

stale-painting-80203

11/09/2022, 7:40 PM
Unfortunately my previous instance of rancher was removed so I didn't get harvester into the new rancher and cannot delete. To save time I have decided to start again by reinstalling harvester. Thanks for your help.