Comments (11)
Done! Although you might have to reload headscale for changes to take effect. We will be working on that next.
from headscale.
Seems also the same is true for ephemeral nodes - they get cleaned up only on headscale restart.
from headscale.
from headscale.
from headscale.
from headscale.
I just verified with tailscaled
on a couple machines connecting directly to headscale
's port 8000
, and even when headscale
logged removal of the ephemeral node, all other machines still show it listed in tailscale status
. They'll get removed if I restart tailscaled
and it talks to headscale
for updates, but without restarts/re-connections those nodes do remain listed.
from headscale.
from headscale.
I will tag a new release as soon as #63 is merged. Apologies for the late response, busy week :(
from headscale.
from headscale.
This is fixed now :)
from headscale.
I'm seeing this behavior on headscale 0.22.3
.
I'd register a node A, then once I see it in headscale nodes list
, remove it with headscale nodes delete -i 5
. Confirmed it's gone from the list, but tailscale status
on my other machines would still have it there, and it could continue to network.
Only when I restart the tailscale daemon does the connection drop. If I restart the tailscale app of the removed node, similarly, it updates then.
I looked at the code and there doesn't seem to be any polling now, but rather usage of a mapper. Does that mapper suffer from the same issue as what was seen here?
Context: I wanted to write some code that would be able to eject a node from the tailnet, but this doesn't seem possible.
Update: figured out what I did wrong. I should have been calling expire
prior to deleting the machines.
from headscale.
Related Issues (20)
- [Bug] v0.23 does not work with PostgreSQL HOT 1
- [Bug] ACLs although going one way, are discoverable by the "dst". HOT 1
- [Bug] Can't always connect to Heascale through data (lte/4g) without passing via wifi first HOT 2
- [Bug] dns_config.domains only works if override_local_dns is enabled HOT 3
- [Feature] Improve docu development
- [Bug] Node Connection Issues(~600 nodes) in v0.23.0-alpha12 HOT 7
- headscale docker keep restarting HOT 10
- [Bug] systemctl stop headscale is very slow! HOT 3
- [Bug] Issues with OIDC, Authelia and Nix Agenix together HOT 5
- Inter-controlplane federation
- [Feature] Filter output of cli commands
- [Bug] Method Hosts.UnmarshalYAML does not add CIDR notation
- [Feature] provide docker containers with two standard tags "latest" and "production"
- [Feature] OIDC DisplayName and ProfilePicURL support
- [Bug] GetDERPMap tls failed to verify certificate
- [Feature] Use SQLite in WAL mode by default HOT 2
- [Bug] TLS internal error when attempting to login HOT 1
- [Feature] OIDC with permanent ID HOT 3
- [Feature] Add option to associate an api key to a specific user HOT 2
- New release? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headscale.