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

[Bug] Unable to delete a route that doesn’t belong to anyone #2259

Open
4 tasks done
IamTaoChen opened this issue Nov 27, 2024 · 0 comments
Open
4 tasks done

[Bug] Unable to delete a route that doesn’t belong to anyone #2259

IamTaoChen opened this issue Nov 27, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@IamTaoChen
Copy link

IamTaoChen commented Nov 27, 2024

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

➜  docker exec -it headscale headscale routes list
ID | Node      | Prefix           | Advertised | Enabled | Primary
55 |           | ::/0             | true       | true    | -
58 |           | 0.0.0.0/0        | true       | true    | -

➜  docker exec -it headscale headscale routes delete --force -r 55
Cannot delete route 55: WHERE conditions required
➜  docker exec -it headscale headscale routes delete --force -r 58
Cannot delete route 58: WHERE conditions required

Expected Behavior

it should delete the route

Steps To Reproduce

I don't know how the route(without node) generates

Environment

- OS:
- Headscale version: 0.23
- Tailscale version:

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Anything else?

No response

@IamTaoChen IamTaoChen added the bug Something isn't working label Nov 27, 2024
@kradalby kradalby added this to the v0.24.0 milestone Nov 28, 2024
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

2 participants