Closed Bug 1363444 Opened 7 years ago Closed 7 years ago

Switch the Vagrant environment from Ubuntu 14.04 to 16.04

Categories

(Tree Management :: Treeherder, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Heroku has just made their Heroku-16 (Ubuntu 16.04) stack the default. With it comes a much nicer docker image that we can use for a docker-based development environment (bug 1169263).

As a first step prior to using this Heroku Ubuntu 16.04 docker image for development and/or switching stage/prod to the Heroku 16 stack, we should switch the vagrant environment.

This is now easier after bug 1363333, since the fkrull/deadsnakes PPA doesn't have a Python 2.7.x release for Xenial.
Attachment #8866003 - Flags: review?(cdawson)
Attachment #8866003 - Flags: review?(cdawson) → review+
Commits pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/de7b3973c303ca214a7e2724a1344ed2d63a252e
Bug 1363444 - Vagrant: Update to Ubuntu 16.04

At some point soon we'll want to switch Heroku stage/production to
their new Heroku-16 (Ubuntu 16.04) stack, so it makes sense to trial
it locally first. Their Heroku-16 docker image will make switching
to docker simpler too.

Notable changes to the provision steps:
* We're using the Bento boxes rather than the 'official' Canonical
  ones, at the recommendation of Vagrant:
  https://www.vagrantup.com/docs/boxes.html#official-boxes
* openjdk-8-jre-headless is now available from the ubuntu.com
  repository, so doesn't require a PPA.
* There isn't an official mysql-server-5.6 package (only 5.7+), so
  we have to start using a PPA.
* Services must now be managed using systemd rather than SysV init.
* The `eth0` network interface has changed name:
  https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
* The `vendor-libmysqlclient.sh` script will still be run on Ubuntu
  14.04 on Travis/Heroku for now, so has to be compatible with both.
* The previous temporary cleanup steps can be removed since the
  vagrant destroy means a clean slate.

https://github.com/mozilla/treeherder/commit/1a405406bfe6db9e82b683f2a39f4e00c3e8f119
Bug 1363444 - Vagrant: Raise minimum Vagrant version to 1.9.0+

Later versions have fixed various compatibility bugs with newer
virtualbox/Ubuntu releases, including bugs that affected the Bento
boxes.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 1365567
Component: Treeherder: Docs & Development → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: