Bug 1082659
| Summary: | glusterfs-api package should pull glusterfs package as dependency | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
| Component: | build | Assignee: | Bala.FA <barumuga> | |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 2.1 | CC: | annair, asrivast, barumuga, dpati, grajaiya, hchiramm, lmohanty, mzywusko, nlevinki, nsathyan, rcyriac, rhs-bugs, sasundar, surs, vagarwal | |
| Target Milestone: | --- | Keywords: | Patch | |
| Target Release: | RHGS 3.1.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.7.0-2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1134257 (view as bug list) | Environment: | ||
| Last Closed: | 2015-07-29 04:31:17 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: | 1134257, 1202842 | |||
|
Description
SATHEESARAN
2014-03-31 15:08:03 UTC
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 |