Bug 1998017

Summary: Keep cinbderlib dependencies optional for 4.4.8
Product: Red Hat Enterprise Virtualization Manager Reporter: Michal Skrivanek <michal.skrivanek>
Component: ovirt-hostAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: sshmulev
Severity: high Docs Contact:
Priority: high    
Version: 4.4.8CC: aefrat, dfodor, eshames, michal.skrivanek, mkalinin
Target Milestone: ovirt-4.4.8-1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-host-4.4.8-2.el8ev Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1997663 Environment:
Last Closed: 2021-09-08 14:11:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1997663    
Bug Blocks:    

Description Michal Skrivanek 2021-08-26 09:38:56 UTC
cloning for host side

+++ This bug was initially created as a clone of Bug #1997663 +++

Due to BZ#1955375, upgrade to 4.4.8 (or clean install) is failing if OSP and Ceph repos are not configured.
This is not a correct approach. We cannot introduce such big changes in z-stream releases. 
Also - OSP repos for default RHV install sound about wrong.

I believe this either should be optional and allow later install, if we really want to consume the packages from the external repos or import the package to our RHV repos and make it trivial for our existing customers. 

Additional info:
Current steps for enabling cinderlib before the fixes in the BZ1955375:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/installing_red_hat_virtualization_as_a_standalone_manager_with_local_databases/set_up_cinderlib

Don't we already do the same for another package from OSP repos?

--- Additional comment from Marina Kalinin on 2021-08-25 18:03:58 CEST ---

Failed coresystem QE:
https://bugzilla.redhat.com/show_bug.cgi?id=1974729#c1

Comment 5 sshmulev 2021-08-30 10:58:31 UTC
Verified.

The following dependencies should not be displayed on host:

dependency: ceph-common
provider: ceph-common-2:14.2.11-184.el8cp.x86_64
provider: rhvm-dependencies-4.4.1-1.el8ev.noarch
dependency: python3-cinderlib
provider: python3-cinderlib-1:1.0.1-1.20210310093033.199ebd4.el8ost.noarch


# yum deplist ./ovirt-host-dependencies-4.4.8-2.el8ev.x86_64.rpm | grep -E "ceph-common|python3-os-brick|vdsm"

result:
Last metadata expiration check: 0:19:03 ago on Mon 30 Aug 2021 06:12:59 AM EDT.
ovirt-host-dependencies-4.4.8-2.el8ev.x86_64.rp  28 kB/s |  15 kB     00:00    
  dependency: vdsm >= 4.40.80
  dependency: vdsm-client >= 4.40.80

Result as expected.

Comment 6 sshmulev 2021-08-30 11:15:42 UTC
(In reply to sshmulev from comment #5)
> Verified.
> 
> The following dependencies should not be displayed on host:
> 
> dependency: ceph-common
> provider: ceph-common-2:14.2.11-184.el8cp.x86_64
> provider: rhvm-dependencies-4.4.1-1.el8ev.noarch
> fixing to :
  dependency: python3-os-brick
  provider: python3-os-brick-2.10.5-1.20201114041631.el8ost.noarch
> 
> # yum deplist ./ovirt-host-dependencies-4.4.8-2.el8ev.x86_64.rpm | grep -E
> "ceph-common|python3-os-brick|vdsm"
> 
> result:
> Last metadata expiration check: 0:19:03 ago on Mon 30 Aug 2021 06:12:59 AM
> EDT.
> ovirt-host-dependencies-4.4.8-2.el8ev.x86_64.rp  28 kB/s |  15 kB     00:00 
> 
>   dependency: vdsm >= 4.40.80
>   dependency: vdsm-client >= 4.40.80
> 
> Result as expected.

Comment 13 errata-xmlrpc 2021-09-08 14:11:50 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 (Moderate: Red Hat Virtualization Host security and bug fix update [ovirt-4.4.8]), 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/RHSA-2021:3459