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

Bug 1852389

Summary: [OVN migration] ML2/OVS agents are still running after the migration
Product: Red Hat OpenStack Reporter: Roman Safronov <rsafrono>
Component: python-networking-ovnAssignee: Jakub Libosvar <jlibosva>
Status: CLOSED ERRATA QA Contact: Roman Safronov <rsafrono>
Severity: high Docs Contact:
Priority: urgent    
Version: 16.1 (Train)CC: apevec, jamsmith, jlibosva, jpretori, lhh, majopela, mjozefcz, scohen, spower
Target Milestone: z1Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-7.2.1-0.20200611133437.15f2281.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-27 15:20:02 UTC Type: Bug
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: 1862888, 1865907    
Bug Blocks:    

Description Roman Safronov 2020-06-30 10:32:43 UTC
Description of problem:
After migration from ml2ovs to ml2ovn instances fips can be accessed from undercloud.

I tried with manual install according to https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/networking_with_open_virtual_network/migrating-ml2ovs-to-ovn

and also with d/s CI job

Result was same. Migration fails on TASK [resources/validate : Run the validation script] due to unreachable fips.


Network agent list look as follows:
(overcloud) [stack@undercloud-0 ~]$ openstack network agent list
+--------------------------------------+------------------------------+---------------------------+-------------------+-------+-------+-------------------------------+
| ID                                   | Agent Type                   | Host                      | Availability Zone | Alive | State | Binary                        |
+--------------------------------------+------------------------------+---------------------------+-------------------+-------+-------+-------------------------------+
| 17f3e127-1cc2-49ed-842d-fff231ce0a7d | L3 agent                     | controller-0.redhat.local | nova              | XXX   | UP    | neutron-l3-agent              |
| 1c078ddb-59f7-499c-a65a-428e916c247a | DHCP agent                   | controller-0.redhat.local | nova              | XXX   | UP    | neutron-dhcp-agent            |
| 2bd928c5-8e45-47eb-b1b0-f1dbace861d7 | Metadata agent               | controller-2.redhat.local | None              | XXX   | UP    | neutron-metadata-agent        |
| 3e458c67-e813-4cce-adba-2d4f8578cc19 | L3 agent                     | controller-1.redhat.local | nova              | XXX   | UP    | neutron-l3-agent              |
| 52abcfd3-a855-4424-8265-2edd6f586a29 | DHCP agent                   | controller-2.redhat.local | nova              | XXX   | UP    | neutron-dhcp-agent            |
| 86bfaa9e-d2fe-42bc-830d-d5bb1042e0be | Metadata agent               | controller-1.redhat.local | None              | XXX   | UP    | neutron-metadata-agent        |
| 8a8e1d44-bfd7-4eb9-a46a-0b3212fc87ee | L3 agent                     | controller-2.redhat.local | nova              | XXX   | UP    | neutron-l3-agent              |
| abd87d18-9273-4cb9-b127-a80c5eff1b5b | Open vSwitch agent           | controller-0.redhat.local | None              | XXX   | UP    | neutron-openvswitch-agent     |
| ac121a60-e405-4078-a606-bd15af3f4166 | DHCP agent                   | controller-1.redhat.local | nova              | XXX   | UP    | neutron-dhcp-agent            |
| ce9d48f5-7093-400b-83f4-6dfdf2672e34 | Open vSwitch agent           | controller-2.redhat.local | None              | XXX   | UP    | neutron-openvswitch-agent     |
| ceb1df7a-6dfb-4f48-82dd-df41b5677764 | Open vSwitch agent           | compute-0.redhat.local    | None              | XXX   | UP    | neutron-openvswitch-agent     |
| d6e7a0e6-2012-4a71-9749-ba6471678b28 | Metadata agent               | controller-0.redhat.local | None              | XXX   | UP    | neutron-metadata-agent        |
| de7057bd-b69d-4f01-8d78-c8ac10a59fe0 | Open vSwitch agent           | compute-1.redhat.local    | None              | XXX   | UP    | neutron-openvswitch-agent     |
| e0d3521e-cf4a-4f3d-8d73-70b1aa16d93d | Open vSwitch agent           | controller-1.redhat.local | None              | XXX   | UP    | neutron-openvswitch-agent     |
| 2cd132e6-48eb-47bf-85f2-3d508a15b00a | OVN Controller agent         | compute-0.redhat.local    | n/a               | XXX   | UP    | ovn-controller                |
| 133cd6ba-f687-4f15-8527-964dd4c476a9 | OVN Metadata agent           | compute-0.redhat.local    | n/a               | :-)   | UP    | networking-ovn-metadata-agent |
| 0310faea-f48e-4dbd-a2f8-dead1314f13d | OVN Controller agent         | compute-1.redhat.local    | n/a               | XXX   | UP    | ovn-controller                |
| f91bf90d-6549-486e-ada8-f318554d7968 | OVN Metadata agent           | compute-1.redhat.local    | n/a               | :-)   | UP    | networking-ovn-metadata-agent |
| aecc09bb-08da-4175-9659-7fc8f55ca7ef | OVN Controller Gateway agent | controller-1.redhat.local | n/a               | XXX   | UP    | ovn-controller                |
| cedd049c-b6d5-4c42-98bf-13656a683fd7 | OVN Controller Gateway agent | controller-0.redhat.local | n/a               | XXX   | UP    | ovn-controller                |
| 1b7c6eb2-7841-4a97-b7ca-44a4889862c3 | OVN Controller Gateway agent | controller-2.redhat.local | n/a               | XXX   | UP    | ovn-controller                |
+--------------------------------------+------------------------------+---------------------------+-------------------+-------+-------+-------------------------------+




Version-Release number of selected component (if applicable):
RHOS-16.1-RHEL-8-20200625.n.0

How reproducible:
100%

Steps to Reproduce:
Pun migration procedure

Actual results:
Instances FIPs are not reachable after the migration

Expected results:
Instances FIPs are reachable after the migration

Additional info:

Comment 13 spower 2020-08-04 12:46:49 UTC
We are moving this bug to z2 because it failed QA and the dependent issues do not have fixes and are not approved as blockers.

Comment 22 spower 2020-08-06 15:08:17 UTC
removing the blocker flag and adding blocker to the BZs below for migration in 16.1.1:
BZ1862888 - [OSP16.1] OVN controllers are down after migration from ML2OVS
BZ1847463 - [OVN migration] Some overcloud nodes are missing in the ansible inventory file used for migration

Comment 26 Roman Safronov 2020-08-20 07:53:46 UTC
Verified on RHOS-16.1-RHEL-8-20200813.n.0 with python3-networking-ovn-migration-tool-7.2.1-0.20200611133439.15f2281.el8ost.noarch
Verified that ML2OVS agents are not running after migration to ML2OVN.

Comment 28 errata-xmlrpc 2020-08-27 15:20:02 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 (openstack-neutron bug fix 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/RHBA-2020:3568