[PCP-840] pxp-agent logs grow unbounded on AIX Created: 2018/04/04 Updated: 2020/07/07
|Project:||Puppet Communications Protocol|
|Reporter:||Nick Walker||Assignee:||Geoff Nichols|
|Labels:||aix, daemon, logrotate, maintenance|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Method Found:||Customer Feedback|
|CS Frequency:||2 - 5-25% of Customers|
|CS Severity:||3 - Serious|
|CS Business Value:||4 - $$$$$|
|CS Impact:|| On many other OSs we include logrotate with the package. As seen in this ticket the impact is that drives can fill up.
We don't see this with puppet itself because it goes to syslog. Ideally we would either send to syslog or have the agent manage logrotation by itself.
|QA Risk Assessment:||Needs Assessment|
AIX doesn't have log rotate or as far as I can tell any default way to rotate logs so the pxp-agent logs grow indefinitely on a default installation of AIX.
|Comment by Geoff Nichols [ 2018/04/04 ]|
Possibly relevant: http://www-01.ibm.com/support/docview.wss?uid=isg3T1012796
|Comment by Nicky Kernohan [ 2018/04/05 ]|
Workaround via cron
|Comment by Branan Riley [ 2018/04/10 ]|
Since AIX doesn't have these facilities, I don't think we can resolve this in the agent - it would have to be built in to pxp-agent itself. Boost.log supports rotation, so I don't think this would be incredibly difficult on that side. Michael Smith Does it make sense to make this a PCP ticket?
|Comment by Michael Smith [ 2018/04/10 ]|
I think we can reconsider using Boost.log.
|Comment by Yasmin Rajabi [ 2018/05/18 ]|
Hi, what is needed for this ticket to be fixed?