Pin openvswitch packages from UCA 45/58145/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 1 Jun 2018 12:23:28 +0000 (16:23 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 1 Jun 2018 12:23:28 +0000 (16:23 +0400)
Make a pinning of openvswitch packages to get 2.8.1 version.

Change-Id: I2bb78050cebd671ef1dddbac02705e0782fc34c8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_init.yml.j2
mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_init.yml

index f653385..42d4039 100644 (file)
@@ -256,6 +256,10 @@ parameters:
           source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/${_param:openstack_version} main"
           key_id: EC4926EA
           key_server: keyserver.ubuntu.com
+          pin:
+            - pin: 'release o=Canonical'
+              priority: 1200
+              package: 'openvswitch* python-openvswitch'
       kernel:
         sysctl:
           net.ipv4.tcp_congestion_control: yeah
index 7c6ce90..962f5cb 100644 (file)
@@ -104,6 +104,10 @@ parameters:
           source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/${_param:openstack_version} main"
           key_id: EC4926EA
           key_server: keyserver.ubuntu.com
+          pin:
+            - pin: 'release o=Canonical'
+              priority: 1200
+              package: 'openvswitch* python-openvswitch'
       kernel:
         sysctl:
           net.ipv4.tcp_congestion_control: yeah