Bug 1872853

Summary: move the glusterfs dependency out of qemu-kvm-core to the glusterfs module
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Danilo de Paula <ddepaula>
Component: qemu-kvmAssignee: Danilo de Paula <ddepaula>
qemu-kvm sub component: General QA Contact: zixchen
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aadam, coli, dinechin, ehadley, fidencio, jfreiman, jinzhao, juzhang, mpatel, virt-maint, xuwei, zixchen
Version: ---Flags: pm-rhel: mirror+
Target Milestone: rc   
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-5.1.0-5.module+el8.3.0+7975+b80d25f1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1872854 1877431 (view as bug list) Environment:
Last Closed: 2020-11-17 17:50:55 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: 1872854, 1877431    

Description Danilo de Paula 2020-08-26 18:11:49 UTC
qemu-kvm-core depends on glusterfs-api.

But that's wrong.

The only package using glusterfs is qemu-kvm-block-gluster and the dependency should be there instead.

Comment 2 Danilo de Paula 2020-08-27 22:58:10 UTC
Me, and yes.

Comment 5 Danilo de Paula 2020-09-03 13:04:59 UTC
QA_ACK, please

Comment 10 zixchen 2020-09-09 12:39:32 UTC
Test with qemu-kvm-5.1.0-5.module+el8.3.0+7975+b80d25f1, glusterfs-api is not in qemu-kvm-core dependencies, so change to verified.

Version:
qemu-kvm-5.1.0-5.module+el8.3.0+7975+b80d25f1
kernel-4.18.0-235.el8.x86_64

Steps:
1. Make sure glusterfs-api and qemu-kvm-core are both removed in the test machine.
# rpm -qa| grep qemu-kvm-core
# rpm -qa| grep glusterfs-api
2. Install qemu-kvm-core
# yum install qemu-kvm-core

Actual result:
1. After first step, command returns nothing.
2. After second step, glusterfs-api doesn't not exist in the dependency list.
# yum install qemu-kvm-core
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 2:17:54 ago on Wed 09 Sep 2020 02:45:16 AM EDT.
Dependencies resolved.
===========================================================================================================================================================================================================
 Package                                              Architecture                   Version                                                                Repository                                Size
===========================================================================================================================================================================================================
Installing:
 qemu-kvm-core                                        x86_64                         15:5.1.0-5.module+el8.3.0+7975+b80d25f1                                virt-adv                                 3.8 M
Installing dependencies:
 celt051                                              x86_64                         0.5.1.3-15.el8                                                         beaker-AppStream                          63 k
 device-mapper-multipath-libs                         x86_64                         0.8.4-5.el8                                                            beaker-BaseOS                            316 k
 edk2-ovmf                                            noarch                         20200602gitca407c7246bf-3.el8                                          beaker-AppStream                         2.0 M
 ipxe-roms-qemu                                       noarch                         20181214-6.git133f4c47.el8                                             beaker-AppStream                         1.2 M
 libibumad                                            x86_64                         29.0-3.el8                                                             beaker-BaseOS                             32 k
 libibverbs                                           x86_64                         29.0-3.el8                                                             beaker-BaseOS                            291 k
 libpmem                                              x86_64                         1.6.1-1.el8                                                            beaker-AppStream                          79 k
 librdmacm                                            x86_64                         29.0-3.el8                                                             beaker-BaseOS                             75 k
 qemu-img                                             x86_64                         15:5.1.0-5.module+el8.3.0+7975+b80d25f1                                virt-adv                                 1.1 M
 qemu-kvm-common                                      x86_64                         15:5.1.0-5.module+el8.3.0+7975+b80d25f1                                virt-adv                                 1.6 M
 rdma-core                                            x86_64                         29.0-3.el8                                                             beaker-BaseOS                             63 k
 seabios-bin                                          noarch                         1.14.0-1.module+el8.3.0+7638+07cf13d2                                  virt-adv                                 131 k
 seavgabios-bin                                       noarch                         1.14.0-1.module+el8.3.0+7638+07cf13d2                                  virt-adv                                  42 k
 sgabios-bin                                          noarch                         1:0.20170427git-3.module+el8.3.0+6124+819ee737                         virt-adv                                  12 k
 spice-server                                         x86_64                         0.14.3-3.el8                                                           beaker-AppStream                         408 k
 userspace-rcu                                        x86_64                         0.10.1-2.el8                                                           beaker-BaseOS                            101 k

Transaction Summary
===========================================================================================================================================================================================================
Install  17 Packages

Total download size: 11 M
Installed size: 44 M


Expected result:
Same as actual result.

Comment 11 zixchen 2020-09-10 01:40:35 UTC
Additional test with downloading qemu-kvm-core-5.1.0-5.module+el8.3.0+7975+b80d25f1.x86_64.rpm from brewweb, not hit this issue as well.

Version:
qemu-kvm-core-5.1.0-5.module+el8.3.0+7975+b80d25f1.x86_64.rpm 

Steps:
1.# rpm -qp qemu-kvm-core-5.1.0-5.module+el8.3.0+7975+b80d25f1.x86_64.rpm --provides
qemu-kvm-core = 15:5.1.0-5.module+el8.3.0+7975+b80d25f1
qemu-kvm-core(x86-64) = 15:5.1.0-5.module+el8.3.0+7975+b80d25f1
2. # rpm -qp qemu-kvm-core-5.1.0-5.module+el8.3.0+7975+b80d25f1.x86_64.rpm --requires | grep glusterfs

Actual result:
After step 2 no match on qemu-kvm-core's dependencies.

Expected result:
Same as Actual result.

Comment 14 errata-xmlrpc 2020-11-17 17:50:55 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 (virt:8.3 bug fix and enhancement update), 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:5137