Page MenuHomePhabricator

Fix monitor_labs_salt_keys.py to handle the new labs naming scheme
Closed, ResolvedPublic

Description

Salt keys will soon be the more reasonable <instance>.<project>.eqiad.wmflabs. monitor_labs_salt_keys.py needs to support that case as well as the old ec2-based case.

Event Timeline

Andrew assigned this task to ArielGlenn.
Andrew raised the priority of this task from to Needs Triage.
Andrew updated the task description. (Show Details)
Andrew added a project: Cloud-Services.
Andrew added subscribers: Aklapper, Andrew.

when you say instance, you mean the ec2 name there, right? or no? give me a sample name with all the pieces in it.

Yes and no. I'm trying to eliminate use of the ec2 ID. So, for example, my instance util-abogott used to have a salt key of 'i-000000ee.eqiad.wmflabs'; now it uses 'i-000000ee.testlabs.eqiad.wmflabs' but soon it will just be 'util-abogott.testlabs.eqiad.wmflabs.'

That last change is pending https://gerrit.wikimedia.org/r/202924

ArielGlenn triaged this task as Medium priority.Jun 17 2015, 2:26 PM
ArielGlenn set Security to None.

yes, changeset merged, code runs fine. closing.