Description of problem: ----------------------- To make use of glusterfs qemu driver, the required packages are 1. glusterfs-api, 2. glusterfs-libs and 3. glusterfs. This is what happens while I install qemu-kvm on RHEL 6.5 qemu-kvm package pulls glusterfs-api as a dependency, glusterfs-api package pulls glusterfs-libs as dependency. glusterfs package was not installed Version-Release number of selected component (if applicable): ------------------------------------------------------------- RHEL 6.5 [2.6.32-431.5.1.el6.x86_64] RHSS 2.1 Update2 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. Install qemu-kvm package in RHEL 6.5 Actual results: --------------- glusterfs-api and glusterfs-libs are the only packages getting installed Expected results: ----------------- glusterfs package should also be installed Additional info: ----------------- 'glusterfs' package is getting installed as dependency while installing qemu-kvm package in centos-6.5 I tried the same in centos-6.5 and installed "qemu-kvm" in it. The dependency chain goes like this : qemu-kvm -->glusterfs-api -->glusterfs -->glusterfs-libs [root@my-centos ~]# cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m [root@my-centos ~]# uname -r 2.6.32-431.5.1.el6.x86_64 [root@my-centos ~]# rpm -qR qemu-kvm | grep gluster glusterfs-api [root@my-centos ~]# rpm -qR glusterfs-api | grep gluster glusterfs = 3.5.0-0.6.beta4.el6 glusterfs-devel = 3.5.0-0.6.beta4.el6 libglusterfs.so.0()(64bit) [root@my-centos ~]# rpm -qR glusterfs | grep gluster glusterfs-libs = 3.5.0-0.6.beta4.el6 libglusterfs.so.0()(64bit) The same deps chain in RHEL 6.5 goes like this : qemu-kvm -->glusterfs-api -->glusterfs-libs [root@rhs-client15 ~]# cat /etc/issue Red Hat Enterprise Linux Server release 6.5 (Santiago) Kernel \r on an \m [root@rhs-client15 ~]# uname -r 2.6.32-431.5.1.el6.x86_64 [root@rhs-client15 ~]# rpm -qR qemu-kvm | grep gluster glusterfs-api [root@rhs-client15 ~]# rpm -qR glusterfs-api | grep gluster glusterfs-libs = 3.4.0.57rhs-1.el6_5 libglusterfs.so.0()(64bit) [root@rhs-client15 ~]# rpm -qR glusterfs-libs | grep gluster libglusterfs.so.0()(64bit)
QEMU Versions : [root@rhs-client15 ~]# rpm -qa | grep qemu-kvm qemu-kvm-0.12.1.2-2.415.el6_5.5.x86_64 [root@rhs-client15 ~]# rpm -qa | grep qemu gpxe-roms-qemu-0.9.7-6.10.el6.noarch qemu-img-0.12.1.2-2.415.el6_5.5.x86_64 qemu-kvm-0.12.1.2-2.415.el6_5.5.x86_64 If this issue doesn't fits in the 'releng' realm, please feel free to move to corresponding component
Ignore my comments in the 'Additional Information" section in comment0 I have installed glusterfs packages directly from download.gluster.org and that had different spec file, which caused the difference in dependencies pulled in by qemu-kvm package. But still the bug holds valid for the case as in summary,which is glusterfs package should be pulled as a part of dependency for qemu-kvm
I am not sure about the component that this bug should fit in. Feel free to align it to correct component
What is the issue you are getting with no glusterfs package installed? I see upstream removed glusterfs dependency for glusterfs-api.
(In reply to Bala.FA from comment #4) > What is the issue you are getting with no glusterfs package installed? I > see upstream removed glusterfs dependency for glusterfs-api. Bala, When I install RHEL 6.5 and install qemu-kvm, glusterfs package is not pulled in. But glusterfs-api and glusterfs-libs are available. We need glusterfs package for working of libgfapi with qemu-kvm, so glusterfs package should also be pulled. Why the glusterfs dependency for glusterfs-api was removed in upstream ?
I see this issue with RHS 2.1 U4 ( glusterfs-3.4.0.66-2.el6rhs) I was using RHEL 6.4 as a hypervisor and wanted to use QEMU driver for glusterfs (libgfapi). After registering to RHEL 6.4 EUS, I tried installing 'glusterfs-api' I could see only 'glusterfs-libs' were pulled in as dependency. But 'glusterfs' packagis also required for proper functioning of QEMU driver for glusterfs. There are 2 solution to this, 1. Make spec file changes such that 'glusterfs-api' pulls 'glusterfs-libs' and 'glusterfs' packages as dependency 2. Document the user to install glusterfs-api and glusterfs (i.e) yum install glusterfs-api glusterfs Solution 1, seems a ideal and nicer way
Continuation of comment6 [root@rhs-client10 ~]# rpm -qR glusterfs-api | grep gluster glusterfs-libs = 3.4.0.66rhs-2.el6_4 libglusterfs.so.0()(64bit) [root@rhs-client10 ~]# rpm -qR glusterfs-libs | grep gluster libglusterfs.so.0()(64bit)
Patch is under review at https://code.engineering.redhat.com/gerrit/31650
With RHGS 3.1 Nightly build ( glusterfs-3.7.0-2.el6rhs ), glusterfs package is pulled by glusterfs-api. The following is the dependency chain : qemu-kvm requires/pulls glusterfs-api glusterfs-api requires/pulls glusterfs glusterfs requires/pulls glusterfs-libs [root@ ~]# rpm -qR qemu-kvm-rhev | grep gluster glusterfs-api [root@ ~]# rpm -qR glusterfs-api | grep gluster glusterfs = 3.7.0-2.el6rhs glusterfs-client-xlators = 3.7.0-2.el6rhs libglusterfs.so.0()(64bit) [root@ ~]# rpm -qR glusterfs | grep gluster glusterfs-libs = 3.7.0-2.el6rhs libglusterfs.so.0()(64bit) Finally, installing qemu-kvm pulls the required packages ( glusterfs, glusterfs-api, glusterfs-libs, glusterfs-client-xlators ) Marking this bug as VERIFIED
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, 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://rhn.redhat.com/errata/RHSA-2015-1495.html