headplane icon indicating copy to clipboard operation
headplane copied to clipboard

New Machine ACL Tag not set before reboot

Open TheCyberfreak opened this issue 6 months ago • 6 comments

Description

If a new tag is added to a machine, it is not available in the ACL list until after a restart or via a detour "DNS > Rename Tailnet > Confirm".

Previously, ACL entries with a tag are not taken into account.

Headplane Version

v.0.5.10

Headscale Version

v.0.25.1

TheCyberfreak avatar May 21 '25 18:05 TheCyberfreak

Can confirm, we have the same bug

Headplane Version v.0.5.10

Headscale Version v.0.24.3

NicoV4 avatar May 22 '25 14:05 NicoV4

I think it is headscale problem. Have seen it before in headscale issue

sanupat avatar May 22 '25 14:05 sanupat

Found nothing at Headscale about a bug

TheCyberfreak avatar May 22 '25 14:05 TheCyberfreak

Will try updating Headscale within hopefully 2 weeks from now and see if that resolves anything.

NicoV4 avatar May 22 '25 14:05 NicoV4

maybe this one ? https://github.com/juanfont/headscale/issues/2389

sanupat avatar May 22 '25 14:05 sanupat

This seems like a Headscale issue if anything. I don't know if this is worth keeping open honestly.

tale avatar May 25 '25 15:05 tale

I have this issue with Headscale / Headplane latest versions. I think headscale #2389 is the proper one yes.

Perhaps a workaround for Headplane in the meantime, could be to send a restart to Headscale whenever the ACLs/tags update?

In my experience this only takes a couple of seconds and could be added as a toggleable setting.

mitchplze avatar Jun 05 '25 17:06 mitchplze

Yes Headscale seems to be the problem but i read somewhere they are planning to fix this by version 0.27.0. Also we have Headscale running on RHEL9 which for some reason seems to take 30 seconds before connection are made again after a restart. I think it might be better to wait for Headscale to fix the issue.

NicoV4 avatar Jun 05 '25 17:06 NicoV4

Closing because I can't really do much here.

tale avatar Jun 06 '25 03:06 tale