
Hi, if you are talking about the `/var/log/ovirt-engine/ansible-runner-service.log`. The logrotate is located in `/etc/logrotate.d/ansible-runner-service` and should archive weekly. Should work automatically from ansible-runner-service 1.0.7. The logroate includes daily the `/etc/logrotate.d` in `/etc/cron.daily/logrotate` so it should be loaded. It is possible that you have broken the logrotate/cron. Martin Necas On Tue, Oct 5, 2021 at 4:19 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Oct 5, 2021 at 3:54 PM Erez Zarum <erezz@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 _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/LKFBMJT5SPTKQZ...