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] Headscale creation seems to be failing in CI #432

Closed
artis3n opened this issue Feb 16, 2024 · 3 comments · Fixed by #434
Closed

[BUG] Headscale creation seems to be failing in CI #432

artis3n opened this issue Feb 16, 2024 · 3 comments · Fixed by #434
Labels
bug This bug is confirmed and can be reproduced.

Comments

@artis3n
Copy link
Owner

artis3n commented Feb 16, 2024

https://juanfont.github.io/headscale/running-headscale-container/

https://github.com/artis3n/ansible-role-tailscale/actions/runs/7929963271/job/21655266348?pr=431#step:6:159

PLAY [Prepare] *****************************************************************
  
  TASK [Create Headscale user] ***************************************************
  fatal: [localhost]: FAILED! => {"changed": false, "msg": "The container \"headscale\" has been paused (409 Client Error for http+docker://localhost/v1.43/containers/headscale/exec: Conflict (\"Container b3f5931963c608185e186bd9caa868305ef3c17ac28f8562087de7ec3c42233f is not running\"))"}

@artis3n artis3n added the bug:needs-reproduction A reported bug that needs to be confirmed and reproduced. label Feb 16, 2024
@McSim85
Copy link
Contributor

McSim85 commented Feb 16, 2024

this is relevant
#430 (comment)

reproducible in the GH CodeSpace

@artis3n
Copy link
Owner Author

artis3n commented Feb 16, 2024

make test-default works fine on the main branch, docker images shows:

headscale/headscale                              latest    6743c056e988   9 months ago   104MB

Running docker system prune -a and re-running the test, I can now reproduce the failure.

headscale/headscale                     latest    861be0ca204e   N/A          78.1MB

Significant size difference in the container.

Latest tag seems to align with unstable, which is not what we want. 0.23.0 also released at the same time, and digests match latest and unstable.

image

On the repo, an alpha version of v0.23.0 released yesterday: https://github.com/juanfont/headscale/releases/tag/v0.23.0-alpha4

So it seems the docker image incorrectly pins this to a release v0.23.0 version.

juanfont/headscale#1760 is the upstream issue about Headscale being broken.

It seems like the best option right now is to pin to the previous release, 0.22, or 0.22.3.

@artis3n
Copy link
Owner Author

artis3n commented Feb 16, 2024

Per juanfont/headscale#1763, latest is a safe tag to use, they just had a CI bug. It is actively being fixed so I'll give it a day or so for the headscale folks to fix the upstream tags, which should make the existing configuration work without issue. If needed, this weekend I'll pin headscale to 0.22

@artis3n artis3n added bug This bug is confirmed and can be reproduced. and removed bug:needs-reproduction A reported bug that needs to be confirmed and reproduced. labels Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This bug is confirmed and can be reproduced.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants