install 2.8.2 for queens 16/73816/2
authorSam Hague <shague@redhat.com>
Fri, 6 Jul 2018 20:37:46 +0000 (16:37 -0400)
committerSam Hague <shague@redhat.com>
Fri, 6 Jul 2018 21:45:29 +0000 (21:45 +0000)
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>
packer/provision/devstack-pre-pip.sh

index 821fb38aa11e4d308fc8e763d9785af9d99cbbca..f77336fab666ec9748b38c982254c42fc7c3e913 100644 (file)
@@ -54,7 +54,14 @@ done
 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