docker-ceph icon indicating copy to clipboard operation
docker-ceph copied to clipboard

ceph-osd doesn't log errors after startup

Open scottlaird opened this issue 10 years ago • 2 comments

This is really an upstream issue, but it makes it impossible to debug OSD issues under Docker. I'll figure out how to report it upstream when I have a chance.

The problem is that ceph-osd closes STDERR at the end of its startup sequence, even if it's running in foreground or debug mode. See the call to global_init_shutdown_stderr in src/ceph_osd.cc.

This means that nothing is logged after startup, and explains why I've had a bunch of OSDs crashing silently.

scottlaird avatar Nov 05 '14 00:11 scottlaird

http://tracker.ceph.com/issues/10010

scottlaird avatar Nov 05 '14 00:11 scottlaird

Interesting; I had noticed the phenomenon (lack of logging), but not realized its significance. Thanks

Ulexus avatar Nov 06 '14 21:11 Ulexus