Actions
Bug #47480
closedcephadm: tcmu-runner container is logging inside the container
Status:
Resolved
Priority:
High
Assignee:
-
Category:
cephadm
Target version:
-
% Done:
20%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The tcmu-runner container uses the same bind mounts than rbd-target-api container.
mounts[os.path.join(data_dir, 'config')] = '/etc/ceph/ceph.conf:z' mounts[os.path.join(data_dir, 'keyring')] = '/etc/ceph/keyring:z' mounts[os.path.join(data_dir, 'iscsi-gateway.cfg')] = '/etc/ceph/iscsi-gateway.cfg:z' mounts[os.path.join(data_dir, 'configfs')] = '/sys/kernel/config' mounts[log_dir] = '/var/log/rbd-target-api:z' mounts['/dev'] = '/dev'
The tcmu-runner log file is /var/log/tcmu-runner.log by default.
There's no need to have the /var/log/rbd-target-api bind mount for this container.
Currently nothing bind mount the /var/log/tcmu-runner.log file on the host so tcmu-runner is logging inside the container.
Actions