Bug 1879097 - [OSP16.1]OVN migration with TLS-everywhere fails, Neutron-server is not connected to the OVN database
Summary: [OSP16.1]OVN migration with TLS-everywhere fails, Neutron-server is not conne...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Kamil Sambor
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-15 12:45 UTC by Roman Safronov
Modified: 2022-10-03 14:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-29 12:26:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-520 0 None None None 2022-10-03 14:27:03 UTC

Description Roman Safronov 2020-09-15 12:45:15 UTC
Description of problem:

Migration from ML2OVS to ML2OVN on an environment with TLS-everywhere does not work. Neutron-server is not connected to the OVN database. For example running 'openstack network agent list' hangs and then returns:
HttpException: 502: Server Error for url: https://overcloud.redhat.local:13696/v2.0/agents, response from an upstream server.: 502 Proxy Error: The proxy server could not handle the request GET /v2.0/agents.: The proxy server received an invalid: Proxy Error: Reason: Error reading from remote server



Version-Release number of selected component (if applicable):
RHOS-16.1-RHEL-8-20200903.n.0
python3-networking-ovn-7.2.1-0.20200611133439.15f2281.el8ost.noarch
python3-networking-ovn-migration-tool-7.2.1-0.20200611133439.15f2281.el8ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install HA ML2OVS environment with TLS-everywhere
2. Run migration to ML2OVN using the official documentation https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/networking_with_open_virtual_network/migrating-ml2ovs-to-ovn#ml2-ovs-to-ovn-migration-prepare


Actual results:
Migration fails 

Expected results:
Migration succeeds

Additional info:

Comment 1 Roman Safronov 2020-09-15 12:50:04 UTC
Note: I applied these 2 patches on the environment before the migration, in order to overcome bz1877756
https://review.opendev.org/#/c/742801/
https://review.opendev.org/#/c/750939/

Comment 4 Roman Safronov 2021-04-29 12:26:46 UTC
Does not happen anymore. Used RHOS-16.1-RHEL-8-20210421.n.1 on an environment with TLS-everywhere enabled. Migration to OVN passed successfully.


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