Page MenuHomePhabricator

Establish a working lightweight (LXC/Docker) MW-Vagrant provider
Closed, ResolvedPublic

Description

We've discussed several times how a lightweight MW-Vagrant provider/provisioner, using either LXC or Docker, would benefit Linux users both locally and in labs. Developers using such a provider locally would benefit from a decreased memory footprint, more efficient CPU utilization, and a less complex filesystem sharing configuration—it would remove vboxsf and NFS from the picture, mitigating performance and permissions complications. Labs users can also look to benefit as it would allow them to use the actual Vagrant client and an isolated environment, not just the current script that approximates our Puppet provisioner.

Event Timeline

dduvall raised the priority of this task from to Needs Triage.
dduvall updated the task description. (Show Details)
dduvall added a subscriber: dduvall.

Change 193664 had a related patch set uploaded (by BryanDavis):
Add support for LXC provider

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

Change 193664 merged by jenkins-bot:
Add support for LXC provider

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

Change 193664 merged by jenkins-bot:
Add support for LXC provider

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

w00t! We seem to have a working LXC container now. See the instructions in support/README-lxc.md for a description of how to use it from a Ubuntu 14.04 host computer. Patches are welcome giving alternate instructions for other distributions.

Note that Vagrant 1.7+ is required for the latest version of the vagrant-lxc plugin that this uses so you will probably not be able to install Vagrant from a package repo unless you are currently running Debian unstable.

Change 193665 had a related patch set uploaded (by BryanDavis):
[WIP] Add role::mediawiki_vagrant_lxc

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

bd808 triaged this task as Medium priority.

It is time to promote Wikimedia-Hackathon-2015 activities in the program (training sessions and meetings) and main wiki page (hacking projects and other ongoing activities). Follow the instructions, please. If you have questions, about this message, ask here.

Did someone work on this project during Wikimedia-Hackathon-2015? If so, please update the task with the results. If not, please remove the label.

bd808 changed the task status from Open to Stalled.Jul 6 2015, 4:29 PM

I haven't found any time or energy to work on this for quite a while and moving forward with the idea of replacing labs-vagrant is blocked on techops help with apt packaging.

Resolving this task based on the completion of https://gerrit.wikimedia.org/r/193664 which provides basic vagrant-lxc support for MediaWiki-Vagrant. I have split out T106213: Implement a vagrant-lxc based mediawiki-vagrant system to replace labs-vagrant to track the separate but related goal of using Vagrant, LXC and MediaWiki-Vagrant on a Labs instance.