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

lacks a signature by a trusted key, when targetUser is other than root #210

Open
joshuacox opened this issue May 14, 2024 · 3 comments
Open

Comments

@joshuacox
Copy link

joshuacox commented May 14, 2024

colmena works great until one of my hosts has developed a "because it lacks a signature by a trusted key" error. (of note this randomly happens to one or more hosts using the alternate targetUser, but not all of them which is very inconsistent).

Performing a colmena upload-keys completes without error.

How do I force that host to update its keys, or how do I debug as to what is going wrong?

WORKAROUND: I had been using an alternate targetUser, changing this back to root enabled this host to pass the tests. However, all of my other hosts are still using the alternate user, this does seem to be a bug of some sort.

@qenya
Copy link

qenya commented Jul 2, 2024

This happens occasionally for me too. I've discovered that if I colmena apply --build-on-remote once for the problematic host, it eliminates the error and I can build locally and apply again without issues. (Obviously this isn't feasible for all hosts - your workaround is probably more reliable.)

My suspicion is that it is caused by a version mismatch of something between the local machine and the remote - next time it happens I will attempt to isolate it.

@joshuacox
Copy link
Author

ya I have since moved all back to using root in this particular cluster.

However, I'd be happy to lend a hand and test anything I can, or anything else I can to do to help hunt down the problem.

@bmwagner18
Copy link

I'm also having this issue. I've been getting by using --build-on-target, but I would like to figure out the root cause. If there's anything I can do to help diagnose this please let me know, because the errors basically mean nothing to me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants