Last modified: 2014-04-29 20:47:38 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 T65746, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63746 - Use scap to deploy on apaches
Use scap to deploy on apaches
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Bryan Davis
:
Depends on:
Blocks: 51494
  Show dependency treegraph
 
Reported: 2014-04-09 20:51 UTC by Bryan Davis
Modified: 2014-04-29 20:47 UTC (History)
7 users (show)

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


Attachments

Description Bryan Davis 2014-04-09 20:51:10 UTC
Scap is the deployment tool used for production cluster deploys and one of the goals of beta is to track production as closely as is reasonable (bug 51494). Using scap to push MediaWiki updates across the beta cluster will provide a good test of changes to the scap codebase. It may also improve the speed of the wikis in beta slightly by allowing them to use local storage rather than NFS for l10n cache and the MediaWiki php code.

There was a previous effort for this documented in bug 37078 which was WONTFIXED a year ago. At that time git-deploy (nee trebuchet) was slated as the replacement. Although git-deploy was configured (see bug 43339) at some point this was abandoned and shared disk became the method of deployment again.
Comment 1 Bryan Davis 2014-04-09 20:59:53 UTC
I have actually been working towards this since the start of the eqiad labs migration for deployment-prep. Thus far we (Antoine, Ryan and myself) have established a project local puppet master and a dedicated salt server that remove many previous roadblocks to making sweeping changes to the beta environment.

I have recently made puppet changes to configure a dedicated user (mwdeploy) to have ssh access across the beta cluster. I will continue to build on that with more puppet-managed configuration that will replicate the master-slave rsync servers used in production and associated configuration needed in scap itself.

The end goal here will be to have scap triggered automatically by jenkins each time that the current shared code checkout is updated. This will push the latest code and configuration changes staged into beta by jenkins out to the apaches.
Comment 2 Gerrit Notification Bot 2014-04-09 21:25:54 UTC
Change 123674 had a related patch set uploaded by BryanDavis:
[WIP] Configure scap master and clients in beta

https://gerrit.wikimedia.org/r/123674
Comment 3 Gerrit Notification Bot 2014-04-11 00:01:22 UTC
Change 125359 had a related patch set uploaded by BryanDavis:
Fix IRCSocketHandler to work from Jenkins

https://gerrit.wikimedia.org/r/125359
Comment 4 Bryan Davis 2014-04-11 00:08:56 UTC
An experimental Jenkins job (https://integration.wikimedia.org/ci/job/beta-scap-eqiad/) has been created to run a scap after each beta-code-update-eqiad job finishes. This will probably need some tweaks but we are getting pretty close to a working setup.
Comment 5 Gerrit Notification Bot 2014-04-11 01:20:28 UTC
Change 125359 merged by jenkins-bot:
Fix IRCSocketHandler to work from Jenkins

https://gerrit.wikimedia.org/r/125359
Comment 6 Gerrit Notification Bot 2014-04-11 21:45:52 UTC
Change 125515 had a related patch set uploaded by BryanDavis:
Make logging destinations configurable

https://gerrit.wikimedia.org/r/125515
Comment 7 Bryan Davis 2014-04-17 15:20:02 UTC
deployment-{apache0[12],videoscaler01,jobrunner01} are now using the copy of MediaWiki that scap manages in /srv/common-local.
Comment 8 Gerrit Notification Bot 2014-04-18 19:21:50 UTC
Change 125515 merged by jenkins-bot:
Make logging destinations configurable

https://gerrit.wikimedia.org/r/125515
Comment 9 Gerrit Notification Bot 2014-04-20 20:15:22 UTC
Change 123674 merged by Ori.livneh:
Configure scap master and clients in beta

https://gerrit.wikimedia.org/r/123674
Comment 10 Gerrit Notification Bot 2014-04-22 15:27:52 UTC
Change 127399 had a related patch set uploaded by BryanDavis:
Move beta scap source directory off of NFS

https://gerrit.wikimedia.org/r/127399
Comment 11 Gerrit Notification Bot 2014-04-29 20:34:34 UTC
Change 127399 merged by Ori.livneh:
Move beta scap source directory off of NFS

https://gerrit.wikimedia.org/r/127399

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


Navigation
Links