Skip to content
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

Deleting a node does not delete the associated route entry (v0.20.0) #1228

Closed
NetworkEngineer509 opened this issue Feb 25, 2023 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@NetworkEngineer509
Copy link

Bug description
Deleting a node does not delete the associated route entry

To Reproduce

  1. Register a node with an advertised route
  2. Delete the node manually via headscale cli
  3. Check the routes, you will see the entry is still there, but the name is blank

Context info

  • Version of headscale used: v0.20.0

Here is the output of headscale route list showing the issue
image

@NetworkEngineer509 NetworkEngineer509 added the bug Something isn't working label Feb 25, 2023
@spomata
Copy link

spomata commented Mar 2, 2023

I had the same issue and ended up removing the route manually from the SQLite database (of course having closed headscale first).

@iFargle
Copy link
Contributor

iFargle commented Mar 3, 2023

Yep, seeing the same issue here.

@kradalby
Copy link
Collaborator

kradalby commented Mar 17, 2023

Has anyone tried with @juanfont fix in #1244?

@NetworkEngineer509
Copy link
Author

Has anyone tried with @juanfont fix in #1244?

Yes, it's working now. I have deleted the old routes.

@iFargle
Copy link
Contributor

iFargle commented Mar 30, 2023

Similar (potential) issue?
When an ephemeral machine falls off the network (as it should), the associated routes are left. Is this intended?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants