summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-06-01 16:23:28 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-06-01 16:23:28 +0400
commitd40f28f51bd8a7c683f01db265833b17c98dcf8a (patch)
tree8d8d40fb5d5f1d5d024fd3c3cacaa53ed3a350f8 /mcp
parente590566034d9f1564bbd8b6e6c3c4d9070ae24a3 (diff)
Pin openvswitch packages from UCA
Make a pinning of openvswitch packages to get 2.8.1 version. Change-Id: I2bb78050cebd671ef1dddbac02705e0782fc34c8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_init.yml.j24
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_init.yml4
2 files changed, 8 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_init.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_init.yml.j2
index f6533855b..42d403999 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_init.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_init.yml.j2
@@ -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
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_init.yml b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_init.yml
index 7c6ce90b7..962f5cb03 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_init.yml
+++ b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_init.yml
@@ -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