Closed Bug 1428919 Opened 6 years ago Closed 6 years ago

Raise minimum Vagrant Bento box_version to pick up recent kernel updates

Categories

(Tree Management :: Treeherder, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

Details

Attachments

(1 file)

Let's raise the minimum box version to ensure it has the latest Meltdown/Spectre patches.

https://app.vagrantup.com/bento/boxes/ubuntu-16.04
The initial batch of updates should be out on 9th:
https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/SpectreAndMeltdown
I found a bug with the Bento image cleanup script that breaks us just using `apt-get dist-upgrade` to update the kernel:
https://github.com/chef/bento/issues/975

Given that and there likely be other updates coming out soon, we should wait until Bento roll a new image version that has these built-in.
The new Bento image release is out, so we can proceed with this.

Whilst making the changes I hit a Vagrant bug, which I've filed as:
https://github.com/hashicorp/vagrant/issues/9452
Attachment #8948854 - Flags: review?(cdawson)
Attachment #8948854 - Flags: review?(cdawson) → review+
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/b7ec45cd3edcb7ebf28044d962fa7065e7358774
Bug 1428919 - Vagrant: Update to latest Bento image (#3202)

To pick up the newer kernel/security updates. Only takes effect when
people destroy/recreate their VM, so also adds a `dist-upgrade` to
upgrade existing boxes. (The older Bento box had a broken kernel
config so `dist-upgrade` can't upgrade the kernel, but it's better
than nothing.)

Also switches the Hyper-V provider to the Bento images for parity,
since Bento now create Hyper-V variants too.

The `box` name cannot be factored out of the provider blocks due to:
https://github.com/hashicorp/vagrant/issues/9452
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
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: