Bug 763813 (GLUSTER-2081) - gluster CLI does not work over ssh
Summary: gluster CLI does not work over ssh
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2081
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.1.1
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
: GLUSTER-2004 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-10 21:13 UTC by Vikas Gorur
Modified: 2015-12-01 16:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: ---
Documentation: DNR
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


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