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

Bug 1737432

Summary: OSP13 OVN- Rally NeutronNetworks.create_and_list_ports test failed
Product: Red Hat OpenStack Reporter: Daniel Alvarez Sanchez <dalvarez>
Component: python-networking-ovnAssignee: Terry Wilson <twilson>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: apevec, dalvarez, ekuris, eolivare, jlibosva, lhh, majopela, scohen, twilson
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-4.0.3-21.el7ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1729866 Environment:
Last Closed: 2020-03-10 11:26:10 UTC Type: ---
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: 1729866    
Bug Blocks:    

Description Daniel Alvarez Sanchez 2019-08-05 11:10:17 UTC
+++ This bug was initially created as a clone of Bug #1729866 +++

Description of problem:
The Rally test NeutronNetworks.create_and_list_ports failed:

controller-0/var/log/containers/neutron/server.log.1:2019-07-14 14:38:19.665 31 ERROR neutron.plugins.ml2.managers [req-785fdb51-0cbb-48d2-ad3a-42ead52405c9 4ae467e29c93404bbb765327298cd8f9 560c31a384794fc2b3a1ad8265da87a1 - default default] Mechanism driver 'ovn' failed in create_port_postcommit: RuntimeError: OVSDB Error: {"details":"Transaction causes multiple rows in \"Port_Group\" table to have identical values (neutron_pg_drop) for index on column \"name\". 
and then the rally request fails: 

controller-0/var/log/containers/neutron/server.log.1:2019-07-14 14:38:19.665 31 ERROR neutron.plugins.ml2.managers [req-785fdb51-0cbb-48d2-ad3a-42ead52405c9 4ae467e29c93404bbb765327298cd8f9 560c31a384794fc2b3a1ad8265da87a1 - default default] Mechanism driver 'ovn' failed in create_port_postcommit: RuntimeError: OVSDB Error: {"details":"Transaction causes 

multiple rows in \"Port_Group\" table to have identical values (neutron_pg_drop) for index on column \"name\". 
so it looks, like (from the first message) that two ports tried to have the same value in "name" column which is an index so that's not allowed 
so Rally managed to break the ovndb service with concurrency

Version-Release number of selected component (if applicable):
OSP14- core_puddle: 2019-06-26.1

How reproducible:
100%

Steps to Reproduce:
1. run the job https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/network/view/networking-ovn/job/DFG-network-networking-ovn-14_director-rhel-virthost-3cont_2comp-ipv4-geneve-dvr-rally/135/
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 errata-xmlrpc 2020-03-10 11:26:10 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, 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:0770