Rancher UI shows no Cluster Registration Command when importing existing cluster

I deployed Rancher v2.6.6 in k3s local cluster. I have RKE2 v1.23.9 cluster that I am importing it to Rancher. I am running into an issue where the registration commands fields are empty

Hi, there is any chance that your rje cluster already registered before?

Hi @shlomi,

Nope its not registered at all!

Thanks
Sagar

@sagarip009 Can you provide logs from rancher pods?

@shlomi I got it fixed. The fix was to add the server-url through v3/setting/sever-url API before the cluster import. Thank you

1 Like