BBlack has submitted this change and it was merged.

Change subject: cache_misc: pybal_config: use puppetmaster1001.eqiad only
......................................................................


cache_misc: pybal_config: use puppetmaster1001.eqiad only

Ideally this should be an LVS service, but even if we converted to
the LVS model, we'd end up with config-master.svc.eqiad.wmnet and
.codfw.wmnet each mapping to a single host in that DC, and then
we'd only use the eqiad one here, as cache_misc doesn't really do
multi-dc (yet).  We probably shouldn't have been doing what we're
doing anyways, as it breaks that model and sends some requests
cross-dc without crypto.

Bug: T147847
Change-Id: I586f5b65cea5ce89c95c10415be0667401617142
---
M modules/role/manifests/cache/misc.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Giuseppe Lavagetto: Looks good to me, but someone else must approve
  BBlack: Verified; Looks good to me, approved



diff --git a/modules/role/manifests/cache/misc.pp 
b/modules/role/manifests/cache/misc.pp
index af236ba..815864e 100644
--- a/modules/role/manifests/cache/misc.pp
+++ b/modules/role/manifests/cache/misc.pp
@@ -201,7 +201,7 @@
         'pybal_config' => {
             'dynamic'  => 'no',
             'type'     => 'random',
-            'backends' => keys(hiera('puppetmaster::servers')),
+            'backends' => ['puppetmaster1001.eqiad.wmnet'],
             'be_opts'  => $app_def_be_opts,
             'req_host' => 'config-master.wikimedia.org',
         },

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I586f5b65cea5ce89c95c10415be0667401617142
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <bbl...@wikimedia.org>
Gerrit-Reviewer: BBlack <bbl...@wikimedia.org>
Gerrit-Reviewer: Ema <e...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to