Jcrespo has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/360172 )
Change subject: mariadb: move db2072 to s1 shard (enwiki)
......................................................................
mariadb: move db2072 to s1 shard (enwiki)
db2072 used to be a temporary pc1 host, move it to enwiki for
reimage + puppet testing.
Bug: T168356
Change-Id: I7a37fa89bb006035e3d4057d4d6f2b6f07d5ae05
---
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
M modules/role/files/prometheus/mysql-parsercache_codfw.yaml
3 files changed, 2 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/72/360172/1
diff --git a/manifests/site.pp b/manifests/site.pp
index 4bd1c79..473b20b 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -388,7 +388,7 @@
}
}
-node /^db20(34|42|48|55|62|69|70|71)\.codfw\.wmnet/ {
+node /^db20(34|42|48|55|62|69|70|71|72)\.codfw\.wmnet/ {
class { '::role::mariadb::core':
shard => 's1',
binlog_format => 'ROW',
@@ -2281,11 +2281,6 @@
node 'pc2006.codfw.wmnet' {
class { '::role::mariadb::parsercache':
shard => 'pc3',
- }
-}
-node 'db2072.codfw.wmnet' {
- class { '::role::mariadb::parsercache':
- shard => 'pc1',
}
}
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index 3c774f5..a2f8633 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -10,6 +10,7 @@
- db2069:9104
- db2070:9104
- db2071:9104
+ - db2072:9104
- labels:
shard: s1
role: master
diff --git a/modules/role/files/prometheus/mysql-parsercache_codfw.yaml
b/modules/role/files/prometheus/mysql-parsercache_codfw.yaml
index 3362481..6b09661 100644
--- a/modules/role/files/prometheus/mysql-parsercache_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-parsercache_codfw.yaml
@@ -3,7 +3,6 @@
role: master
targets:
- pc2004:9104
- - db2072:9104
- labels:
shard: pc2
--
To view, visit https://gerrit.wikimedia.org/r/360172
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a37fa89bb006035e3d4057d4d6f2b6f07d5ae05
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits