diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2016-07-01 11:47:48 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2016-07-08 10:18:05 -0700 |
commit | be03507d5224cf44c0e8ca4120c02ce409f5b08c (patch) | |
tree | 321f4171acd2443d61bafe59a729d62399d34943 /xlators | |
parent | 754e2658ba58743bc4ef2d843410334e639a96e1 (diff) |
cli: print volume status client output for partial bricks
Backport of http://review.gluster.org/14842
In cli the response dictionary is parsed assuming all the bricks to be up.
If in a given cluster one of the node is down client details for the
bricks hosted by the same node are not available in the dictionary resulting
into a blank output for 'gluster volume status <volname> clients'
Fix is to ignore the ret value for dict_get for those keys.
Change-Id: If4fb65b8807ea3ac71b3ed1a754ea75f599e3613
BUG: 1352926
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/14842
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-on: http://review.gluster.org/14865
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions