Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1716335

Summary: [OSP16] Live migration time out when using live_migration_wait_for_vif_plug=true with OVN along the patch from 1563110
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: python-networking-ovnAssignee: Maciej Józefczyk <mjozefcz>
Status: CLOSED ERRATA QA Contact: Roman Safronov <rsafrono>
Severity: high Docs Contact:
Priority: high    
Version: 16.0 (Train)CC: amodi, amuller, apevec, bcafarel, chrisw, dhill, ekuris, gregraka, jlibosva, lhh, lmartins, lyarwood, majopela, mbooth, mjozefcz, mwitt, rsafrono, rzaleski, scohen, smooney, twilson
Target Milestone: Upstream M3Keywords: Reopened, Triaged
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-6.1.0-0.20190906113731.4d51416.el8ost Doc Type: Bug Fix
Doc Text:
In Red Hat OpenStack Platform 16.0, live migrations with OVN enabled now succeed, as the flag, `live_migration_wait_for_vif_plug,` is enabled by default. Previously, live migrations failed, because the system was waiting for OpenStack Networking (neutron) to send `vif_plugged` notifications.
Story Points: ---
Clone Of: 1642106
: 1720675 (view as bug list) Environment:
Last Closed: 2020-02-06 14:40:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1767894    
Bug Blocks:    

Comment 16 Jakub Libosvar 2019-07-02 13:46:27 UTC
*** Bug 1710038 has been marked as a duplicate of this bug. ***

Comment 19 Maciej Józefczyk 2019-08-19 08:06:09 UTC
We have found a workaround for this issue and it has been merged to Train: https://review.opendev.org/#/c/673803.
It sets port status from DOWN to UP in specific time in order to generate `network-vif-plugged` notification and allow nova to perform live-migration.

Comment 28 Roman Safronov 2019-11-19 15:49:37 UTC
Tried to verify on 16.0-RHEL-8/RHOS_TRUNK-16.0-RHEL-8-20191115.n.0 with python3-networking-ovn-7.0.1-0.20191113010258.0b17b7b.el8ost.noarch
The scenario did not work properly due to https://bugzilla.redhat.com/show_bug.cgi?id=1767894

Can not be verified until BZ 1767894 is fixed.

Comment 29 Eran Kuris 2019-11-20 08:27:54 UTC
According to comment 28 moving to modify status

Comment 31 Roman Safronov 2019-12-10 10:38:16 UTC
Verified on 16.0-RHEL-8/RHOS_TRUNK-16.0-RHEL-8-20191202.n.1  with python3-networking-ovn-7.0.1-0.20191128040421.0351f5f.el8ost.noarch

Verified that live migration works properly (migration did not stuck, instance actually migrated to another host and was accessible)

[heat-admin@compute-0 ~]$ sudo podman exec -it nova_compute grep live_migr /etc/nova/nova.conf | grep -v '^#'
live_migration_wait_for_vif_plug=True
...

Comment 38 errata-xmlrpc 2020-02-06 14:40:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:0283