Fixes OVN scenario 25/56025/1
authorTim Rozet <trozet@redhat.com>
Tue, 17 Apr 2018 17:54:27 +0000 (13:54 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 19 Apr 2018 02:13:06 +0000 (02:13 +0000)
The OVN scenario would not deploy due to failures in trying to upgrades
to OVS 2.8 from OVS 2.7

JIRA: APEX-594.

Change-Id: Id84e488da8d2335f2240930c68119d0e2f6faf9c
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit ee70c386a8560303693082f449543ad36f0f2f9c)

apex/overcloud/deploy.py

index eb7aefa..3fb812e 100644 (file)
@@ -408,14 +408,6 @@ def prep_image(ds, ns, img, tmp_dir, root_pw=None, docker_tag=None,
         if docker_tag:
             patched_containers = patched_containers.union({'opendaylight'})
 
-    if sdn == 'ovn':
-        virt_cmds.extend([
-            {con.VIRT_RUN_CMD: "cd /root/ovs28 && yum update -y "
-                               "*openvswitch*"},
-            {con.VIRT_RUN_CMD: "cd /root/ovs28 && yum downgrade -y "
-                               "*openvswitch*"}
-        ])
-
     if patches:
         if ds_opts['os_version'] == 'master':
             branch = ds_opts['os_version']