Bug 1963150

Summary: 16.2 container build is failing for ovn-controller, "file /usr/share/ovn/scripts/ovn-ctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64"
Product: Red Hat OpenStack Reporter: Sandeep Yadav <sandyada>
Component: rhosp-openvswitchAssignee: Mike Burns <mburns>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Maint <rhos-maint>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.2 (Train)CC: jjoyce, jschluet, mburns, shrjoshi
Target Milestone: betaKeywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhosp-openvswitch-2.15-4.el8ost.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1963193 (view as bug list) Environment:
Last Closed: 2021-06-07 14:36:28 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:

Description Sandeep Yadav 2021-05-21 14:55:33 UTC
Description of problem:

16.2 container build is failing for ovn-controller, "file /usr/share/ovn/scripts/ovn-ctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64"


Error:-

~~~
Error: Transaction test error:
  file /usr/bin/ovn-appctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/bin/ovn-detrace from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/bin/ovn-ic-nbctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/bin/ovn-ic-sbctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/bin/ovn-nbctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/bin/ovn-sbctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/bin/ovn-trace from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/share/ovn/scripts/ovn-ctl from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
  file /usr/share/ovn/scripts/ovn-lib from install of ovn-2021-21.03.0-21.el8fdp.x86_64 conflicts with file from package ovn2.13-20.12.0-104.el8fdp.x86_64
~~~



Version-Release number of selected component (if applicable):

16.2


How reproducible:
Everytime in 16.2 integration pipeline.

Comment 4 Mike Burns 2021-05-21 16:07:47 UTC
The root cause here is the new OVN packages shipped this week.  The ovn-2021 packages have a "provides" that causes both it and the ovn2.13 packages to be installed.  The set of packages in 16.2 should have been including only ovn2.13.  

The intent was to switch shortly to using just ovs2.15 and ovn-2021 so rather than fix this to get just 2.13, a new rhosp-openvswitch will be built that moves us fully to 2.15 and 2021.