From 8ea1edb53676fdf074694967368747bd6919d682 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 29 Jan 2019 16:15:50 +0100 Subject: [PATCH] [fdio] Pin VPP packages to 18.07-release VPP 18.10 has a weird bug triggered by certain packets, e.g. from inside a guest VM on a compute node, these behave differently: $ udhcpc -x hostname:1234567890123456789012 # works $ udhcpc -x hostname:12345678901234567890123 # confuses VPP on gtw01 To avoid this bug, pin VPP to the previous release, which does not exhibit the issue. Change-Id: I8c1e085731909d4b9296e8b09608887a4b5bfdd6 Signed-off-by: Alexandru Avadanii --- mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml b/mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml index a74fa63a2..d6394a4df 100644 --- a/mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml +++ b/mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml @@ -7,13 +7,19 @@ ############################################################################## --- parameters: + _param: + vpp_version: '18.07-release' linux: system: repo: fdio.ubuntu: # yamllint disable-line rule:line-length source: "deb [trusted=yes] http://nexus.fd.io/content/repositories/fd.io.ubuntu.${_param:linux_system_codename}.main/ ./" - # NOTE(armband): For now we define all repos on all archs, let APT figure it out + pin: + - pin: 'version ${_param:vpp_version}' + priority: 1200 + package: 'vpp*' + # NOTE(armband): For now we define all repos on all archs, let APT figure it out fdio.ubuntu-arm: # yamllint disable-line rule:line-length source: "deb [trusted=yes] http://nexus.fd.io/content/repositories/fd.io.ubuntu-arm.${_param:linux_system_codename}.main/ ./" -- 2.16.6