https://rancher.com/ logo
Title
h

handsome-tomato-29995

07/21/2022, 3:13 PM
Hi ! I am trying to add a node to my cluster using the Rancher registration command but I seem to have an issue. The container "share-mnt" keep restarting and I have the following logs:
/usr/bin/run.sh: line 26: /usr/bin/share-root.sh: Permission denied
INFO: Arguments: -- share-root.sh docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.5-58b5997bc3b29e0b86b1611141d1ef6d1e069837-head --server <https://rancher.crane.mee6.cloud> --token REDACTED --no-register --only-write-certs --node-name nts-video-1
Any idea how to fix this ?
I can see that this was fix in rancher v2.6
I updated the rancher to v2.6.6 but when I try to join my linux host to the cluster, it still spawn a "rancher-agent v.2.5" for the share-mnt. Which keep exiting with code 126
t

tall-school-18125

07/22/2022, 12:59 AM
What kind of cluster is this? Which Kubernetes distro?