HomePhabricator

contint: tidy Nodepool slaves config history
698c199122baUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

contint: tidy Nodepool slaves config history

Nodepool spawns Jenkins slaves as non ephemeral slaves, that causes the
Jenkins config history plugin to save the configuration each time a node
is spwaned under /var/lib/jenkins/config-history/nodes. Once 32k entries
have been created, the file system refuses to add any more sub
directories and no more instances can be spawned (T127131).

A previous attempt 4bbfd3b9 used Puppet built-in tidy but its matches is
based on the file basename which is not what we want.

Use tmpreaper to garbage collect all slaves config history after seven
days.

Bug: T126552
Change-Id: I8405c5cb0121348626e27c37a8a69e987bb29766

Details

Provenance
hasharAuthored on Jul 20 2016, 7:39 PM
ChangeId
I8405c5cb0121348626e27c37a8a69e987bb29766

Commit No Longer Exists

This commit no longer exists in the repository.