You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Kubernetes
Operator
Database - 8.0.37
Anything else?
No response
The text was updated successfully, but these errors were encountered:
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.
Report
It seems that every percona image starting from 8.0.37 (including operator itself) has peer-list broken. e.g.
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 ofFROM 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
Anything else?
No response
The text was updated successfully, but these errors were encountered: