]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add tcmu-runner to logrotate config 55966/head
authorAdam King <adking@redhat.com>
Fri, 2 Jun 2023 00:06:35 +0000 (20:06 -0400)
committerAdam King <adking@redhat.com>
Tue, 5 Mar 2024 15:17:30 +0000 (10:17 -0500)
commit3ca30fa9e6058431abcc91d8a5dc9db21d58b8d0
tree28464cb803e6d6027d08cccc236fc6095bb63e0f
parent7b464252f50f912b6bddd9129ce15a2a898ee7de
cephadm: add tcmu-runner to logrotate config

This process could be used to set up the tcmu-runner
to log to a file much like other ceph daemons

- create /etc/tcmu directory
- create /etc/tcmu/tcmu.conf directory with default options
- change dir to /var/log
- change log level to 4
- add -v /etc/tcmu:/etc/tcmu to tcmu-runner container podman line in unit.run

In order to support this (mostly for debugging) we should
add tcmu-runner to the logrotate config

Fixes: https://tracker.ceph.com/issues/61571
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit d5d40e07cae8a1d6a94029c4354d146b0baa3971)
src/cephadm/cephadm