Last modified: 2012-06-26 15:45:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39161, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37161 - Use operations/mediawiki-config gerrit repo for beta
Use operations/mediawiki-config gerrit repo for beta
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-28 15:06 UTC by Krinkle
Modified: 2012-06-26 15:45 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2012-05-28 15:06:15 UTC
Right now there is beta-specific stuff:
* inline in the production configuration files with if-cluster
* in the non-standard file InitializeSettingsDeploy.php that exists only on the beta server, and included through a patch in wmf-config

wmf-config:
* CommonsSettings.php
* InitializeSettings.php
* ...
* production/
 - PrivateSettings.php (only in local repo in production/fenari)
 - ClusterSettings.php (contains stuff specific to the cluster)
 - db.php
 - mc.php
* beta/
 - PrivateSettings.php (only in local repo on beta/deployment-dbdump)
 - ClusterSettings.php (contains stuff specific to the cluster)
 - db.php
 - mc.php

We still need a way to guide the inclusion of the right directory though. Maybe an environmental variable can be used? Hashar suggested /etc/profile maybe
Comment 1 Krinkle 2012-05-28 15:27:27 UTC
<hashar>  or /etc/cluster
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-28 17:03:00 UTC
/etc/cluster would be great, I am not sure how bad it is to have every request doing a stat + read that file.

Note that on deployment-prep project, the machine deployment-dbdump has a file /etc/cluster which contains 'pmtpa' !!! ;-D
Comment 3 Antoine "hashar" Musso (WMF) 2012-06-21 15:30:36 UTC
Assigning this bug to myself.

The config is still synced manually for now.

One idea would be to have a /etc/wikimedia-realm file containing puppet $::realm variable. Change is:

https://gerrit.wikimedia.org/r/12377
Comment 4 Antoine "hashar" Musso (WMF) 2012-06-25 15:25:37 UTC
I have made a good progress on that item. We still have to sort out the wgRC2UDPAddress though.
Comment 5 Antoine "hashar" Musso (WMF) 2012-06-26 15:45:46 UTC
I have done the migration this morning. Old common is in /usr/local/apache/common-back so we can fetch from it if anything is missing from the git repo.

I have checked wgRC2UDPAddress:

$ mwscript eval.php --wiki=commonswiki
> var_dump( $wgRC2UDPAddress );
bool(false)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links