From fd6adb3e5b11fce9318056d8342a2f84d5673714 Mon Sep 17 00:00:00 2001 From: Jakub Libosvar Date: Mon, 13 Jun 2022 16:14:51 -0400 Subject: [PATCH] migration: Remove restarting OVS There was a code that worked around a bug in openvswitch. The bug was fixed in openvswitch 2.13 and we no longer use that version. It's safe to be removed now. Change-Id: I8d0e1dac4f6a6d201e29863cc76db3f1ff8595ae Signed-off-by: Jakub Libosvar --- .../playbooks/roles/migration/templates/activate-ovn.sh.j2 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tools/ovn_migration/tripleo_environment/playbooks/roles/migration/templates/activate-ovn.sh.j2 b/tools/ovn_migration/tripleo_environment/playbooks/roles/migration/templates/activate-ovn.sh.j2 index 72e8d694d71..2fa4f4253d4 100644 --- a/tools/ovn_migration/tripleo_environment/playbooks/roles/migration/templates/activate-ovn.sh.j2 +++ b/tools/ovn_migration/tripleo_environment/playbooks/roles/migration/templates/activate-ovn.sh.j2 @@ -28,13 +28,6 @@ ovs-vsctl del-controller {{ ovn_bridge }} # Activate ovn-controller by configuring integration bridge ovs-vsctl set open . external_ids:ovn-bridge={{ ovn_bridge }} -# WORKAROUND for https://bugzilla.redhat.com/show_bug.cgi?id=1782834 -# By restarting ovs-vswitchd process, new connection is made based -# on the protocols values set in OVS database. OVS 2.13 by default -# implements OpenFlow protocols up to 1.5 and 1.5 is the one that -# is required by ovn-controller. -systemctl restart openvswitch - podman start ovn_controller # Delete ovs bridges - br-tun and br-migration