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

peer-list is broken on image 8.0.37-29.1 #1855

Open
a-haurylau opened this issue Oct 30, 2024 · 1 comment
Open

peer-list is broken on image 8.0.37-29.1 #1855

a-haurylau opened this issue Oct 30, 2024 · 1 comment
Labels

Comments

@a-haurylau
Copy link

Report

It seems that every percona image starting from 8.0.37 (including operator itself) has peer-list broken. e.g.

docker run --network host --user 0:0 --rm -it --entrypoint /bin/bash percona/percona-xtradb-cluster:8.0.37-29.1 
[root@barzog /]# /usr/local/bin/peer-list 
/usr/local/bin/peer-list: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/peer-list)
/usr/local/bin/peer-list: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/bin/peer-list)

And it seems that was caused by switching default golang image from bullseye to bookworm as noted here: docker-library/golang#466

So if we put to Dockerfile
FROM golang:1.22-bullseye AS go_builder instead of FROM golang:1.22 AS go_builder and build peer-list everything is working as expected again.

More about the problem

[root@barzog /]# /usr/local/bin/peer-list
/usr/local/bin/peer-list: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/peer-list)

Steps to reproduce

Just run peer-list inside latest image

Versions

  1. Kubernetes
  2. Operator
  3. Database - 8.0.37

Anything else?

No response

@a-haurylau a-haurylau added the bug label Oct 30, 2024
@a-haurylau
Copy link
Author

It seems that 8.0.36-28.1 - is affected as well. Moreover that tag is not consistent, i.e. that image was rebuild with that tag on 2024-08-28. Previos image with that tag (and its working) was built on 2024-04-01.
So to receive 8.0.36-28.1 with working peer-list we need to pull by sha-hash instead of version tag: docker.io/percona/percona-xtradb-cluster@sha256:ed99f585a27257726a985fee5f50c
d957f94f5b9ae70a5d2f0fa1e68336f3abe
or use 8.0.35-27.1, it was built before those go-lang changes.

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

No branches or pull requests

1 participant