Bug 1989572 - [OSP16.2][OVN]Router availability zones are not working in edge deployment
Summary: [OSP16.2][OVN]Router availability zones are not working in edge deployment
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
high
high
Target Milestone: rc
: 16.2 (Train on RHEL 8.4)
Assignee: Lucas Alvares Gomes
QA Contact: Candido Campos
URL:
Whiteboard:
Depends On:
Blocks: 1849571
TreeView+ depends on / blocked
 
Reported: 2021-08-03 13:31 UTC by Candido Campos
Modified: 2021-09-15 07:17 UTC (History)
17 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 803759 0 None None None 2021-08-06 14:33:29 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:17:00 UTC

Description Candido Campos 2021-08-03 13:31:24 UTC
Description of problem:
Router availability zones are not working in edge deployment.

The router config is deployed over the gws ignoring the availability zones config:

openstack router create --availability-zone-hint az-dcn1 router1


[root@central-controller0-0 heat-admin]# ovn-nbctl lr-list
e72856b9-111e-4bda-97c9-d49c74095ae7 (neutron-d17ecb42-5f3e-4eb8-b067-cffcc7b460f5)
[root@central-controller0-0 heat-admin]# ovn-nbctl e72856b9-111e-4bda-97c9-d49c74095ae7
ovn-nbctl: unknown command 'e72856b9-111e-4bda-97c9-d49c74095ae7'; use --help for help
[root@central-controller0-0 heat-admin]# ovn-nbctl lrp-list e72856b9-111e-4bda-97c9-d49c74095ae7
ca702fb5-f8f9-4fae-932f-36b1ad106146 (lrp-08024f3e-fb91-4ce7-a4e2-6524c8742427)
c450c451-a3cb-4638-89b7-c40122c01846 (lrp-b673a556-e57a-4c92-9a65-250257c4b266)
[root@central-controller0-0 heat-admin]# ovn-nbctl lrp-get-gateway-chassis ca702fb5-f8f9-4fae-932f-36b1ad106146
[root@central-controller0-0 heat-admin]# ovn-nbctl lrp-get-gateway-chassis c450c451-a3cb-4638-89b7-c40122c01846
lrp-b673a556-e57a-4c92-9a65-250257c4b266_e61abab6-ef8a-45c0-9e90-5539c82c0cd0     5
lrp-b673a556-e57a-4c92-9a65-250257c4b266_258749be-e7e1-44ab-90bc-7edcba8c819d     4
lrp-b673a556-e57a-4c92-9a65-250257c4b266_98dfa4e5-b66a-4afb-b28f-12e18dcbe8e8     3
lrp-b673a556-e57a-4c92-9a65-250257c4b266_f2072261-4457-47f5-b11c-056aebd7802d     2
lrp-b673a556-e57a-4c92-9a65-250257c4b266_c158198e-533f-4f7c-a68a-a63ab48d0089     1

central) [stack@site-undercloud-0 ~]$ openstack network agent list 
+--------------------------------------+------------------------------+------------------------------------+-------------------+-------+-------+-------------------------------+
| ID                                   | Agent Type                   | Host                               | Availability Zone | Alive | State | Binary                        |
+--------------------------------------+------------------------------+------------------------------------+-------------------+-------+-------+-------------------------------+
| f59fb65d-0546-4459-8f4e-d8bcd8dc6254 | OVN Controller agent         | compute-1.redhat.local             |                   | :-)   | UP    | ovn-controller                |
| 025b0889-b85f-4a11-a9cc-d581c9834c02 | OVN Metadata agent           | compute-1.redhat.local             |                   | :-)   | UP    | networking-ovn-metadata-agent |
| 98dfa4e5-b66a-4afb-b28f-12e18dcbe8e8 | OVN Controller Gateway agent | central-controller0-2.redhat.local | az-central        | :-)   | UP    | ovn-controller                |
| 258749be-e7e1-44ab-90bc-7edcba8c819d | OVN Controller agent         | compute-0.redhat.local             |                   | :-)   | UP    | ovn-controller                |
| 47bff78e-feee-4382-839b-cbceb787f5b5 | OVN Metadata agent           | compute-0.redhat.local             |                   | :-)   | UP    | networking-ovn-metadata-agent |
| c0f76b45-d5f9-46d1-add5-e4c8d1c44dd6 | OVN Controller agent         | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| ef038ed1-d575-4d8c-841e-014888ba3cbd | OVN Metadata agent           | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| 95ce3408-e1d1-44bb-b89e-876231f353f2 | OVN Controller agent         | dcn1-compute1-0.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| c1d17205-799e-4ba4-9967-04026f936546 | OVN Metadata agent           | dcn1-compute1-0.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| c158198e-533f-4f7c-a68a-a63ab48d0089 | OVN Controller agent         | dcn1-compute1-1.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| 84c62ec6-f1f5-4a9d-b8d0-cd3b39770d94 | OVN Metadata agent           | dcn1-compute1-1.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| a4257ed2-b707-43f1-b63a-7bded01d1b22 | OVN Controller Gateway agent | central-controller0-0.redhat.local | az-central        | :-)   | UP    | ovn-controller                |
| f8e68a82-3474-4967-9b1f-f78ba98ff82d | OVN Controller agent         | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| 31de7203-17dd-4f83-8714-55c687260cfc | OVN Metadata agent           | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| 233d221e-573e-48f1-ae33-dff4ec05338c | OVN Controller Gateway agent | central-controller0-1.redhat.local | az-central        | :-)   | UP    | ovn-controller                |
| f0a04203-77bb-47f4-b36c-2c6cc727e5dc | OVN Controller Gateway agent | dcn1-networker1-1.redhat.local     | az-dcn1           | :-)   | UP    | ovn-controller                |
| 872d6bdc-1a50-4524-9bee-cac3dab66ec5 | OVN Controller Gateway agent | dcn1-networker1-0.redhat.local     | az-dcn1           | :-)   | UP    | ovn-controller                |
| 6c8b92e4-bbee-40c0-adbd-57f02a60b6bc | OVN Controller agent         | dcn1-compute1-1.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| 0ee42eba-1ac4-4a6f-82fa-095b8131ba87 | OVN Metadata agent           | dcn1-compute1-1.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| 83f0950f-7302-4700-89d2-ed7dafca9d58 | OVN Controller agent         | dcn1-compute1-0.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| a7c0ec4c-4cc5-4b12-b194-b794007b2f4f | OVN Metadata agent           | dcn1-compute1-0.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| c51ad199-8e79-4c53-83cf-e73e0910637c | OVN Controller agent         | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| 66220d6d-63f4-4eae-abc2-54b6f3695387 | OVN Metadata agent           | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| 9a442f75-6205-43e1-b7cb-63d525d4a319 | OVN Controller agent         | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| ef892a6d-7d2d-40a4-a90a-15fdb531afcb | OVN Metadata agent           | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| f2072261-4457-47f5-b11c-056aebd7802d | OVN Controller agent         | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| 134a2eda-bf2b-4809-984f-54bfba697124 | OVN Metadata agent           | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| 154461d6-e520-42f5-ab1f-04182f1055a5 | OVN Controller agent         | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| 96486ca7-4c19-461e-ab4c-9754e4190331 | OVN Metadata agent           | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| 02f243ba-a7ac-47b5-8a19-f1bb869e1032 | OVN Controller Gateway agent | dcn2-networker2-0.redhat.local     | az-dcn2           | :-)   | UP    | ovn-controller                |
| e61abab6-ef8a-45c0-9e90-5539c82c0cd0 | OVN Controller Gateway agent | dcn2-networker2-1.redhat.local     | az-dcn2           | :-)   | UP    | ovn-controller                |
| 6a93cb84-ec30-4073-98b4-48096cda92be | OVN Controller agent         | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| c0bda58a-e43c-4aff-915e-ed0679de9065 | OVN Metadata agent           | dcn2-compute2-0.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
| c09cb1fc-a76a-497b-b620-06a4d169956c | OVN Controller agent         | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | ovn-controller                |
| c93d6899-fd59-4709-bee9-b9451ebc3075 | OVN Metadata agent           | dcn2-compute2-1.redhat.local       |                   | :-)   | UP    | networking-ovn-metadata-agent |
+--------------------------------------+------------------------------+------------------------------------+-------------------+-------+-------+-------------------------------+



How reproducible:

Always

Steps to Reproduce:
1.Execute ci job

Comment 16 errata-xmlrpc 2021-09-15 07:16:37 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.