Issue
Gravity agent is running even after the uninstallation and you will see the following error in telekube-system.log .
2019-01-23T17:07:07Z WARN [PEER] "Peer is exiting with error: \nERROR
REPORT:\nOriginal Error: *net.OpError listen tcp 10.128.68.8:3012: bind: address
already in use\nStack
Trace:\n\t/gopath/src/github.com/gravitational/gravity/lib/expand/join.go:475
github.com/gravitational/gravity/lib/expand.(*Peer).getAgent\n\t/gopath/src/github.com/gravitational/
gravity/lib/expand/join.go:551
github.com/gravitational/gravity/lib/expand.(*Peer).run\n\t/gopath/src/github.com/gravitational/gravity
/lib/expand/join.go:689
Solution
You could check for gravity services with:
systemctl list-units | grep gravity
If there are any gravitational,teleport and planet services, remove them from:
/etc/systemd/system
And run:
systemctl daemon-reload
systemctl reset-failed
Also you may need to check for planet or gravity files from the following location to remove:
/var/run