Last modified: 2013-01-09 21:52:41 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 T45729, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43729 - git-deploy minions should get files under /mnt
git-deploy minions should get files under /mnt
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on: 43706
Blocks: 43339
  Show dependency treegraph
 
Reported: 2013-01-08 10:31 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-01-09 21:52 UTC (History)
8 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2013-01-08 10:31:44 UTC
Tim Starling wrote:
---------------------------------------------------------------------
The current setup in deployment-prep has MW directories on a glusterfs
share. This appears to be slow for reads and impractically slow for
writes. Ryan agrees that putting the git-deploy data on a local device
(the root partition or /mnt) is a good idea.
---------------------------------------------------------------------

We talked about that with Sam Reed.  We need puppet to create a /mnt/srv directory and simply link /srv to it.  That will give us a configuration matching production where files are local to the application server box and bypassing the "slow" glusterFS share.
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-08 10:32:56 UTC
CCIng Tim and Sam. Assigning to self.

I need to find out in which puppet class I would put the /mnt/srv and /srv creation in.
Comment 2 Antoine "hashar" Musso (WMF) 2013-01-08 10:46:52 UTC
I have added that as a hack in mediawiki_new puppet module which is required by the applicationserver class:

 https://gerrit.wikimedia.org/r/42743
Comment 3 Antoine "hashar" Musso (WMF) 2013-01-09 18:50:48 UTC
Change merged. /dev/vdb should thus be mounted on /srv .
Comment 4 Antoine "hashar" Musso (WMF) 2013-01-09 20:10:48 UTC
https://gerrit.wikimedia.org/r/#/c/42996/ fixed a typo in change 42743 and https://gerrit.wikimedia.org/r/#/c/43013/ finally made the mount working.

The new /srv mount has been installed by puppet on deployment-jobrunner08 and deployment-video05. The two Apaches box do not get it applied because they use the non existent role::applicationserver class instead of the subclass role::applicationserver::appserver see bug 43706
Comment 5 Antoine "hashar" Musso (WMF) 2013-01-09 21:52:41 UTC
Beta has now /srv mounted to /dev/vdb on all instances using MediaWiki install. That makes this bug useless thus since we are not going to use /mnt in beta but the new /srv.

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


Navigation
Links