On Tue, Oct 5, 2021 at 3:54 PM Erez Zarum <erezz(a)nanosek.com> wrote:
Hey,
the ovirt-engine runs ansible playbooks and uses the ansible-runner project, what happens
is that if you have a lot of tasks the artifacts of ansible-runner fills up the disk space
of the ovirt-engine.
They are located in /usr/share/ovirt-engine/ansible-runner
There's a config in /etc/ansible-runner-service that controls the artifacts rotation,
for some reason it does not kick in, in general there's a way to manually run the
ansible-runner and let it rotate the artifacts, i want to understand how to do this
without messing up the ovirt-engine.
I think the only thing out-of-the-box that should clean these logs is
logrotate, for which we indeed supply a conf file.
Does logrotate run on your system? Should run daily by default, by cron.
The configuration was changed recently, see also:
https://bugzilla.redhat.com/show_bug.cgi?id=1941507
Best regards,
--
Didi