Page MenuHomePhabricator

allow non-roots to pool/depool certain DNS Discovery services
Open, MediumPublic

Description

This came up in the context of @Addshore wanting to Discovery-depool all of WDQS@eqiad, since those servers were all badly lagged and one was depooled anyway.

The existing wdqs-admins privileges list already allows the pool/depool commands, but those don't allow you to manipulate DNS Discovery.

I think a reasonable implementation would be a discovery-depool / discovery-pool script that took the dnsdisc service name as its first argument (so that it is easy to express in sudoers rules a limit on which services can be modified by a given team), and a datacenter name as its second argument.

Event Timeline

CDanis triaged this task as Medium priority.Apr 18 2020, 2:22 PM

Any opinions on which SRE subteam should be tagged? Is the pooling tooling (;p) software, serviceops or infra foundations to you? Just asking because the new clinic duty dashboard asks us to process tickets that are only tagged SRE but nothing more specific.