Project

General

Profile

Actions

Bug #43560

closed

mgr/cephadm: daemon logs are not saved in /var/log/ceph on the host

Added by Josh Durgin over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
cephadm (binary)
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This means that container logs disappear if a container crashes - they are no longer accessible via 'cephadm log'.

None of mon, mgr, or osd logs appear in /var/log/ceph, other than logs from ceph-osd --mkfs.

Cluster log, audit log, and ceph-volume logs are present. This is with docker on ubuntu 18.04.

$ sudo ls -la /var/log/ceph/e0325e2c-3406-11ea-84c3-00259034c576
total 508
drwxrwx--- 2  167  167   4096 Jan 11 00:55 .
drwxr-x--- 3 root root   4096 Jan 11 00:11 ..
-rw------- 1  167  167  31887 Jan 11 00:56 ceph.audit.log
-rw------- 1  167  167 198004 Jan 11 01:01 ceph.log
-rw-r--r-- 1  167  167 103876 Jan 11 00:26 ceph-osd.0.log
-rw-r--r-- 1  167  167 103876 Jan 11 00:55 ceph-osd.1.log
-rw-r--r-- 1 root root  49680 Jan 11 00:55 ceph-volume.log
Actions

Also available in: Atom PDF