ceph / ceph-container

Docker files and images to run Ceph in containers
Apache License 2.0
1.32k stars 522 forks source link

Add a debug image for every ceph version #2063

Closed gauravsitlani closed 5 months ago

gauravsitlani commented 2 years ago

Is this a bug report or feature request?

We found that the default ceph images in quay don't have the debuginfo packages installed for troubleshooting purposes : https://quay.io/repository/ceph/ceph/manifest/sha256:e4abc23698c84996b04a5bf7706ed7e8cc88b9b716dc98cd83681b178aa7631f?tab=packages

It would be great to have an alternate ceph debug container image available at least for latest versions which will be useful for rook project as well.

BlaineEXE commented 2 years ago

I think it would be good to make sure we can get utility from debug containers before building and releasing them regularly.

For proof-of-concept, it's pretty simple to create ones own debug image using a basic Dockerfile. The image can always be pushed to ones own Docker Hub or Quay image repository.

FROM ceph/ceph:$VERSION

RUN yum install -y $DEBUG_PACKAGES

If we can see an example of using gdb (or other tools) with the debug packages in containers, I think it will be easier to make a decision about whether Ceph should release the images or whether the recommendation should be to do as I suggested above.

If we only expect that users/developers will want to do this extremely rarely and we anticipate they should all be able to do the above custom image steps, it may best to rely on users to do it on an as-needed basis.

github-actions[bot] commented 6 months ago

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.

github-actions[bot] commented 5 months ago

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.