summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@ibm.com>2024-10-29 13:53:41 +0100
committerPatrick Donnelly <pdonnell@ibm.com>2024-10-29 13:53:41 +0100
commitc0451e1ca2b471dbdadb13cd64178e3dd83b4c62 (patch)
treeea0a19531ca493c8cd8d8f5078e41d024ff3a870
parentMerge pull request #60508 from zdover23/wip-doc-2024-10-27-rados-operations-e... (diff)
parentscript/ceph-debug-docker: add debuginfod for ubuntu (diff)
downloadceph-c0451e1ca2b471dbdadb13cd64178e3dd83b4c62.tar.xz
ceph-c0451e1ca2b471dbdadb13cd64178e3dd83b4c62.zip
Merge PR #60010 into main
* refs/pull/60010/head: script/ceph-debug-docker: add debuginfod for ubuntu script/ceph-debug-docker: drop /ceph mount Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
-rwxr-xr-xsrc/script/ceph-debug-docker.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh
index 76d3b126153..c3edc5df76d 100755
--- a/src/script/ceph-debug-docker.sh
+++ b/src/script/ceph-debug-docker.sh
@@ -117,13 +117,15 @@ FROM ${env}
WORKDIR /root
RUN apt-get update --yes --quiet && \
- apt-get install --yes --quiet screen gdb software-properties-common apt-transport-https curl
+ apt-get install --yes --quiet screen gdb software-properties-common apt-transport-https curl debuginfod ubuntu-dbgsym-keyring
COPY cephdev.asc cephdev.asc
RUN apt-key add cephdev.asc && \
curl -L $repo_url | tee /etc/apt/sources.list.d/ceph_dev.list && \
cat /etc/apt/sources.list.d/ceph_dev.list|sed -e 's/^deb/deb-src/' >>/etc/apt/sources.list.d/ceph_dev.list && \
apt-get update --yes && \
- DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q --no-install-recommends install -o Dpkg::Options::=--force-confnew --allow-unauthenticated ceph ceph-osd-dbg ceph-mds-dbg ceph-mgr-dbg ceph-mon-dbg ceph-common-dbg ceph-fuse-dbg ceph-test-dbg radosgw-dbg python3-cephfs python3-rados
+ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q --no-install-recommends install -o Dpkg::Options::=--force-confnew --allow-unauthenticated ceph ceph-osd-dbg ceph-mds-dbg ceph-mgr-dbg ceph-mon-dbg ceph-common-dbg ceph-fuse-dbg ceph-test-dbg radosgw-dbg python3-cephfs python3-rados ; \
+ printf 'set debuginfod enabled on\n' | tee -a ~/.gdbinit
+ENV DEBUGINFOD_URLS="https://debuginfod.ubuntu.com"
EOF
time run $SUDO docker build $CACHE --tag "$tag" .
else
@@ -180,7 +182,7 @@ EOF
printf "built image %s\n" "$tag"
- run $SUDO docker run $PRIVILEGED -ti -v /ceph:/ceph:ro -v /cephfs:/cephfs:ro -v /teuthology:/teuthology:ro "$tag"
+ run $SUDO docker run $PRIVILEGED -ti -v /teuthology:/teuthology:ro "$tag"
return 0
}