[Bug] Unable to rename nodes
Is this a support request?
- [x] This is not a support request
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
A follow-up on this one: https://github.com/juanfont/headscale/issues/2646#issuecomment-2980824031
These hostnames are still visible/available in different places:
- logs
- device lists:
Given we still enconter them in these places, in order to understand what device that is, we have to either:
- allow adjusting this name (maybe merge them together)
- do not use them in logs & device lists
Expected Behavior
expected to see the human-readable names I've assigned myself
Steps To Reproduce
- add mobile device, which's gonna be labaled as "localhost-sth"
- observe it in the device list or logs
Environment
- OS: alpine
- Headscale version: 0.27.0
- Tailscale version: 1.84+
Runtime environment
- [x] Headscale is behind a (reverse) proxy
- [x] Headscale runs in a container
Debug information
Which mobile app are you using? Tried to reproduce this on Android (app version 1.88.4) and the name is updated almost immediately after headscale node rename -i 4 new-name.
Your example screenshot is confusing since the names are so similar, but I take it that haarlean-iphone is the name you have set, and haarlean-iphone1 is the "hostname", assigned by Headscale.
This is the expected behaviour, here from my test tailscale.com tailnet:
The original name is preserved in ().
As far as I can understand, you are able to rename nodes, but not past what we allow. In that case, I think this is no longer an issue and that we can close it?
I'm going to close this as "working as intended" as we prepare for 0.27.1