Wikimedia Release Engineering Team/Train development environment/2020-07-30
Appearance
2020-07-30
[edit]As Always
[edit]- Meeting archive: https://www.mediawiki.org/wiki/Wikimedia_Release_Engineering_Team/Train_development_environment
- Last Time: https://www.mediawiki.org/wiki/Wikimedia_Release_Engineering_Team/Train_development_environment/2020-07-23
- Redone scripting to create train dev environment
- Almost reliable: libvirt ip address collisions still happen
- Lars demos
- "build-train-dev" -- takes one argument -- path for vm image
- Waits for VM to boot and login to ssh
- runs ansible automagically -- may someday replace with puppet -- ansible was the easier path over the nearterm
- "vdc" may be confusing -- i.e., 3rd virtual disk
- lars: may be renamed to "traindev" -- "vdc" == "virtual data center"
- Nested vms, but needs kernel modules to be reloaded, rebooting is the most reliable thing
- Nested vms: git server and deployment server
- Any need to have everyone's host key on the VM? No! https://gerrit.wikimedia.org/r/c/mediawiki/tools/train-dev/+/617543
- Depends on the goals of the VM
- How much ram?
- 8GB currently, but less would likely do
- Bug somewhere with cloud-init
- Scap pull might be a good next target
- Reboot and ssh wait
- retry failed
- Needs to wait after reboot Handled by https://gerrit.wikimedia.org/r/c/mediawiki/tools/train-dev/+/617507
- Phab component:
https://phabricator.wikimedia.org/project/view/4835/
TODOS
[edit]- mostly Done automating building the environment - Lars
- publish an image - Lars
- ssh host keys static - Mukunda
- should fetch a git repo of pub keys in the image to auto update
- scap patch - Mukunda
- deploy-promote
- Everybody: Try to get Lars's image running on local machines
- VirtualBox image coming soon™
- Fix bug that copies pubkeys/* keys into */meta-data https://gerrit.wikimedia.org/r/c/mediawiki/tools/train-dev/+/617543
- Later: CI for train dev
- test the build train dev
- test SSH