Page MenuHomePhabricator
Paste P12779

(An Untitled Masterwork)
ActivePublic

Authored by Marostegui on Sep 24 2020, 5:41 AM.
Tags
None
Referenced Files
F32361677: raw-paste-data.txt
Sep 24 2020, 5:41 AM
Subscribers
None
commit 2611c1289c4c1034787c6b01285a98a842934218
Author: generate-dns-snippets <noc@wikimedia.org>
Date: Thu Sep 24 05:40:48 2020 +0000
marostegui@cumin1001: es2012.codfw.wmnet decommissioned, removing all IPs except the asset tag one
diff --git a/2.193.10.in-addr.arpa b/2.193.10.in-addr.arpa
index 8d65a4b..65787ea 100644
--- a/2.193.10.in-addr.arpa
+++ b/2.193.10.in-addr.arpa
@@ -294,7 +294,6 @@
233 1H IN PTR wmf6758.mgmt.codfw.wmnet.
235 1H IN PTR es2011.mgmt.codfw.wmnet.
235 1H IN PTR wmf6390.mgmt.codfw.wmnet.
-236 1H IN PTR es2012.mgmt.codfw.wmnet.
236 1H IN PTR wmf6391.mgmt.codfw.wmnet.
237 1H IN PTR es2013.mgmt.codfw.wmnet.
237 1H IN PTR wmf6392.mgmt.codfw.wmnet.
diff --git a/32.192.10.in-addr.arpa b/32.192.10.in-addr.arpa
index 6b1286a..0f741f4 100644
--- a/32.192.10.in-addr.arpa
+++ b/32.192.10.in-addr.arpa
@@ -67,7 +67,6 @@
126 1H IN PTR ms-be2020.codfw.wmnet.
127 1H IN PTR ms-be2021.codfw.wmnet.
128 1H IN PTR elastic2045.codfw.wmnet.
-129 1H IN PTR es2012.codfw.wmnet.
130 1H IN PTR es2015.codfw.wmnet.
131 1H IN PTR mwlog2001.codfw.wmnet.
132 1H IN PTR scb2001.codfw.wmnet.
diff --git a/codfw.wmnet b/codfw.wmnet
index 85495af..23dfa43 100644
--- a/codfw.wmnet
+++ b/codfw.wmnet
@@ -189,7 +189,6 @@ elastic2058 1H IN A 10.192.16.205
elastic2059 1H IN A 10.192.32.5
elastic2060 1H IN A 10.192.48.13
es2011 1H IN A 10.192.16.171
-es2012 1H IN A 10.192.32.129
es2013 1H IN A 10.192.48.40
es2015 1H IN A 10.192.32.130
es2016 1H IN A 10.192.48.41
diff --git a/mgmt.codfw.wmnet b/mgmt.codfw.wmnet
index 2637cef..a61a754 100644
--- a/mgmt.codfw.wmnet
+++ b/mgmt.codfw.wmnet
@@ -173,7 +173,6 @@ elastic2058 1H IN A 10.193.1.246
elastic2059 1H IN A 10.193.1.247
elastic2060 1H IN A 10.193.2.13
es2011 1H IN A 10.193.2.235
-es2012 1H IN A 10.193.2.236
es2013 1H IN A 10.193.2.237
es2015 1H IN A 10.193.2.239
es2016 1H IN A 10.193.2.240
METADATA: {"path": "/tmp/dns-c25pcHBldHM-e_eg6t04", "sha1": "2611c1289c4c1034787c6b01285a98a842934218", "insertions": 0, "deletions": 4, "lines": 4, "files": 4}
Have you checked that the diff is OK?
Type "done" to proceed
> done
Failed to run the sre.dns.netbox cookbook
Traceback (most recent call last):
File "/srv/deployment/spicerack/cookbooks/sre/hosts/decommission.py", line 291, in run
dns_netbox_run(dns_netbox_args, spicerack)
File "/srv/deployment/spicerack/cookbooks/sre/dns/netbox.py", line 91, in run
results = netbox_host.run_sync(command)
File "/usr/lib/python3/dist-packages/spicerack/remote.py", line 476, in run_sync
batch_sleep=batch_sleep, is_safe=is_safe)
File "/usr/lib/python3/dist-packages/spicerack/remote.py", line 646, in _execute
raise RemoteExecutionError(ret, 'Cumin execution failed')
spicerack.remote.RemoteExecutionError: Cumin execution failed (exit_code=2)
Failed to run the sre.dns.netbox cookbook: Cumin execution failed (exit_code=2)
**Not all affected DC(s) have been migrated to automatic DNS, a manual patch to the operations/dns repository is required**
ERROR: some step failed, check the task updates.
Updated Phabricator task T263613
END (FAIL) - Cookbook sre.hosts.decommission (exit_code=1)