In the context of T378038 I looked at how to display the current pool status of all sites.
https://wikitech.wikimedia.org/wiki/DNS#Change_GeoDNS_/_Depool_a_Site mentions the command cookbook sre.dns.admin show for this.
When running this I noticed an exception is being raised:
[cumin2002:~] $ sudo cookbook sre.dns.admin show
=> CURRENT STATE:
text-addrs: pooled at all sites
text-next: pooled at all sites
upload-addrs: pooled at all sites
ncredir-addrs: pooled at all sites
Exception raised while initializing the Cookbook sre.dns.admin:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/spicerack/_menu.py", line 199, in run
runner = self.instance.get_runner(args)
File "/srv/deployment/spicerack/cookbooks/sre/dns/admin.py", line 47, in get_runner
return DNSAdminRunner(args, self.spicerack)
File "/srv/deployment/spicerack/cookbooks/sre/dns/admin.py", line 78, in __init__
raise RuntimeError("show action called; outputting current admin_state. No changes were made.")
RuntimeError: show action called; outputting current admin_state. No changes were made.