ceph-container
ceph-container copied to clipboard
ceph/daemon is not updated
Bug Report The official repository is no longer generating the latest Squid release for the ceph/daemon image. As a result, I decided to clone the repository and build the image myself, but I encountered errors.
After troubleshooting, it appears that the required packages are no longer available in the EPEL and EPEL-NEXT repositories:
yum install -y --setopt=install_weak_deps=False sharutils lsof kubernetes-client etcd s3cmd
What happened:
Complete!
Last metadata expiration check: 0:00:06 ago on Thu Nov 7 00:13:42 2024.
No match for argument: sharutils
No match for argument: kubernetes-client
No match for argument: etcd
Error: Unable to find a match: sharutils kubernetes-client etcd
The command '/bin/sh -c echo 'Install packages' && yum install -y --setopt=install_weak_deps=False wget unzip util-linux python-setuptools udev device-mapper && yum install -y --setopt=install_weak_deps=False sharutils lsof kubernetes-client etcd s3cmd && echo 'Web install confd' && CONFD_VERSION=0.16.0 && CONFD_ARCH=linux-amd64 && wget -q -O /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-${CONFD_ARCH}" && chmod +x /usr/local/bin/confd && mkdir -p /etc/confd/conf.d && mkdir -p /etc/confd/templates && INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && yum clean all && rm -f /usr/bin/{etcd-tester,etcd-dump-logs} && rm -f /usr/bin/etcd && echo "CLEAN DAEMON DONE!" && rm -rf /etc/{selinux,systemd,udev} /lib/{lsb,udev} /tmp/* /usr/lib{,64}/{locale,udev,dracut} /usr/share/{doc,info,locale,man} /usr/share/{bash-completion,pkgconfig/bash-completion.pc} /var/log/* /var/tmp/* && find / -xdev -name "*.pyc" -o -name "*.pyo" -exec rm -f {} \; && if [ -f /usr/bin/ceph-dencoder ]; then gzip -9 /usr/bin/ceph-dencoder; fi && rm -f /usr/lib/ceph/mgr/dashboard/static/AdminLTE-*/plugins/datatables/extensions/TableTools/images/psd/* && find /var/log/ -type f -exec truncate -s 0 {} \; && FINAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && REMOVED_SIZE=$((INITIAL_SIZE - FINAL_SIZE)) && echo "Cleaning process removed ${REMOVED_SIZE}MB" && echo "Dropped container size from ${INITIAL_SIZE}MB to ${FINAL_SIZE}MB" && rpm -q sharutils lsof kubernetes-client etcd s3cmd && echo 'Packages verified successfully'' returned a non-zero code: 1
make[1]: *** [Makefile:25: build] Error 1
make[1]: Leaving directory '/cephfs/ceph-container/staging/squid-centos-stream9-x86_64/daemon'
make: *** [Makefile:73: do.image.x86_64,squid,centos,stream9] Error 2
What you expected to happen: Get an updated Squid release of the daemon with all the necessary entrypoints.
How to reproduce it (minimal and precise):
export BASEOS_REGISTRY=quay.io/centos
export IMAGES_TO_BUILD=daemon
# Download the base images so those don't need to be built
docker pull quay.io/centos/centos:stream9
docker pull quay.io/ceph/daemon-base:latest-squid
docker image tag quay.io/ceph/daemon-base:latest-squid ceph/daemon-base:main-squid-centos-stream9-x86_64
make FLAVORS=squid,centos,stream9 build
CEPH_VERSION : squid
CEPH_REF : squid
CEPH_POINT_RELEASE:
CEPH_DEVEL : false
OSD_FLAVOR : default
DISTRO : centos
DISTRO_VERSION : stream9
HOST_ARCH : x86_64
BASEOS_REGISTRY : quay.io/centos
BASEOS_REPO : centos
BASEOS_TAG : stream9
IMAGES_TO_BUILD : daemon
STAGING_DIR : staging/squid-centos-stream9-x86_64
RELEASE : main
DAEMON_BASE_IMAGE : ceph/daemon-base:main-squid-centos-stream9-x86_64
DAEMON_IMAGE : ceph/daemon:main-squid-centos-stream9-x86_64
DEMO_IMAGE : ceph/demo:main-squid-centos-stream9-x86_64
Environment:
- OS (e.g. from /etc/os-release): CentOS 8 Core
- Kernel (e.g.
uname -a): Linux docker-build 4.18.0-193.6.3.el8_2.x86_64 SMP Wed Jun 10 11:09:32 UTC 2020 x86_64 GNU/Linux - Docker version 20
- Ceph version 18.2