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

ceph/daemon is not updated #2247

Open
ntex777 opened this issue Nov 7, 2024 · 2 comments
Open

ceph/daemon is not updated #2247

ntex777 opened this issue Nov 7, 2024 · 2 comments
Labels

Comments

@ntex777
Copy link

ntex777 commented Nov 7, 2024

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
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

@ntex777
Copy link
Author

ntex777 commented Nov 28, 2024

No one ?

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