Bug 1963193 - 16.1 container builds pulling in OVN 2021 (and failing)
Summary: 16.1 container builds pulling in OVN 2021 (and failing)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-openvswitch
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: async
: 16.1 (Train on RHEL 8.2)
Assignee: Mike Burns
QA Contact: RHOS Maint
URL:
Whiteboard:
: 1965249 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-21 16:13 UTC by Mike Burns
Modified: 2022-08-17 15:26 UTC (History)
8 users (show)

Fixed In Version: rhosp-openvswitch-2.13-12.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1963150
Environment:
Last Closed: 2021-06-21 14:13:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-4096 0 None None None 2022-08-17 15:26:42 UTC
Red Hat Product Errata RHBA-2021:2512 0 None None None 2021-06-21 14:13:28 UTC

Internal Links: 1965249

Comment 2 Mike Burns 2021-05-21 16:24:28 UTC
Summary:  

Installing rhosp-ovn results in package conflicts like:

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

This is visible in container builds and should not be customer visible.

Root cause:  
ovn-host-2021 "provides" openvswitch2.13-ovn-host which is a "Requires" from the rhosp-ovn-host meta package.  
This caused dependency trees to try to install both ovn2.13 (desired) and ovn-2021 (not desired)


Solution:
The fix is to change the dependency tree to correctly use just the 2.13 version of OVN and not get the 2021 version.

Spec File change:

@@ -144,7 +144,7 @@ Version:    %{ovn_version}
 Summary:    wrapper for openvswitch-ovn-host rpm
 License:    Public domain
 Requires:   rhosp-ovn = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires:   openvswitch%{ovn_version}-ovn-host
+Requires:   ovn%{ovn_version}-host
 Provides:   openvswitch-ovn-host = %{ovn_version}
 Obsoletes:  openvswitch-ovn-host < %{ovn_version}
 Provides:   ovn-host = %{ovn_version}

Comment 4 Lon Hohberger 2021-05-27 11:05:20 UTC
According to our records, this should be resolved by rhosp-openvswitch-2.13-10.el8ost.  This build is available now.

Comment 6 Miguel Garcia 2021-05-27 14:47:28 UTC
*** Bug 1965249 has been marked as a duplicate of this bug. ***

Comment 18 errata-xmlrpc 2021-06-21 14:13:23 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 16.1 bug fix and 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/RHBA-2021:2512


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