Project

General

Profile

Actions

Bug #47480

closed

cephadm: tcmu-runner container is logging inside the container

Added by Dimitri Savineau over 3 years ago. Updated over 2 years ago.

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.


Related issues 1 (0 open1 closed)

Has duplicate Orchestrator - Feature #52740: cephadm: make tcmu-runner log available from the hostClosed

Actions
Actions

Also available in: Atom PDF