Bug 1729866

Summary: OSP14 OVN- Rally NeutronNetworks.create_and_list_ports test failed
Product: Red Hat OpenStack Reporter: Eran Kuris <ekuris>
Component: python-networking-ovnAssignee: Terry Wilson <twilson>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: apevec, dalvarez, jlibosva, lhh, majopela, scohen
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-6.0.1-0.20191018200435.704a4cc.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1737432 (view as bug list) Environment:
Last Closed: 2020-03-05 11:53:49 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:    
Bug Blocks: 1737432    

Description Eran Kuris 2019-07-15 07:44:49 UTC
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 7 errata-xmlrpc 2020-03-05 11:53:49 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:0709