Feature #463
closedtool to capture debug info
Description
- /usr/bin/ binary
- /usr/lib/debug/usr/bin symbol binary (if any)
- core files (if any)
- logs
Maybe it should check that any found core files match the binary before including them (the default /core could be anything).
It should probably take a (required?) argument specifying the tar.gz with all the info.
Updated by Yehuda Sadeh over 13 years ago
commit:baa3772b1558af280a878c7b32b1d739c4054ed3 introduces cdebugpack. Generates a tar.gz (name needs to be specified on the command line). Included info is the cmon/cmds/cosd binaries, the log directory and core files. At the moment it search for the core files in a few predefined places, but doesn't try to be smart about it.
Updated by Sage Weil over 13 years ago
(04:08:30 PM) sage@newdream.net/slip: logs, binaries, core
(04:08:36 PM) sage@newdream.net/slip: /usr/lib/debug binary too, if it's there
(04:08:42 PM) sage@newdream.net/slip: ceph.conf
(04:08:50 PM) sage@newdream.net/slip: maybe ceph -s output?
(04:08:57 PM) sage@newdream.net/slip: ceph osd dump , ceph mds dump
ceph pg dump
Updated by Yehuda Sadeh over 13 years ago
- Status changed from New to Resolved
done with a18213d6fab3910ed75c838a150573b5456d8cec.
Updated by Sage Weil over 13 years ago
- Status changed from Resolved to In Progress
- Assignee changed from Yehuda Sadeh to Sage Weil
add to deb, rpm packages
Updated by Wido den Hollander over 13 years ago
There is a little bug in "cebugpack".
/bin/sh is used as interpreter. On Debian systems /bin/sh is symlinked to /bin/bash, but on Ubuntu systems it is linked to /bin/dash
When running the tool on Ubuntu you get:
root@node01:/usr/src/ceph/src# ./cdebugpack [: 52: unexpected operator ./cdebugpack: 55: Bad substitution root@node01:/usr/src/ceph/src#
Changing to /bin/bash as interpreter fixes it.
Updated by Sage Weil over 13 years ago
- Status changed from In Progress to Resolved