summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-08-21 15:00:07 -0400
committerTim Rozet <trozet@redhat.com>2017-08-21 15:00:07 -0400
commit807fad268c90649f2901c5f5c4cdeb788a0308e0 (patch)
tree7f916c0c0ab07d9605f915fc955d50e53b357e9c
parent6ea9c7cca9b137f049362a27369edef43470b907 (diff)
Bumps OVS version to 2.8 for OVN
OVS 2.7 does not seem to be available anymore in the copr repo and has been replaced by 2.8. Change-Id: I7ba98f14e9c9c34f6802f8a890876363c839ab9b Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xbuild/overcloud-full.sh4
-rwxr-xr-xlib/overcloud-deploy-functions.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh
index b821a15c..71e8dcfd 100755
--- a/build/overcloud-full.sh
+++ b/build/overcloud-full.sh
@@ -137,8 +137,8 @@ LIBGUESTFS_BACKEND=direct virt-customize \
$fdio_pkg_str \
--run-command "yum install -y /root/fdio/*.rpm" \
--run-command "curl -f https://copr.fedorainfracloud.org/coprs/leifmadsen/ovs-master/repo/epel-7/leifmadsen-ovs-master-epel-7.repo > /etc/yum.repos.d/leifmadsen-ovs-master-epel-7.repo" \
- --run-command "mkdir /root/ovs27" \
- --run-command "yumdownloader --destdir=/root/ovs27 openvswitch*2.7* python-openvswitch-2.7*" \
+ --run-command "mkdir /root/ovs28" \
+ --run-command "yumdownloader --destdir=/root/ovs28 openvswitch*2.8* python-openvswitch-2.8*" \
--upload ${CACHE_DIR}/$kvmfornfv_kernel_rpm:/root/ \
--install python2-networking-sfc \
--install python-etcd,puppet-etcd \
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 9c9ea188..b52d0c28 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -340,8 +340,8 @@ EOI
# so we have to execute a downgrade instead of an update
ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
LIBGUESTFS_BACKEND=direct virt-customize \
- --run-command "cd /root/ovs27 && yum update -y *openvswitch*" \
- --run-command "cd /root/ovs27 && yum downgrade -y *openvswitch*" \
+ --run-command "cd /root/ovs28 && yum update -y *openvswitch*" \
+ --run-command "cd /root/ovs28 && yum downgrade -y *openvswitch*" \
-a overcloud-full.qcow2
EOI
fi