[fdio] Pin VPP packages to 18.07-release 71/66771/3
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 29 Jan 2019 15:15:50 +0000 (16:15 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 29 Jan 2019 15:22:41 +0000 (16:22 +0100)
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 <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml

index a74fa63..d6394a4 100644 (file)
@@ -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/ ./"