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

openssl errors in keeper and webhook when running arm64 #1555

Open
jobcespedes opened this issue Jun 13, 2023 · 5 comments
Open

openssl errors in keeper and webhook when running arm64 #1555

jobcespedes opened this issue Jun 13, 2023 · 5 comments

Comments

@jobcespedes
Copy link
Contributor

I got similar openssl errors in keeper and webhook when running in arm64 nodes. For instance, keeeper log output:

{"client":"git","component":"keeper","file":"/workspace/source/pkg/git/v2/interactor.go:149","func":"github.com/jenkins-x/lighthouse/pkg/git/v2.(*interactor).MirrorClone","level":"error","msg":"error creating a mirror clone: exit status 128 Cloning into bare repository '/var/tmp/gitcache607662326/krestomatio/ansible-collection-k8s'...\nfatal: unable to access 'https://github.com/krestomatio/ansible-collection-k8s/': OpenSSL/3.0.8: error:0200008A:rsa routines::invalid padding\n","org":"krestomatio","repo":"ansible-collection-k8s","time":"2023-06-11T15:49:39Z"}

Lightouse and images version: 1.12.10

@msvticket
Copy link
Member

Where did you get these binaries from? I don't see that arm64 images are published anywhere.

@jobcespedes
Copy link
Contributor Author

I built them. It was a year ago. Now I am only using amd64 and node placement. For reference, the following were both amd64 and arm64, built when I was testing them:

ghcr.io/jobcespedes/lighthouse/lighthouse-webhooks:test
ghcr.io/jobcespedes/lighthouse/lighthouse-keeper:test

I built them using:

# 1. Clone the repo
# 2. Build multi arch images
docker buildx build --platform="linux/amd64,linux/arm64" --tag ghcr.io/jobcespedes/lighthouse/lighthouse-keeper:test --file docker/keeper/Dockerfile --push .
docker buildx build --platform="linux/amd64,linux/arm64" --tag ghcr.io/jobcespedes/lighthouse/lighthouse-webhooks:test --file docker/webhooks/Dockerfile --push .

@msvticket
Copy link
Member

OK, that explains it. Thank you!

@msvticket
Copy link
Member

But can those build instructions really be enough? The binaries are not built in the Dockerfiles, so you need to build those first. Or am I missing something?

@jobcespedes
Copy link
Contributor Author

It was a while ago... I just checked the Makefile. I believe it can be used to generate the binaries in a prior step. Ex: make build-webhooks build-keeper

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

2 participants