Bug 1547881

Summary: Broken dependencies in rhn-virtualization-host package
Product: Red Hat Satellite 5 Reporter: Roman Bobek <rbobek>
Component: VirtualizationAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 580CC: ggainey, jdobes, rbobek, tkasparek, tlestach
Target Milestone: ---Flags: rbobek: needinfo-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-24 13:57:50 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: 1450111    
Attachments:
Description Flags
rhn-virtualization-host-dependencies none

Description Roman Bobek 2018-02-22 08:13:46 UTC
Created attachment 1399207 [details]
rhn-virtualization-host-dependencies

Description of problem:

Customer wants to install the rhn-virtualization-host package on his RHV 4.1 hypervisor. Installation is failing with a missing dependency (please see the enclosed rhn-virtualization-host-dependencies file for whole output).

------
[root@rbobek-insights rhn]# rpm -q --requires rhn-virtualization-host
config(rhn-virtualization-host) = 5.4.54-3.el7sat
libvirt
libvirt-python
python-pycurl
rhn-virtualization-common = 5.4.54-3.el7sat
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
------

The problem seems to be in the libvirt-lock-sanlock package which is available only in version 3.2.0-14.el7_4.3.x86_64.

------
[root@ch121-049:~]# yum provides libvirt-lock-sanlock
Loaded plugins: imgbased-persist, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
libvirt-lock-sanlock-3.2.0-14.el7_4.3.x86_64 : Sanlock lock manager plugin for QEMU driver
Repo        : installed
------

I have been talking with mskrivanek and according to his opinion the rhn-virtualization-host package do not need the libvirt dependency. Can we rebuild the rhn-virtualization-host package with correct dependencies? Or make the correct version of libvirt-lock-sanlock available?

Comment 2 Tomáš Kašpárek 2018-04-23 14:14:52 UTC
# yum install rhn-virtualization-host
--------8<-----------
Dependencies Resolved

=================================================================================================================================================================
 Package                                            Arch                Version                                Repository                                   Size
=================================================================================================================================================================
Installing:
 rhn-virtualization-host                            noarch              5.4.54-3.el7sat                        rhn-tools-rhel-x86_64-server-7               56 k
Installing for dependencies:
 augeas-libs                                        x86_64              1.4.0-5.el7                            rhel-x86_64-server-7                        355 k
--------8<-----------
Transaction Summary
=================================================================================================================================================================
Install  1 Package (+52 Dependent packages)

Total size: 20 M
Total download size: 9.3 M
Installed size: 62 M
--------8<-----------
Installed:
  rhn-virtualization-host.noarch 0:5.4.54-3.el7sat                                                                                                               

Dependency Installed:
  augeas-libs.x86_64 0:1.4.0-5.el7                                               bridge-utils.x86_64 0:1.5-9.el7                  
--------8<-----------
Complete!


What seems to be problem? I am able to install the rhn-virtualization-host package without any issues.

Note following: 
# rpm -q libvirt-lock-sanlock
package libvirt-lock-sanlock is not installed
# rpm -q --whatrequires libvirt-lock-sanlock
no package requires libvirt-lock-sanlock