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.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add support for LXC provider | mediawiki/vagrant | master | +75 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | bd808 | T106213 Implement a vagrant-lxc based mediawiki-vagrant system to replace labs-vagrant | |||
Resolved | bd808 | T90892 Establish a working lightweight (LXC/Docker) MW-Vagrant provider |
Event Timeline
Change 193664 had a related patch set uploaded (by BryanDavis):
Add support for LXC provider
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
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.
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.