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

script: add docker core dump debugger #16375

Merged
merged 1 commit into from Jul 18, 2017

Conversation

Projects
None yet
4 participants
@batrick
Member

batrick commented Jul 17, 2017

This script sets up a CentOS 7 container with all the packages used for your
Ceph (test) branch. From there, you can gdb the core dump if you have access to
the test cluster.

Signed-off-by: Patrick Donnelly pdonnell@redhat.com

WORKDIR /root
RUN yum update -y && \
yum install -y screen epel-release wget psmisc ca-certificates gdb
RUN wget -O /etc/yum.repos.d/ceph-dev.repo https://shaman.ceph.com/api/repos/ceph/${branch}/latest/centos/7/repo && \

This comment has been minimized.

@tchaikov

tchaikov Jul 17, 2017

Contributor

the core dump is not always generated in a centos7 env. so maybe we need to enable the script to support xenial/trusty also?

This comment has been minimized.

@batrick

batrick Jul 17, 2017

Member

Good point. I'll look at making the base image configurable.

@batrick

This comment has been minimized.

Member

batrick commented Jul 17, 2017

@tchaikov updated! What do you think?

script: add docker core dump debugger
This script sets up a docker container with all the packages used for your Ceph
(test) branch. From there, you can gdb the core dump if you have access to the
test cluster.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@badone

badone approved these changes Jul 18, 2017

LGTM

@liewegas

This comment has been minimized.

Member

liewegas commented Jul 18, 2017

@tchaikov tchaikov merged commit 6461a94 into ceph:master Jul 18, 2017

4 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
make check (arm64) make check succeeded
Details

@batrick batrick deleted the batrick:docker-core-debug branch Sep 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment