docker-ceph
docker-ceph copied to clipboard
ceph-osd doesn't log errors after startup
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.
http://tracker.ceph.com/issues/10010
Interesting; I had noticed the phenomenon (lack of logging), but not realized its significance. Thanks