Bug 1219089

Summary: glusterfs-server is a requirements for glusterfs rpm
Product: [Community] GlusterFS Reporter: Sandro Bonazzola <sbonazzo>
Component: packagingAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: hchiramm, ndevos, sabose, sasundar, ylavi
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-14 17:29:38 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: 1195947    
Bug Blocks: 1199352    

Description Sandro Bonazzola 2015-05-06 14:34:42 UTC
rpm -e  glusterfs-server
error: Failed dependencies:
    glusterfs-server = 3.7.0beta1-0.14.git09bbd5c.el7.centos is needed by (installed) glusterfs-geo-replication-3.7.0beta1-0.14.git09bbd5c.el7.centos.x86_64
    libgfdb.so.0()(64bit) is needed by (installed) glusterfs-3.7.0beta1-0.14.git09bbd5c.el7.centos.x86_64 

glusterfs client utils shouldn't require glusterfs server to be installed.

Comment 1 Niels de Vos 2015-05-08 21:21:59 UTC
*** Bug 1208452 has been marked as a duplicate of this bug. ***

Comment 2 Anand Avati 2015-05-08 21:32:06 UTC
REVIEW: http://review.gluster.org/10697 (rpm: reduce package dependencies and add -client-xlators) posted (#1) for review on release-3.7 by Niels de Vos (ndevos)

Comment 3 Anand Avati 2015-05-09 04:36:02 UTC
COMMIT: http://review.gluster.org/10697 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit 44036808733b3c58712490a1222a38675a21d93d
Author: Niels de Vos <ndevos>
Date:   Fri May 8 23:02:48 2015 +0200

    rpm: reduce package dependencies and add -client-xlators
    
    Restructuring the RPM packages in order to reduce the dependencies that
    get installed for glusterfs-api (mainly on request for Qemu hosts).
    
    The dependencies of these packages look roughly like this:
    
      .------------------.
      | glusterfs-server |
      '-------+----------'
              |\
              | \
              |  '---------------+--------------------.
              |                  |                    |
              |                  v                    v
              |         .----------------.     .---------------.
              |         | glusterfs-fuse |     | glusterfs-api |
              |         '--------+-------'     '------+--------'
              |                 /|                   /|
              |                / |                  / |
              |               /  |                 /  |
              |              /   |                /   |
              | .-----------+----=---------------'    |
              |/                 |                    |
              v                  v                    v
        .-----------.         .--------------------------.
        | glusterfs |         | glusterfs-client-xlators |
        '-----------'         '--------------------------'
    
    With this structure, users can install glusterfs-server, glusterfs-fuse
    or glusterfs-api (libgfapi) without getting any unneeded xlators or
    other scripts/binaries.
    
    The "glusterfs" and "glusterfsd" binary (symlinked) is now part of the
    glusterfs-fuse package (moved from glusterfs). This does not make a
    difference for glusterfs-server installations, because a server
    installation always needs the glusterfs-fuse package for doing internal
    mounts.
    
    The advantage is that glusterfs-api does not pull in any executables
    that get into the $PATH. This has caused confusion before when people
    tried to remove the (wrongly assumed) server-only "glusterfsd" binaries.
    
    Cherry picked from commit fd8b8a81c243776b20e6d48993524ee3f1351ca6:
    > URL: http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10643
    > Change-Id: Id03f1a634ea3c62ab7008345be92e01ccf43b1a6
    > BUG: 1195947
    > Signed-off-by: Niels de Vos <ndevos>
    > Reviewed-on: http://review.gluster.org/10554
    > Tested-by: Gluster Build System <jenkins.com>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle>
    > Tested-by: NetBSD Build System
    > Reviewed-by: Humble Devassy Chirammal <humble.devassy>
    
    Change-Id: Id03f1a634ea3c62ab7008345be92e01ccf43b1a6
    BUG: 1219089
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/10697
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 4 Niels de Vos 2015-05-14 17:29:38 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 5 Niels de Vos 2015-05-14 17:36:01 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:38:22 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 7 Niels de Vos 2015-05-14 17:47:23 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user