2.9.0 is the current version in openstack-queens, but it is buggy.
Remove this when https://review.rdoproject.org/r/#/c/13839/ merges
and 2.9.2 is in the repo.
Change-Id: I68c32d1c59ddb895e347f877a303bf97003cb1bb
Signed-off-by: Sam Hague <shague@redhat.com>
echo '---> Installing openvswitch from relevant openstack branch'
yum install -y "centos-release-openstack-${branch_name}"
-yum install -y --nogpgcheck openvswitch
+# install 2.8.2 for queens.
+# 2.9.0 is the current version in openstack-queens, but it is buggy.
+# Remove this when https://review.rdoproject.org/r/#/c/13839/ merges and 2.9.2 is in the repo.
+if [ "${branch}" == "stable/queens" ]; then
+ yum install -y --nogpgcheck openvswitch-1:2.8.2
+else
+ yum install -y --nogpgcheck openvswitch
+fi
cd "$OLDPWD"
rm -fr tmp