Bug 1195947 - Reduce the contents of dependencies from glusterfs-api
Summary: Reduce the contents of dependencies from glusterfs-api
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1194503 1203710 1218440 1218990 1219089 1219793
TreeView+ depends on / blocked
 
Reported: 2015-02-24 21:32 UTC by Niels de Vos
Modified: 2023-09-14 02:55 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-16 12:42:14 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.