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.
Updated by Sebastian Wagner over 3 years ago
- Priority changed from Normal to High
Updated by Juan Miguel Olmo Martínez about 3 years ago
- Assignee set to Juan Miguel Olmo Martínez
Updated by Juan Miguel Olmo Martínez about 3 years ago
- % Done changed from 0 to 20
Updated by Sebastian Wagner almost 3 years ago
2021-05-11T09:58:15.798 INFO:journalctl@ceph.iscsi.iscsi.a.smithi159.stdout:May 11 09:58:15 smithi159 bash[36833]: log file path now is '/var/log/tcmu-runner.log'
Updated by Sebastian Wagner almost 3 years ago
I created an upstream issue for this: https://github.com/open-iscsi/tcmu-runner/issues/658
Updated by Xiubo Li almost 3 years ago
The tcmu-runner has already logged some logs to the syslog.
Updated by Sebastian Wagner almost 3 years ago
- Assignee deleted (
Juan Miguel Olmo Martínez)
Updated by Sebastian Wagner over 2 years ago
- Has duplicate Feature #52740: cephadm: make tcmu-runner log available from the host added
Updated by Guillaume Abrioux over 2 years ago
- Status changed from New to In Progress
- Pull request ID set to 43319
Updated by Sebastian Wagner over 2 years ago
- Status changed from In Progress to Resolved
Actions