Bug 1257092
Summary: | gstatus: gstatus --debug doesn't give all the information for the node object | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Anil Shah <ashah> |
Component: | gstatus | Assignee: | Sachidananda Urs <surs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | storage-qa-internal <storage-qa-internal> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | rcyriac, surs |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | gstatus-0.65-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-10-28 13:11:46 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
Anil Shah
2015-08-26 09:34:47 UTC
All the empty strings are removed. On the localhost it prints the aliases. On a remote machine if it is unable to get aliases empty strings are returned, we filter them off. Fixed in gstatus-0.65-1 https://github.com/sachidanandaurs/gstatus/commit/4965c420b708e2b8f5e0458fa51d5f8e5ba363ac The above commit fixes this bug. Bug verified ob build glusterfs-3.7.1-14.el7rhgs.x86_64 [root@rhs-client46 ~]# gstatus -D Creating a node object with uuid 086eb737-553e-499a-b387-2ea1d4813b96, with names of ['10.70.36.71', 'rhs-client47', 'rhs-client47.lab.eng.blr.redhat.com'] Creating a node object with uuid 1f37c4a3-94a1-4aba-a569-c4ddde72d186, with names of ['10.70.36.46', 'rhs-client22', 'rhs-client22.lab.eng.blr.redhat.com'] Creating a node object with uuid f39b95f3-31e4-4bbe-b0ae-5672153e2e4e, with names of ['10.70.44.13', 'rhsqa7', 'rhsqa7.lab.eng.blr.redhat.com'] Creating a node object with uuid 4c160711-db1a-46af-91ae-2a3d8f732ec4, with names of ['10.70.36.70', 'rhs-client46', 'rhs-client46.lab.eng.blr.redhat.com', 'localhost'] defineVolumes. Adding volume testvol defineVolumes. Adding brick 10.70.36.70:/rhs/brick1/b001 to testvol defineVolumes. Adding brick 10.70.36.71:/rhs/brick1/b002 to testvol defineVolumes. Adding brick 10.70.36.46:/rhs/brick1/b003 to testvol defineVolumes. Adding brick 10.70.44.13:/rhs/brick1/b004 to testvol defineSnapshots. Volume 'testvol' has 0 snapshots Volume 'update'. Processing volume testvol Product: RHGS Server v3.1 Capacity: 1.80 TiB(raw bricks) Status: UNHEALTHY(7) 1.00 GiB(raw used) Glusterfs: 3.7.1 1.80 TiB(usable from volumes) OverCommit: No Snapshots: 0 [root@rhs-client46 ~]# gstatus -0debug Usage: gstatus [options] gstatus: error: no such option: -0 [root@rhs-client46 ~]# gstatus --debug Creating a node object with uuid 086eb737-553e-499a-b387-2ea1d4813b96, with names of ['10.70.36.71', 'rhs-client47', 'rhs-client47.lab.eng.blr.redhat.com'] Creating a node object with uuid 1f37c4a3-94a1-4aba-a569-c4ddde72d186, with names of ['10.70.36.46', 'rhs-client22', 'rhs-client22.lab.eng.blr.redhat.com'] Creating a node object with uuid f39b95f3-31e4-4bbe-b0ae-5672153e2e4e, with names of ['10.70.44.13', 'rhsqa7', 'rhsqa7.lab.eng.blr.redhat.com'] Creating a node object with uuid 4c160711-db1a-46af-91ae-2a3d8f732ec4, with names of ['10.70.36.70', 'rhs-client46', 'rhs-client46.lab.eng.blr.redhat.com', 'localhost'] defineVolumes. Adding volume testvol defineVolumes. Adding brick 10.70.36.70:/rhs/brick1/b001 to testvol defineVolumes. Adding brick 10.70.36.71:/rhs/brick1/b002 to testvol defineVolumes. Adding brick 10.70.36.46:/rhs/brick1/b003 to testvol defineVolumes. Adding brick 10.70.44.13:/rhs/brick1/b004 to testvol defineSnapshots. Volume 'testvol' has 0 snapshots Volume 'update'. Processing volume testvol Product: RHGS Server v3.1 Capacity: 1.80 TiB(raw bricks) Status: UNHEALTHY(7) 1.00 GiB(raw used) Glusterfs: 3.7.1 1.80 TiB(usable from volumes) OverCommit: No Snapshots: 0 |