]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: modify iscsi containers bindmount
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 27 Sep 2021 11:46:01 +0000 (13:46 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 27 Sep 2021 11:46:01 +0000 (13:46 +0200)
commitb130214195ff84af57f447cf3c3410f0918becaf
treea459835eb041fe2d70b6ef2b1d80e5e047a01ea5
parent86b9f0309431df8cec61caea553c825d3ad99fc9
cephadm: modify iscsi containers bindmount

tcmu-runner logs in `/var/log/tcmu-runner.log`, there's no option to
make it log to stdout/stderr so the log is only available from the
container.
Modifying the bindmount from `-v /var/log/ceph/<fsid>/:/var/log/rbd-target-api:z`
to `-v /var/log/ceph/<fsid>/:/var/log:z` makes it at least available
from the host.

Fixes: https://tracker.ceph.com/issues/47480
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py