Page MenuHomePhabricator

Labs: puppetize stripe_cache_size tweaks on labstores
Closed, ResolvedPublic

Description

This helped alleviate the pressure greatly on the 2015-04-13 labstore outage and needs to be made permanent.

Event Timeline

coren claimed this task.
coren raised the priority of this task from to Unbreak Now!.
coren updated the task description. (Show Details)
coren added a subscriber: coren.

This isn't a real sysctl, and only becomes available once the devices are assembled. Given that setting the size is an idempotent operation, the easiest thing to do is to just do it every puppet run (otherwise we need to complicate things by making an event-base udev response to the appearance of a disk for no immediately obvious benefit).

Change 204932 had a related patch set uploaded (by coren):
Labs: set_strip_cache for labstores

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

Change 204932 merged by coren:
Labs: set_strip_cache for labstores

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

coren removed a project: Patch-For-Review.
coren set Security to None.

Deployed.

Turns out puppet doesn't reliably run the script; this needs to be changed to cron.

Change 216976 had a related patch set uploaded (by coren):
Labs: move set-stripe-cache to cron

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

coren moved this task from Code Review / Blocked to Done on the Labs-Sprint-102 board.