Bug 861919 - 'gluster volume status' does not show brick information if server is down
Summary: 'gluster volume status' does not show brick information if server is down
Keywords:
Status: CLOSED DUPLICATE of bug 852147
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfs
Version: 2.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Kaushal
QA Contact: amainkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-01 11:11 UTC by Rachana Patel
Modified: 2015-04-20 11:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-29 08:46:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2012-10-01 11:11:47 UTC
Description of problem:
'gluster volume status' does not show brick information if server is down


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


How reproducible:
always

Steps to Reproduce:
1. Create a  volume having 3 or more sub-volumes on multiple server and start that volume.

[root@Rhs3 ~]# gluster volume info test
 
Volume Name: test
Type: Distribute
Volume ID: 0e785456-78f5-42e0-84fa-b375a89b813c
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: XX1:/home/t1
Brick2: XX2:/home/t1
Brick3: XX3:/home/t1


2. Bring the server down having one or more sub-volumes
[root@Rhs3 ~]# poweroff

3. Check the gluster volume status and info.

[root@Rhs3 ~]# gluster volume info test
 
Volume Name: test
Type: Distribute
Volume ID: 0e785456-78f5-42e0-84fa-b375a89b813c
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: XX1:/home/t1
Brick2: XX2:/home/t1
Brick3: XX3:/home/t1


[root@Rhs1 ~]# gluster volume status test
Status of volume: test
Gluster process						Port	Online	Pid
------------------------------------------------------------------------------
Brick XX1:/home/t1					24009	Y	14939
Brick XX2:/home/t1					24211	Y	12569
NFS Server on localhost					38467	Y	14952
NFS Server on 10.70.35.85				38467	Y	12581

  
Actual results:
It is not showing Brick 3 info which is on down server

Expected results:
Even though server is down, it should show it in 'gluster volume status <vol-name>' result

Additional info:

Comment 2 Amar Tumballi 2012-11-29 08:46:46 UTC

*** This bug has been marked as a duplicate of bug 852147 ***


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