]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add tcmu-runner to logrotate config
authorAdam King <adking@redhat.com>
Fri, 2 Jun 2023 00:06:35 +0000 (20:06 -0400)
committerAdam King <adking@redhat.com>
Wed, 23 Aug 2023 21:45:29 +0000 (17:45 -0400)
commit9cb4937fa27f55a5647f57fae3d26ad2f0d18a42
tree815d1abdd8b7ac0eeaae8776a1da8ba66ec6fb4c
parent85d2a2eff44aa5030b6784e939b8d423e87669d4
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.py