Skip to content

Commit

Permalink
vagrant: Bump 4.9 Vagrant box (Linux 4.9.326, to fix a kernel bug)
Browse files Browse the repository at this point in the history
[ upstream commit 07e7fb0 ]

(Backporters note: only update the v4.9 image, not the cilium-dev image
 because version 232 also contains an updated Go version, i.e. 1.19
 instead of 1.18 still used on the v1.12 branch. This is fine for VM
 images used in tests because they use CI images built by GH actions
 using the proper Go version for the branch.)

We have been hitting a kernel bug on 4.9 for the verifier tests. An
underflow on the memlock rlimit counter, caused by the reallocation of
BPF programs not updating the charged values, makes the counter go under
zero and convert into a huge value, blocking all further loads of BPF
objects [0].

This has been fixed in kernel 4.10 [1], and was backported at last in
4.9.326. We generated a new Ubuntu image based on that, let's update.

[0] #20288
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=5ccb071e97fbd9ffe623a0d3977cc6d013bee93c

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Tobias Klauser <tobias@isovalent.com>
  • Loading branch information
tklauser authored and nebril committed Sep 13, 2022
1 parent c9a62af commit 693a0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vagrant_box_defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
@v419_SERVER_BOX= "cilium/ubuntu-4-19"
@v419_SERVER_VERSION= "65"
@v49_SERVER_BOX= "cilium/ubuntu"
@v49_SERVER_VERSION= "227"
@v49_SERVER_VERSION= "232"

0 comments on commit 693a0cf

Please sign in to comment.