ceph-debug (latest)

Published 2024-07-28 19:55:44 +02:00 by stv0g

Installation

docker pull git.0l.de/stv0g/ceph-debug:latest
sha256:2d83c4723706cba528aa96557f529fbb0cfd35a64e0060a24d067822c22be1b9

Image layers

ADD file:b3ebbe8bd304723d43b7b44a6d990cd657b63d93d6a2a9293983a30bfc1dfa53 in /
LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20201113 org.opencontainers.image.title=CentOS Base Image org.opencontainers.image.vendor=CentOS org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.created=2020-11-13 00:00:00+00:00
CMD ["/bin/bash"]
LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
LABEL ceph=True
LABEL RELEASE=master
LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
LABEL GIT_BRANCH=master
LABEL GIT_COMMIT=79a7e16938ee841df64ccc2501bc1e718f9e53b4
LABEL GIT_CLEAN=True
LABEL CEPH_POINT_RELEASE=
ENV CEPH_VERSION=octopus
ENV CEPH_POINT_RELEASE=
ENV CEPH_DEVEL=true
ENV CEPH_REF=octopus
ENV OSD_FLAVOR=default
/bin/sh -c yum install -y epel-release && yum install -y jq && bash -c ' if [ -n "nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace" ]; then echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; if [[ "${CEPH_VERSION}" == master ]]; then echo "baseurl=https://buildlogs.centos.org/centos/\$releasever/storage/\$basearch/nfsganesha-3/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=0" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == pacific ]]; then echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; echo "[ganesha-noarch]" >> /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha-noarch" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == octopus ]]; then echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; echo "[ganesha-noarch]" >> /etc/yum.repos.d/ganesha.repo ; echo "name=ganesha-noarch" >> /etc/yum.repos.d/ganesha.repo ; echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; elif [[ "${CEPH_VERSION}" == nautilus ]]; then echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V2.8-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; else echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V2.7-stable/$CEPH_VERSION/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; echo "gpgcheck=1" >> /etc/yum.repos.d/ganesha.repo ; echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; fi ; fi ; if [ -n "tcmu-runner ceph-iscsi python-rtslib" ]; then curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/master/latest/centos/7/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo ; if [[ "${CEPH_VERSION}" =~ master ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/master/latest/centos/7/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ "${CEPH_VERSION}" =~ nautilus|octopus|pacific ]]; then curl -s -L https://download.ceph.com/ceph-iscsi/3/rpm/el7/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; else curl -s -L https://download.ceph.com/ceph-iscsi/2/rpm/el7/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; fi ; fi' && yum update -y && rpm --import 'https://download.ceph.com/keys/release.asc' && if [[ "${CEPH_VERSION}" == nautilus ]]; then CEPH_MGR_K8SEVENTS="ceph-mgr-k8sevents"; if [[ -n "" ]]; then CPR= ; if [[ ${CPR:1:2} -eq 14 ]] && [[ ${CPR:4:1} -eq 2 ]] && [[ ${CPR:6} -lt 5 ]]; then CEPH_MGR_K8SEVENTS="" ; fi ; fi ; fi && bash -c ' if [[ "${CEPH_VERSION}" =~ master ]] || ${CEPH_DEVEL}; then ARCH=$(arch); if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64"; fi ; REPO_URL=$(curl -s "https://shaman.ceph.com/api/search/?project=ceph&distros=centos/7/${ARCH}&flavor=${OSD_FLAVOR}&ref=${CEPH_REF}&sha1=latest" | jq -r .[0].url); RELEASE_VER=0 ; if [[ "${OSD_FLAVOR}" == "crimson" ]]; then CRIMSON_PACKAGES="ceph-crimson-osd"; fi ; else RELEASE_VER=1 ; REPO_URL="http://download.ceph.com/rpm-${CEPH_VERSION}/el7/"; fi && rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el7.noarch.rpm" && if [[ 7 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y tchaikov/python-scikit-learn ; fi ' && yum install -y ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace tcmu-runner ceph-iscsi python-rtslib attr ceph-fuse rbd-nbd ${CRIMSON_PACKAGES} && INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && echo 'Postinstall cleanup' && (rm -rf "/usr/bin/hyperkube /usr/bin/etcd /usr/bin/systemd-analyze /usr/share/hwdata/{iab.txt,oui.txt} /etc/profile.d/lang.sh" && yum clean all && rpmdb --rebuilddb && rpm -q ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace tcmu-runner ceph-iscsi python-rtslib attr ceph-fuse rbd-nbd ${CRIMSON_PACKAGES} && yum-config-manager --disable ceph-iscsi ceph-iscsi-source ceph-iscsi-noarch tcmu-runner tcmu-runner-noarch tcmu-runner-source) && sed -i -e 's/udev_rules = 1/udev_rules = 0/' -e 's/udev_sync = 1/udev_sync = 0/' -e 's/obtain_device_list_from_udev = 1/obtain_device_list_from_udev = 0/' /etc/lvm/lvm.conf && grep -sqo "udev_sync = 0" /etc/lvm/lvm.conf && grep -sqo "udev_rules = 0" /etc/lvm/lvm.conf && grep -sqo "obtain_device_list_from_udev = 0" /etc/lvm/lvm.conf && rm -rf /etc/{selinux,systemd,udev} /lib/{lsb,udev} /tmp/* /usr/lib{,64}/{locale,systemd,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 && bash -c ' function ifstrip () { if compgen -g "$1"; then strip -s "$1"; fi } && ifstrip /usr/lib{,64}/ceph/erasure-code/* && ifstrip /usr/lib{,64}/rados-classes/* && ifstrip /usr/lib{,64}/python*/{dist,site}-packages/{rados,rbd,rgw}.*.so && ifstrip /usr/bin/{crushtool,monmaptool,osdmaptool}' && 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 ca-certificates e2fsprogs ceph-common ceph-mon ceph-osd ceph-mds rbd-mirror ceph-mgr ceph-grafana-dashboards kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt ceph-radosgw libradosstriper1 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace tcmu-runner ceph-iscsi python-rtslib attr ceph-fuse rbd-nbd ${CRIMSON_PACKAGES} && echo 'Packages verified successfully'
LABEL maintainer=Dimitri Savineau <dsavinea@redhat.com>
LABEL ceph=True
LABEL RELEASE=master
LABEL GIT_REPO=https://github.com/ceph/ceph-container.git
LABEL GIT_BRANCH=master
LABEL GIT_COMMIT=79a7e16938ee841df64ccc2501bc1e718f9e53b4
LABEL GIT_CLEAN=True
LABEL CEPH_POINT_RELEASE=
/bin/sh -c echo 'Install packages' && yum install -y wget unzip util-linux python-setuptools udev device-mapper && yum install -y 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 && echo 'Install forego' && FOREGO_ARCH=linux-amd64 && wget -q -O /forego.tgz "https://bin.equinox.io/c/ekMN3bCZFUn/forego-stable-${FOREGO_ARCH}.tgz" && cd /usr/local/bin && tar xfz /forego.tgz && chmod +x /usr/local/bin/forego && rm /forego.tgz && INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && yum clean all && rm -f /usr/bin/{etcd-tester,etcd-dump-logs} && for binary in /usr/local/bin/{confd,forego,kubectl} /usr/bin/etcdctl; do if [ -f "$binary" ]; then gzexe $binary && rm -f ${binary}~; fi; done && rm -f /usr/bin/etcd && bash -c ' function ifstrip () { if compgen -g "$1"; then strip -s "$1"; fi } && ifstrip /usr/local/bin/{confd,forego,kubectl}' && echo "CLEAN DAEMON DONE!" && rm -rf /etc/{selinux,systemd,udev} /lib/{lsb,udev} /tmp/* /usr/lib{,64}/{locale,systemd,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 && bash -c ' function ifstrip () { if compgen -g "$1"; then strip -s "$1"; fi } && ifstrip /usr/lib{,64}/ceph/erasure-code/* && ifstrip /usr/lib{,64}/rados-classes/* && ifstrip /usr/lib{,64}/python*/{dist,site}-packages/{rados,rbd,rgw}.*.so && ifstrip /usr/bin/{crushtool,monmaptool,osdmaptool}' && 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'
ADD file:f95578523e7fdce1058b47bfb6934516fccdb6024ffa30872e57d21ecf9dd477 in /root/.s3cfg
ADD file:b3b0a3bebef9ea5309420aef848bf79d3c89e48fa4344296197079a83b57b635 in /etc/confd/templates/
ADD file:8b5ea4ffe74407d21746ad9d3f68d95d58d076211027ccb35c89caf7ab501d81 in /etc/confd/conf.d/
ADD multi:20f1d1819786d8f9ca9d468830c3be08e7d4882d6245f27184468b7e3e6af73e in /opt/ceph-container/bin/
ADD file:991d958f11565a20e6635ca3b4343d51113f52a0116bd41221b3272baf05d985 in /opt/ceph-container/etc/
COPY file:b0394ab6a132bb40ba4d8e42e1db6db1ac5d46d5b451f63f7b781ea268ea5058 in /opt/ceph-container/tmp/sree.tar.gz
/bin/sh -c bash "/opt/ceph-container/bin/generate_entrypoint.sh" && rm -f /opt/ceph-container/bin/generate_entrypoint.sh && bash -n /opt/ceph-container/bin/*.sh
WORKDIR /
ENTRYPOINT ["/opt/ceph-container/bin/entrypoint.sh"]

Labels

Key Value
CEPH_POINT_RELEASE
GIT_BRANCH master
GIT_CLEAN True
GIT_COMMIT 79a7e16938ee841df64ccc2501bc1e718f9e53b4
GIT_REPO https://github.com/ceph/ceph-container.git
RELEASE master
ceph True
maintainer Dimitri Savineau <dsavinea@redhat.com>
org.label-schema.build-date 20201113
org.label-schema.license GPLv2
org.label-schema.name CentOS Base Image
org.label-schema.schema-version 1.0
org.label-schema.vendor CentOS
org.opencontainers.image.created 2020-11-13 00:00:00+00:00
org.opencontainers.image.licenses GPL-2.0-only
org.opencontainers.image.title CentOS Base Image
org.opencontainers.image.vendor CentOS
Details
Container
2024-07-28 19:55:44 +02:00
0
OCI / Docker
linux/amd64
GPL-2.0-only
303 MiB
Versions (1) View all
latest 2024-07-28