# Cattle-cluster-agent ERROR when importing cluster

**URL:** <https://forums.suse.com/t/cattle-cluster-agent-error-when-importing-cluster/18337>\
**Category:** SUSE Rancher Prime\
**Created:** [September 15, 2020, 12:39pm UTC](https://forums.suse.com/t/cattle-cluster-agent-error-when-importing-cluster/18337 "2020-09-15T12:39:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magnus\_Grongaard](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/magnus_grongaard/32/6677_2.png) [@Magnus\_Grongaard](https://forums.suse.com/u/Magnus_Grongaard)\
**Post date:** [September 15, 2020, 12:39pm UTC](https://forums.suse.com/t/cattle-cluster-agent-error-when-importing-cluster/18337/1 "2020-09-15T12:39:34Z")

</div>

Hello, I recently created a raspberry pi cluster (4 raspberry pis with 8gb ram), and sat up a kubernetes cluster for them with a K3S backend. They’re running the 64 bit version of the raspberry pi os, k3s version 1.18.8+k3s1 and kubernetes 1.18.8. Whenever i try to import this on my rancher v2.4.8 server, the cluster gets stuck on “pending”. After further investigating I found this error  
`ERROR: https://[my hostname].com/ping is not accessible (Could not resolve host: [my hostname].com)`  
Right above this, it also mentions the resolv.conf, which doesn’t contain my nameserver.

On Github I found this issue [https://github.com/rancher/rancher/issues/16454](https://github.com/rancher/rancher/issues/16454) which seems to be the exact same problem.  
They mention a workaround of setting dnsPolicy from ClusterFirst to dnsPolicy: Default, and i was wondering how i’d do that. I’ve also tried opening a shell inside the pod, but it would auto restart before i could change /etc/resolv.conf.

---

<div class="post-metadata">

**Author:** ![GeraldScott](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/geraldscott/32/7198_2.png) [@GeraldScott](https://forums.suse.com/u/GeraldScott)\
**Post date:** [September 10, 2021, 5:05am UTC](https://forums.suse.com/t/cattle-cluster-agent-error-when-importing-cluster/18337/2 "2021-09-10T05:05:27Z")

</div>

See the response [here](https://github.com/rancher/rancher/issues/16454#issuecomment-786725616)
