Bug 763813 (GLUSTER-2081)

Summary: gluster CLI does not work over ssh
Product: [Community] GlusterFS Reporter: Vikas Gorur <vikas>
Component: cliAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.1.1CC: gluster-bugs, jacob, rabhat, vijay, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: ---
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vikas Gorur 2010-11-10 21:13:44 UTC
The gluster command cannot be invoked over ssh.

ssh bal-2 '/opt/glusterfs/3.1.1qa5/sbin/gluster peer status'
gf_log_init: failed to open logfile "/dev/stderr" (No such device or address)
failed to open logfile /dev/stderr.  exiting

This makes things difficult for scripting using the gluster CLI.

Comment 1 Anand Avati 2010-11-13 12:02:42 UTC
PATCH: http://patches.gluster.com/patch/5674 in master (cli: fix issues with running command over ssh)

Comment 2 shishir gowda 2010-11-15 01:18:15 UTC
*** Bug 2004 has been marked as a duplicate of this bug. ***

Comment 3 Amar Tumballi 2010-11-15 04:11:55 UTC
Could be seen by having two machines, and trying to run a 'gluster' CLI on remote machine using ssh. Will fail in any version before 3.1.1qa6 with the error given in bug description. With release 3.1.1qa6 onwards it should be fixed.

Adding a regression test case means, adding a gluster cli to run over ssh (preferably passwd-less).

Comment 4 Raghavendra Bhat 2011-02-18 03:07:18 UTC
Now gluster command over ssh works.



root@bigbang:/home/raghu# ssh 192.168.1.50 gluster volume info
root.1.50's password: 

Volume Name: mirror
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.1.50:/export/mirror
Brick2: 192.168.1.211:/export/mirror
Options Reconfigured:
monitor.xtime-marker: on