Bug 1447929
Summary: | [Tiering]: High and low watermark values when set to the same level, is allowed | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Sweta Anandpara <sanandpa> | |
Component: | tier | Assignee: | hari gowtham <hgowtham> | |
Status: | CLOSED ERRATA | QA Contact: | Sweta Anandpara <sanandpa> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.3 | CC: | amukherj, rhinduja, rhs-bugs, rtalur, storage-qa-internal | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.3.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8.4-25 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1447960 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-21 04:41:45 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: | 1448790 | |||
Bug Blocks: | 1417151 |
Description
Sweta Anandpara
2017-05-04 09:13:30 UTC
upstream patch : https://review.gluster.org/#/c/17175/ downstream patch : https://code.engineering.redhat.com/gerrit/#/c/105658/ Tested and verified this on the build 3.8.4-25 High watermark MUST be set to an integer greater than lower watermark. Setting it to the same values does error out, when tested in various situations. Moving this BZ to verified in 3.3. Detailed logs are pasted below. [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# rpm -qa | grep gluster glusterfs-libs-3.8.4-25.el7rhgs.x86_64 glusterfs-events-3.8.4-25.el7rhgs.x86_64 glusterfs-cli-3.8.4-25.el7rhgs.x86_64 glusterfs-client-xlators-3.8.4-25.el7rhgs.x86_64 glusterfs-server-3.8.4-25.el7rhgs.x86_64 glusterfs-rdma-3.8.4-25.el7rhgs.x86_64 vdsm-gluster-4.17.33-1.1.el7rhgs.noarch gluster-nagios-common-0.2.4-1.el7rhgs.noarch gluster-nagios-addons-0.2.8-1.el7rhgs.x86_64 glusterfs-api-3.8.4-25.el7rhgs.x86_64 python-gluster-3.8.4-25.el7rhgs.noarch glusterfs-debuginfo-3.8.4-24.el7rhgs.x86_64 glusterfs-fuse-3.8.4-25.el7rhgs.x86_64 glusterfs-3.8.4-25.el7rhgs.x86_64 glusterfs-geo-replication-3.8.4-25.el7rhgs.x86_64 [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster peer status Number of Peers: 5 Hostname: dhcp47-113.lab.eng.blr.redhat.com Uuid: a0557927-4e5e-4ff7-8dce-94873f867707 State: Peer in Cluster (Connected) Hostname: dhcp47-114.lab.eng.blr.redhat.com Uuid: c0dac197-5a4d-4db7-b709-dbf8b8eb0896 State: Peer in Cluster (Connected) Hostname: dhcp47-115.lab.eng.blr.redhat.com Uuid: f828fdfa-e08f-4d12-85d8-2121cafcf9d0 State: Peer in Cluster (Connected) Hostname: dhcp47-116.lab.eng.blr.redhat.com Uuid: a96e0244-b5ce-4518-895c-8eb453c71ded State: Peer in Cluster (Connected) Hostname: dhcp47-117.lab.eng.blr.redhat.com Uuid: 17eb3cef-17e7-4249-954b-fc19ec608304 State: Peer in Cluster (Connected) [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster v list disp disp2 dist distrep distrep2 distrep3 [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster v info disp Volume Name: disp Type: Tier Volume ID: ca8ba15e-1c0e-463c-b041-76bca48b0330 Status: Started Snapshot Count: 0 Number of Bricks: 10 Transport-type: tcp Hot Tier : Hot Tier Type : Distribute Number of Bricks: 4 Brick1: 10.70.47.115:/bricks/brick4/disp_tier3 Brick2: 10.70.47.114:/bricks/brick4/disp_tier2 Brick3: 10.70.47.113:/bricks/brick4/disp_tier1 Brick4: 10.70.47.121:/bricks/brick4/disp_tier0 Cold Tier: Cold Tier Type : Disperse Number of Bricks: 1 x (4 + 2) = 6 Brick5: 10.70.47.121:/bricks/brick3/disp_0 Brick6: 10.70.47.113:/bricks/brick3/disp_1 Brick7: 10.70.47.114:/bricks/brick3/disp_2 Brick8: 10.70.47.115:/bricks/brick3/disp_3 Brick9: 10.70.47.116:/bricks/brick3/disp_4 Brick10: 10.70.47.117:/bricks/brick3/disp_5 Options Reconfigured: cluster.watermark-low: 75 cluster.watermark-hi: 76 nfs.disable: on transport.address-family: inet features.bitrot: on features.scrub: Active features.quota: on features.inode-quota: on features.quota-deem-statfs: on features.scrub-freq: hourly performance.stat-prefetch: on features.ctr-enabled: on cluster.tier-mode: cache cluster.brick-multiplex: disable [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster v status disp Status of volume: disp Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Hot Bricks: Brick 10.70.47.115:/bricks/brick4/disp_tier 3 49152 0 Y 23451 Brick 10.70.47.114:/bricks/brick4/disp_tier 2 49152 0 Y 30898 Brick 10.70.47.113:/bricks/brick4/disp_tier 1 49152 0 Y 5934 Brick 10.70.47.121:/bricks/brick4/disp_tier 0 49152 0 Y 5536 Cold Bricks: Brick 10.70.47.121:/bricks/brick3/disp_0 49153 0 Y 5539 Brick 10.70.47.113:/bricks/brick3/disp_1 49153 0 Y 5940 Brick 10.70.47.114:/bricks/brick3/disp_2 49153 0 Y 30904 Brick 10.70.47.115:/bricks/brick3/disp_3 49153 0 Y 23457 Brick 10.70.47.116:/bricks/brick3/disp_4 49152 0 Y 27748 Brick 10.70.47.117:/bricks/brick3/disp_5 49152 0 Y 9724 Self-heal Daemon on localhost N/A N/A Y 7034 Quota Daemon on localhost N/A N/A Y 7050 Bitrot Daemon on localhost N/A N/A Y 7103 Scrubber Daemon on localhost N/A N/A Y 7156 Self-heal Daemon on dhcp47-113.lab.eng.blr. redhat.com N/A N/A Y 5850 Quota Daemon on dhcp47-113.lab.eng.blr.redh at.com N/A N/A Y 5859 Bitrot Daemon on dhcp47-113.lab.eng.blr.red hat.com N/A N/A Y 5876 Scrubber Daemon on dhcp47-113.lab.eng.blr.r edhat.com N/A N/A Y 5887 Self-heal Daemon on dhcp47-115.lab.eng.blr. redhat.com N/A N/A Y 26165 Quota Daemon on dhcp47-115.lab.eng.blr.redh at.com N/A N/A Y 26197 Bitrot Daemon on dhcp47-115.lab.eng.blr.red hat.com N/A N/A Y 26219 Scrubber Daemon on dhcp47-115.lab.eng.blr.r edhat.com N/A N/A Y 26235 Self-heal Daemon on dhcp47-116.lab.eng.blr. redhat.com N/A N/A Y 26425 Quota Daemon on dhcp47-116.lab.eng.blr.redh at.com N/A N/A Y 26459 Bitrot Daemon on dhcp47-116.lab.eng.blr.red hat.com N/A N/A Y 26473 Scrubber Daemon on dhcp47-116.lab.eng.blr.r edhat.com N/A N/A Y 26510 Self-heal Daemon on dhcp47-114.lab.eng.blr. redhat.com N/A N/A Y 30761 Quota Daemon on dhcp47-114.lab.eng.blr.redh at.com N/A N/A Y 30795 Bitrot Daemon on dhcp47-114.lab.eng.blr.red hat.com N/A N/A Y 30815 Scrubber Daemon on dhcp47-114.lab.eng.blr.r edhat.com N/A N/A Y 30831 Self-heal Daemon on dhcp47-117.lab.eng.blr. redhat.com N/A N/A Y 7860 Quota Daemon on dhcp47-117.lab.eng.blr.redh at.com N/A N/A Y 7883 Bitrot Daemon on dhcp47-117.lab.eng.blr.red hat.com N/A N/A Y 7913 Scrubber Daemon on dhcp47-117.lab.eng.blr.r edhat.com N/A N/A Y 7964 Task Status of Volume disp ------------------------------------------------------------------------------ Task : Tier migration ID : 31a36238-7edc-46d5-8eea-3bf8d25a2599 Status : in progress [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster v disp get all | grep watermark [root@dhcp47-121 ~]# gluster v get disp all | grep watermark cluster.watermark-hi 75 cluster.watermark-low 75 [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster v set disp cluster.watermark-hi 90 volume set: success [root@dhcp47-121 ~]# gluster v get disp all | grep watermark cluster.watermark-hi 90 cluster.watermark-low 75 [root@dhcp47-121 ~]# gluster v set disp cluster.watermark-hi 75 volume set: failed: lower watermark cannot be equal or exceed upper watermark. [root@dhcp47-121 ~]# gluster v set disp cluster.watermark-hi 74 volume set: failed: lower watermark cannot be equal or exceed upper watermark. [root@dhcp47-121 ~]# gluster v set disp cluster.watermark-hi 76 volume set: success [root@dhcp47-121 ~]# gluster v get disp all | grep watermark cluster.watermark-hi 76 cluster.watermark-low 75 [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster v set disp watermark-low 77 volume set: failed: lower watermark cannot be equal or exceed upper watermark. [root@dhcp47-121 ~]# gluster v set disp watermark-low 7 volume set: success [root@dhcp47-121 ~]# gluster v get disp all | grep watermark cluster.watermark-hi 76 cluster.watermark-low 7 [root@dhcp47-121 ~]# gluster v set disp watermark-low 90 volume set: failed: lower watermark cannot be equal or exceed upper watermark. [root@dhcp47-121 ~]# gluster v set disp watermark-low 76 volume set: failed: lower watermark cannot be equal or exceed upper watermark. [root@dhcp47-121 ~]# gluster v set disp watermark-low 75 volume set: success [root@dhcp47-121 ~]# gluster v set disp watermark-low 75.5 volume set: failed: 75.5 is not a compatible value. watermark-low expects an integer value. [root@dhcp47-121 ~]# gluster v get disp all | grep watermark cluster.watermark-hi 76 cluster.watermark-low 75 [root@dhcp47-121 ~]# gluster v set disp watermark-low abc volume set: failed: abc is not a compatible value. watermark-low expects an integer value. [root@dhcp47-121 ~]# gluster v set disp watermark-low 0 volume set: failed: 0 is not a compatible value. watermark-low expects a percentage from 1-99. [root@dhcp47-121 ~]# gluster v set disp watermark-hi 100 volume set: failed: 100 is not a compatible value. watermark-hi expects a percentage from 1-99. [root@dhcp47-121 ~]# gluster v set disp watermark-hi 99.9 volume set: failed: 99.9 is not a compatible value. watermark-hi expects an integer value. [root@dhcp47-121 ~]# gluster v set disp watermark-hi 98. volume set: failed: 98. is not a compatible value. watermark-hi expects an integer value. [root@dhcp47-121 ~]# gluster v set disp watermark-hi 0.9 volume set: failed: 0.9 is not a compatible value. watermark-hi expects an integer value. [root@dhcp47-121 ~]# gluster v set disp watermark-hi 0x90 volume set: failed: 0x90 is not a compatible value. watermark-hi expects a percentage from 1-99. [root@dhcp47-121 ~]# gluster v set disp watermark-hi ## Usage: volume set <VOLNAME> <KEY> <VALUE> [root@dhcp47-121 ~]# gluster v set disp watermark-hi &* [1] 10284 -bash: 3.3-packages: command not found [root@dhcp47-121 ~]# Usage: volume set <VOLNAME> <KEY> <VALUE> [1]+ Exit 1 gluster v set disp watermark-hi [root@dhcp47-121 ~]# gluster v set disp watermark-hi () -bash: syntax error near unexpected token `(' [root@dhcp47-121 ~]# gluster v set disp watermark-hi @! volume set: failed: @! is not a compatible value. watermark-hi expects an integer value. [root@dhcp47-121 ~]# gluster v get disp all | grep watermark cluster.watermark-hi 76 cluster.watermark-low 75 [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# [root@dhcp47-121 ~]# gluster v set disp watermark-hi 75 volume set: failed: lower watermark cannot be equal or exceed upper watermark. [root@dhcp47-121 ~]# 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://access.redhat.com/errata/RHBA-2017:2774 |