Page MenuHomePhabricator

Solve logrotating on wmf-pt-kill
Closed, ResolvedPublic

Description

The debian package mentioned in T203674 and T183983 is finished and already deployed to production, but misses one key element: we don't have logrotate feature with the logfile it provides.
The logrotate could be done by puppet or with the package itself, its TBD. (I'd go with packaging it into the deb package, because it will be easier to install/remove the feature across the hosts, but I want to check this first.)

Event Timeline

Banyek triaged this task as Medium priority.Oct 9 2018, 11:45 AM
Banyek moved this task from Triage to Backlog on the DBA board.

Change 466886 had a related patch set uploaded (by Banyek; owner: Banyek):
[operations/debs/wmf-pt-kill@master] wmf-pt-kill: logrotate feature added

https://gerrit.wikimedia.org/r/466886

Change 466886 merged by Banyek:
[operations/debs/wmf-pt-kill@master] wmf-pt-kill: logrotate feature added

https://gerrit.wikimedia.org/r/466886

Mentioned in SAL (#wikimedia-operations) [2018-10-19T08:53:47Z] <banyek> adding wmf-pt-kill_2.2.20-1+wmf4 package for stretch (T206521)

The first logrotation event happened on all the hosts and the service restarted as should be; new logfile was created.
Everything works!