Bug 1220031

Summary: glusterfs-cli should depend on the glusterfs package
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: packagingAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: mainlineKeywords: EasyFix, Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 09:37:08 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:

Description Niels de Vos 2015-05-09 10:24:44 UTC
Description of problem:
When glusterfs-cli gets installed on a system that does not have any other glusterfs packages (like -fuse, -server, -api), the gluster command does not work.

Version-Release number of selected component (if applicable):
mainline

How reproducible:
100%

Steps to Reproduce:
1. yum install glusterfs-cli
2. gluster --remote-host=storage.example.com volume list

Actual results:
No output.

Expected results:
List of the volumes on storage.example.com

Additional info:
Need to install the "glusterfs" package to get the required xlators. From the /var/log/glusterfs/cli.log after the empty return:

[2015-05-09 10:05:43.319681] E [rpc-transport.c:291:rpc_transport_load] 0-rpc-transport: /usr/lib64/glusterfs/3.8dev/rpc-transport/socket.so: cannot open shared object file: No such file or directory
[2015-05-09 10:05:43.319700] W [rpc-transport.c:295:rpc_transport_load] 0-rpc-transport: volume 'glusterfs': transport-type 'socket' is not valid or not found on this machine

Comment 1 Yaniv Kaul 2019-04-17 09:37:08 UTC
vagrant@node-1 ~]$ sudo yum remove glusterfs-cli
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package glusterfs-cli.x86_64 0:7dev-0.153.gite5ff6cc.el7 will be erased
--> Processing Dependency: glusterfs-cli(x86-64) = 7dev-0.153.gite5ff6cc.el7 for package: glusterfs-server-7dev-0.153.gite5ff6cc.el7.x86_64
--> Running transaction check
---> Package glusterfs-server.x86_64 0:7dev-0.153.gite5ff6cc.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================
 Package                                                 Arch                                          Version                                                           Repository                                                      Size
==============================================================================================================================================================================================================================================
Removing:
 glusterfs-cli                                           x86_64                                        7dev-0.153.gite5ff6cc.el7                                         @gluster-nightly-master                                        491 k
Removing for dependencies:
 glusterfs-server                                        x86_64                                        7dev-0.153.gite5ff6cc.el7                                         @gluster-nightly-master                                        6.1 M

Transaction Summary
==============================================================================================================================================================================================================================================
Remove  1 Package (+1 Dependent package)