Switch the Vagrant environment from Ubuntu 14.04 to 16.04

RESOLVED FIXED

Status

P2
normal
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

(Blocks: 1 bug)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
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.
Created attachment 8866003 [details] [review]
[treeherder] mozilla:vagrant-ubuntu-16.04 > mozilla:master
(Assignee)

Updated

2 years ago
Attachment #8866003 - Flags: review?(cdawson)

Updated

2 years ago
Attachment #8866003 - Flags: review?(cdawson) → review+

Comment 2

2 years ago
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.
(Assignee)

Updated

2 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
(Assignee)

Updated

a year ago
Blocks: 1365567
You need to log in before you can comment on or make changes to this bug.