Marostegui has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/375779 )

Change subject: mariadb: Remove db1037 for decomm
......................................................................

mariadb: Remove db1037 for decomm

db1037 is going to be decommissioned

Bug: T174902
Change-Id: I7adef5c6f3d7f8a567e97ba0e2c64af414f3d029
---
D hieradata/hosts/db1037.yaml
M manifests/site.pp
M modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200
M modules/role/files/prometheus/mysql-core_eqiad.yaml
4 files changed, 7 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/79/375779/1

diff --git a/hieradata/hosts/db1037.yaml b/hieradata/hosts/db1037.yaml
deleted file mode 100644
index f41d15a..0000000
--- a/hieradata/hosts/db1037.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
-mariadb::shard: 's6'
-mariadb::socket: '/tmp/mysql.sock'
diff --git a/manifests/site.pp b/manifests/site.pp
index ccfb8c3..22c2a76 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -510,7 +510,7 @@
     role(mariadb::core)
 }
 
-node /^db10(30|37|50|85|88|93|98)\.eqiad\.wmnet/ {
+node /^db10(30|50|85|88|93|98)\.eqiad\.wmnet/ {
     role(mariadb::core)
 }
 
@@ -519,6 +519,12 @@
     role(spare::system)
 }
 
+# To be decommissioned in T174902
+node 'db1037.eqiad.wmnet' {
+    role(spare::system)
+}
+
+#
 # s6 core production dbs on codfw
 # codfw master
 node 'db2028.codfw.wmnet' {
diff --git a/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200 
b/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200
index 253563f..f94fd3e 100644
--- a/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200
+++ b/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200
@@ -997,13 +997,6 @@
     filename "trusty-installer/ubuntu-installer/amd64/pxelinux.0";
 }
 
-host db1037 {
-    hardware ethernet 78:2b:cb:0a:04:00;
-    fixed-address db1037.eqiad.wmnet;
-    option pxelinux.pathprefix "trusty-installer/";
-    filename "trusty-installer/ubuntu-installer/amd64/pxelinux.0";
-}
-
 host db1038 {
     hardware ethernet 84:2b:2b:18:59:3e;
     fixed-address db1038.eqiad.wmnet;
diff --git a/modules/role/files/prometheus/mysql-core_eqiad.yaml 
b/modules/role/files/prometheus/mysql-core_eqiad.yaml
index b869a03..5e4cf75 100644
--- a/modules/role/files/prometheus/mysql-core_eqiad.yaml
+++ b/modules/role/files/prometheus/mysql-core_eqiad.yaml
@@ -91,7 +91,6 @@
     role: slave
   targets:
   - db1030:9104
-  - db1037:9104
   - db1050:9104
   - db1085:9104
   - db1088:9104

-- 
To view, visit https://gerrit.wikimedia.org/r/375779
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7adef5c6f3d7f8a567e97ba0e2c64af414f3d029
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to