ironic has no logrotate configuration, meaning that the logs can grow quite large. One should be included by default with the packaging. See the other openstack packages for examples. For instance, the config for heat looks like: [root@instack ~]# cat /etc/logrotate.d/openstack-heat /var/log/heat/*.log { rotate 14 size 10M missingok compress copytruncate }
Hey Lucas, Any news on this? This bug has been targeted at OSP v7 and we're already looking at OSP 9/10. Any chance we're going to have logrotation by default in any of the aforementioned? Best, Irina
Created attachment 1172917 [details] Add log rotate configuration OSP7
(In reply to Irina Petrova from comment #4) > Hey Lucas, > > Any news on this? > Hi Irina, I can confirm there's no logrotate configuration for the openstack-ironic package in OSP7 [0], I've created a patch for it and I'm adding Lon to the need additional information form because I don't know how I can submit the change for OSP7. I've also checked the openstack-ironic spec in RDO [1] and it already includes the logrotate configuration. [0] http://pkgs.devel.redhat.com/cgit/rpms/openstack-ironic/tree/?h=rhos-7.0-rhel-7 [1] https://www.rdoproject.org/documentation/rdo-packaging/#distgit---where-the-spec-file-lives
As a note, we can apply the same patch (attached) for OSP8, it doesn't conflict.
Hi. We seem to have 2 customers already facing the problem, I guess we need clear statement on when we can expect to have this done for 7 & 8. Thank you. Cheers Jan
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1468
*** Bug 1280408 has been marked as a duplicate of this bug. ***