Bug 1382277
Summary: | Incorrect volume type in the "glusterd_state" file generated using CLI "gluster get-state" | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Byreddy <bsrirama> | |
Component: | glusterd | Assignee: | Samikshan Bairagya <sbairagy> | |
Status: | CLOSED ERRATA | QA Contact: | Byreddy <bsrirama> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.2 | CC: | amukherj, rhinduja, rhs-bugs, storage-qa-internal, vbellur | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.2.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8.4-3 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1385839 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-23 06:08:34 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1351528, 1385839, 1387502 |
Description
Byreddy
2016-10-06 08:37:06 UTC
Byreddy - please do not use the term statedump here as that indicates something different. Please change the subject/summary to mention cluster state Correction, it should be local state. Some other issues related to this one: 1) replica count entry is not showing, it should be there 2) Correct the peer related info which is discussed // similar to CLI peer status output 3) Remove the below duplicate entries Volume1.rebalance.data: 0 Volume1.rebalance.data: 0 4) Entry "Volume1.Brick1.signedin:" is showing false for running brick process 5)Remove the not needed entries eg: Volume1.Brick1.filesystem_type: Volume1.Brick1.mount_options: I didn't seen these entries filled in my testing. + 6) Sever quorum ratio entry is missing, which is needed. (In reply to Byreddy from comment #7) > + > 6) Server quorum ratio entry is missing, which is needed. (In reply to Byreddy from comment #7) > + > 6) Sever quorum ratio entry is missing, which is needed. cluster.server-quorum-ratio will be there in the local state data under the global options section, in case it is explicitly set to some other value other than the default. (In reply to Samikshan Bairagya from comment #9) > (In reply to Byreddy from comment #7) > > + > > 6) Sever quorum ratio entry is missing, which is needed. > > cluster.server-quorum-ratio will be there in the local state data under the > global options section, in case it is explicitly set to some other value > other than the default. Yes Samikshan, i am seeing when i set it explicitly under the global option section. For Tiered volume type, we have to separate the cold and hot bricks based on the below info in the file. Volume4.tier_info.cold_tier_type: Replicate Volume4.tier_info.cold_brick_count: 3 Volume4.tier_info.cold_replica_count: 3 Volume4.tier_info.cold_disperse_count: 0 Volume4.tier_info.cold_dist_leaf_count: 3 Volume4.tier_info.cold_redundancy_count: 0 Volume4.tier_info.hot_tier_type: Distribute Volume4.tier_info.hot_brick_count: 2 Volume4.tier_info.hot_replica_count: 1 Volume4.tier_info.promoted: 0 Volume4.tier_info.demoted: 0 rebalanced data entry is showing with out data unit. Volume1.rebalance.id: e7227829-1357-4153-8b8f-78e05aec5fe1 Volume1.rebalance.status: started Volume1.rebalance.failures: 0 Volume1.rebalance.skipped: 0 Volume1.rebalance.lookedup: 988 Volume1.rebalance.files: 684 Volume1.rebalance.data: 93433255 <======= NO DATA UNIT I think data unit is needed here http://review.gluster.org/15662 is posted for review. upstream mainline : http://review.gluster.org/15662 upstream 3.9 : http://review.gluster.org/15696 downstream patch : https://code.engineering.redhat.com/gerrit/#/c/87965 Verified this bug using the build - glusterfs-3.8.4-3. I am seeing all the above mentioned issues are addressed. Moving to verified state. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0486.html |