Bug 2192580 - [17.1][OVN migration]Trunk VM subport connectivity is broken after VM stop/start (or VM migration)
Summary: [17.1][OVN migration]Trunk VM subport connectivity is broken after VM stop/st...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ga
: 17.1
Assignee: Jakub Libosvar
QA Contact: Roman Safronov
URL:
Whiteboard:
Depends On: 2073182
Blocks: 1857652 2052341
TreeView+ depends on / blocked
 
Reported: 2023-05-02 11:08 UTC by Eran Kuris
Modified: 2023-09-04 20:34 UTC (History)
19 users (show)

Fixed In Version: openstack-neutron-18.6.1-1.20230518200971.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of: 2073182
Environment:
Last Closed: 2023-08-16 01:14:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-24679 0 None None None 2023-05-02 11:10:15 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:15:31 UTC

Comment 27 Ihar Hrachyshka 2023-07-06 14:41:04 UTC
Three points to add here:

- neutron should definitely clean up tpi- interfaces from pre-ovn-migration after live migration is complete. Otherwise ovn-controller on the old host will try to claim the subport there too.

- neutron could work around the issue by also setting requested-chassis= on subport to point to the same chassis as the parent. (Though I don't think it will need to do it once the cleanup mentioned above is applied. I also can't guarantee that such change wouldn't affect something else, e.g. introduce race conditions during a switch of a chassis that would now have to be synchronized for both parent and all its subports in a single transaction. Plus that would require a db sync migration rule in neutron maintenance thread to populate the option for all subports. Overall, I don't recommend doing it.)

- it may be argued that ovn-controller should be smart enough to look at parent port requested-chassis field and not claim subports for parent ports that have a different requested-chassis. This is something to be discussed with ovn team to see if there's a reason it's not done already.

Comment 38 Roman Safronov 2023-07-24 07:30:52 UTC
Verified on RHOS-17.1-RHEL-9-20230719.n.1 with openstack-neutron-ovn-migration-tool-18.6.1-1.20230518200971.el9ost.noarch
Verified that trunk subports are accessible after trunk vm migration or trunk vm reboot on environment where neutron migrated from ovs to ovn. More than 10 builds already passed without this issue.

Comment 44 errata-xmlrpc 2023-08-16 01:14: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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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-2023:4577


Note You need to log in before you can comment on or make changes to this bug.