Last modified: 2013-01-28 15:50:03 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 T45339, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43339 - Deploy git-deploy to the Beta Cluster
Deploy git-deploy to the Beta Cluster
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on: 43340 43729
Blocks: 43338 37078
  Show dependency treegraph
 
Reported: 2012-12-22 01:07 UTC by Rob Lanphier
Modified: 2013-01-28 15:50 UTC (History)
7 users (show)

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


Attachments

Description Rob Lanphier 2012-12-22 01:07:34 UTC
Currently (from what I understand), the Beta Cluster uses shared files in gluster as a "deployment".  We'd like to actually test git-deploy in advance of deploying it in eqiad (bug 43338).
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-03 19:28:44 UTC
The application servers in beta indeed use a shared folder to get Mediawiki files and configuration. The directories are under /data/project
Comment 2 Antoine "hashar" Musso (WMF) 2013-01-03 19:32:21 UTC
I have quickly talked about it with Ryan Lane. He told me git deploy need to be slightly adapted to be usable on beta.  I will have a look at the code base to get familiar with it and then poke Ryan to list out what need to be done :-)
Comment 3 Antoine "hashar" Musso (WMF) 2013-01-07 14:42:01 UTC
Deployment roles for beta: https://gerrit.wikimedia.org/r/42549
Comment 4 Ryan Lane 2013-01-08 00:53:29 UTC
This is going to take a bit of effort to make happen. We don't really have proper openstack integration with saltstack yet, so we may want to wait a little while before we do this.
Comment 5 Antoine "hashar" Musso (WMF) 2013-01-08 10:54:45 UTC
Ryan as I understand it we want to use git-deploy on beta before having it deployed on production. So unless I am mistaken, this is blocking git-deploy deployment :-/
Comment 6 Antoine "hashar" Musso (WMF) 2013-01-09 14:28:59 UTC
I have made two beta projects to use WMF branches:

- enwiktionary php-1.21wmf6
- enwikibooks php-1.21wmf7

https://gerrit.wikimedia.org/r/42951
Comment 7 Antoine "hashar" Musso (WMF) 2013-01-09 15:47:03 UTC
I have updated the cdb file, copied LocalSettings.php from php-master.

The l10n caches (for master / 1.21wmf6 and 1.21wmf7) are being regenerated on deployment-bastion using mw-update-l10n in a screen.
Comment 8 Antoine "hashar" Musso (WMF) 2013-01-10 09:53:16 UTC
Ryan Lane had git-deploy deployed on beta and introduced me to the new system.

We have a beta0 slot for the beta cluster. Since beta runs mediawiki/core.git + mediawiki/extensions.git, Ryan has to update the minion script so it properly update the two levels of submodules.
Comment 9 Antoine "hashar" Musso (WMF) 2013-01-28 15:50:03 UTC
Solved already. Ryan did an awesome job at improving git-deploy for the beta cluster.   That works more or less, I guess we will improve it over the next few weeks.

For now, I guess the goal of having a basic git-deploy setup on beta is fulfilled.

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


Navigation
Links