# Cannot add new agents?

**URL:** <https://forums.suse.com/t/cannot-add-new-agents/17224>\
**Category:** k3s, k3OS, and k3d\
**Created:** [April 21, 2020, 6:17pm UTC](https://forums.suse.com/t/cannot-add-new-agents/17224 "2020-04-21T18:17:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![icsy7867](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/icsy7867/32/8753_2.png) [@icsy7867](https://forums.suse.com/u/icsy7867)\
**Post date:** [April 21, 2020, 6:17pm UTC](https://forums.suse.com/t/cannot-add-new-agents/17224/1 "2020-04-21T18:17:05Z")

</div>

I have a control plane and a worker running fine at the moment.

I decided to add another agent from another hypervisor. After doing so I realized that the IP address of the agent was not set correctly.

I drained and deleted the node:  
kubectl delete node k3os\_agent2

Delete went fine.  
However, now when I try to reinstall i see:  
node “k3os\_agent2” not found in the k3s-service.log

i have tried removing this and renaming the host and doing another sudo k3os install from the live disk… same issue.

Upon googling I also deleted the line for k3os\_agent2 in:  
/var/lib/rancher/k3s/server/cred/node-passwd  
to be sure.

However nothing is working. No matter what I try to do, I cannot get another agent working. Any ideas?

_update_  
I noticed on the master node I am seeing:  
Interestingly enough, on the master node I see:  
http: TLS handshake error from 172.20.30.23:60716: remote error: tls: bad certificate

Not sure why

---

<div class="post-metadata">

**Author:** ![icsy7867](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/icsy7867/32/8753_2.png) [@icsy7867](https://forums.suse.com/u/icsy7867)\
**Post date:** [April 21, 2020, 7:58pm UTC](https://forums.suse.com/t/cannot-add-new-agents/17224/2 "2020-04-21T19:58:45Z")

</div>

Solved!  
I had an “\_” in the hostname name. K3s did not like that.
