Bug 1195947

Summary: Reduce the contents of dependencies from glusterfs-api
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: buildAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: bugs, hchiramm, kkeithle, lmohanty, sasundar, tbowling, vanhoof
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-16 12:42:14 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: 1194503, 1203710, 1218440, 1218990, 1219089, 1219793    

Description Niels de Vos 2015-02-24 21:32:59 UTC
Description of problem:
The "glusterfs" package is perceived as containing too much files. For very slim QEMU hypervisor installations, all packages are expected to have minimal contents.

Currently glusterfs-api pulls in the following dependencies:
- glusterfs-libs
- glusterfs

The glusterfs-libs package only contains the needed files, that is acceptable. Unfortunately the "glusterfs" package is a 'catch' all package and contains more files then glusterfs-api actually needs:
- xlators that can not be enabled on the client-side through the CLI
- glusterfsd binary (and glusterfs symlink)
- documentation/manpages that should not be needed for a library dependency
- logrotate config that does not apply to libgfapi logs
- /etc/sysconfig/glusterd options file
- ... maybe more?

In addition to that, the description of the sub-packages is not really correct. The "glusterfs" package does not contain the CLI anymore, this confused some users.

I suggest to introduce a glusterfs-client package, that contains the client-side xlators. For libgfapi applications, the dependencies should then become:
- glusterfs-api
- glusterfs-libs
- glusterfs-client

While this is getting done, we should check the dependencies for the glusterfs-cli package. glusterfs-cli depends on the socket xlator (and maybe rpc?), these would be candidates to move to glusterfs-libs. In the end, glusterfs-cli would then become fully functional with only a dependency on glusterfs-libs (making the vdsm people happy).

Comment 3 Anand Avati 2015-05-05 08:48:36 UTC
REVIEW: http://review.gluster.org/10554 (rpm: reduce package dependencies and add -client-xlators) posted (#1) for review on master by Niels de Vos (ndevos)

Comment 4 Anand Avati 2015-05-07 22:25:24 UTC
REVIEW: http://review.gluster.org/10554 (rpm: reduce package dependencies and add -client-xlators) posted (#2) for review on master by Niels de Vos (ndevos)

Comment 7 Niels de Vos 2016-06-16 12:42:14 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 8 Red Hat Bugzilla 2023-09-14 02:55:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days