Bug 1965954 - OSP16.2 openstack router add subnet - fails with: 504 Gateway Time-out
Summary: OSP16.2 openstack router add subnet - fails with: 504 Gateway Time-out
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Terry Wilson
QA Contact: Eran Kuris
URL:
Whiteboard:
: 1974439 (view as bug list)
Depends On:
Blocks: 1940824
TreeView+ depends on / blocked
 
Reported: 2021-05-31 08:33 UTC by pkomarov
Modified: 2021-09-15 07:15 UTC (History)
15 users (show)

Fixed In Version: python-networking-ovn-7.4.2-2.20210601204819.el8ost.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:15:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 794892 0 None NEW Use TCP keepalives for ovsdb connections 2021-06-04 19:51:49 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:15:40 UTC

Description pkomarov 2021-05-31 08:33:12 UTC
Description of problem:
OSP16.2 openstack router add subnet - fails with: 504 Gateway Time-out

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

How reproducible:
100%

Steps to Reproduce:
1. create a router
2. create a network
3. create a subnet
4. try to add subnet to router (add_router_interface) fails

Actual results:
+ openstack router add subnet internal_net_ca19caa201_router internal_net_ca19caa201_subnet
HttpException: 500: Server Error for url: http://10.0.0.102:9696/v2.0/routers/250dcf71-3110-4ef5-9349-b47a43de6e78/add_router_interface, Request Failed: internal server error while processing your request.
+ echo 'Set external-gateway for internal_net_ca19caa201_router'
Set external-gateway for internal_net_ca19caa201_router
+ openstack router set --external-gateway nova internal_net_ca19caa201_router
HttpException: 504: Server Error for url: http://10.0.0.102:9696/v2.0/routers/250dcf71-3110-4ef5-9349-b47a43de6e78, The server didn't respond in time.: 504 Gateway Time-out


Additional info:
auto reproducer is to run this vm boot script : 
https://code.engineering.redhat.com/gerrit/gitweb?p=openstack-pidone-qe.git;a=blob;f=CI/ansible_sts/templates/boot_oc_workload.sh.j2;h=5878eead7dcb89d143cfc832253a98af494e0457;hb=HEAD

Comment 19 pkomarov 2021-07-07 12:17:56 UTC
Verified , the issues reported here are solved by the fix proposed.
Tested via the a boot vm script. and cuncurent controller reboots
https://code.engineering.redhat.com/gerrit/gitweb?p=openstack-pidone-qe.git;a=blob;f=CI/ansible_sts/templates/boot_oc_workload.sh.j2;h=5878eead7dcb89d143cfc832253a98af494e0457;hb=HEAD

Comment 20 pkomarov 2021-07-07 12:18:18 UTC
*** Bug 1974439 has been marked as a duplicate of this bug. ***

Comment 23 errata-xmlrpc 2021-09-15 07:15:18 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 (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement 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-2021:3483


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