Page MenuHomePhabricator

expose hosts in maintenance state so we can prevent scap from running on them
Open, MediumPublic

Description

T78319 ask to prevent scap error reporting on hosts that are under maintenance. To do so we would need an export of such hosts from Icinga which will be consumed by scap.

We are going to use etcd for the varnish caches, so seems it can feed scap as well.

Event Timeline

hashar raised the priority of this task from to Medium.
hashar updated the task description. (Show Details)
hashar added projects: acl*sre-team, Icinga.
hashar added subscribers: Joe, greg, fgiunchedi and 5 others.

That doesn't sound like a very good idea. It should be the other way around: we set hosts under maintenance somewhere else (e.g. etcd ;)) and from there it propagates wherever needed (pybal, icinga, scap).

+1 for just getting etcd tracking the state of all the MW servers and then switching scap to get the list of hosts to update from there rather than the static files left over from the dsh days.

hashar renamed this task from Icinga: expose hosts in maintenance state so we can prevent scap from running on them to expose hosts in maintenance state so we can prevent scap from running on them.May 29 2015, 4:02 PM
hashar updated the task description. (Show Details)
hashar set Security to None.

I have rephrased the task to hint at etcd

+Scap there might be another task already