-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove old routes #260
Comments
Is this still a problem? Could you help us with some steps to reproduce a minimal case? |
I have a route that I cannot disable, if i "--reset" join the router node without advertising the route, the other nodes still gets the route added (after restarting headscale and tailscale on all nodes) - the route is no longer listed by headscale cli for the subnet router, but added to the other nodes anyway. |
I have the same issue, the problem can be reproduced as following:
Now, when you check |
I found a workaround for this, when you enable all routes for the node ( |
I am running 0.19.0 in a container and am also seeing a few routes sticking around after deleting a node and re-adding it (I did it to remove the IPv6 addresses and just use IPv4 after disabling it in the server 3 firewalls in) - now when I "headscale route ls" is gives me 3 Advertised routes with an empty Machine entry with the new 3 Machines and same routes tagged on the end of the list. Am I experiencing a bug or did I do something wrong. Also the commands seem to have changed a bit in 0.19.0. is there a "headscale route delete -r x" option or is there a simpler way to remove the ghosts from the machine? :-) Maybe I should have re-upped it removing the advertised routes prior to deleting the node with the --reset flag? I will try that with another node and see what happens. I am only testing so no huge problem to wipe and start over. Looking forward to adding the UI on top once I get HS mastered... I tried but ended up with 12 blank Machine entries and a mix of ghost routes. Deleted the db.sqlite file and made an empty one to start over. Just thought I would post back to see if it helps troubleshoot things. Enjoying just how easy it is to get running and use. fantastic work. |
Hi there. Having the same issue here. Routes are still listed and shown as advertised in the headscale server, without a node label, even when the tailscale node has been removed from the network. The headscale CLI seems not to have a command to delete routes :( but one just to disable routes. Any ideas/insight? |
I've seen the same behaviour |
Same ... cannot remove old routes from deleted device. |
I was having the same issue and discovered that this might work:
it seems to disable it |
There seems to be a fantastic update now on the docker version I am using that llows you to delete routes. :-) |
but that is a great workaround, Thanks Jinx - That would have saved me deleteing a dozen databases LOL |
Fixed :) |
Is there any way to remove old routes from tailscale/headscale?
I deleted an old device and created a new one in it's place, when trying to enable a subnet router the device goes offline. This appears to be because of a loop I'm thinking.
The text was updated successfully, but these errors were encountered: