Bug 956693
Summary: | After doing fix-layout , gluster rebalance status message could be modified to mention that fix- layout is completed instead of just mentioning 'COMPLETED' | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | senaik | |
Component: | distribute | Assignee: | Nithya Balachandran <nbalacha> | |
Status: | CLOSED DEFERRED | QA Contact: | Anoop <annair> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 2.1 | CC: | amukherj, nsathyan, ravishankar, rhs-bugs, rwheeler, spalai, vagarwal, vbellur | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.4.0.35.1u2rhs-1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1004744 1286073 1286076 1286077 1286079 1286081 (view as bug list) | Environment: | ||
Last Closed: | 2015-11-27 10:35:16 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: | 1004744, 1286073, 1286076, 1286077, 1286079, 1286081 |
Description
senaik
2013-04-25 12:51:16 UTC
Downstream review URL:https://code.engineering.redhat.com/gerrit/#/c/13120/ Version : After doing a fix layout and checking the rebalance status , it shows 'fix-layout completed'. But after restarting glusterd, and checking rebalance status, now it shows 'fix-layout in progress' even though there is no change in the layout. Moving the bug to 'Assigned' Steps followed : -------------- 1) Created a distribute volume with 3 bricks 2) Fuse mount the volume and create some files 3) Add 2 more bricks and perform fix-layout [root@boost brick1]# gluster v rebalance vol1 fix-layout start volume rebalance: vol1: success: Starting rebalance on volume vol1 has been successful. ID: efe4626f-80db-4a73-9ae8-732848b9fa75 check status gluster v rebalance vol1 status Node Rebalanced-files size scanned failures skipped status run time in secs ---- ---------------- ---- ------- -------- ------- ------ ---------------- localhost 0 0Bytes 0 0 0 fix-layout completed 0.00 10.70.34.88 0 0Bytes 0 0 0 fix-layout completed 0.00 10.70.34.86 0 0Bytes 0 0 0 fix-layout completed 0.00 volume rebalance: vol1: success: 4)Restart glusterd [root@boost brick1]# service glusterd stop Stopping glusterd: [ OK ] [root@boost brick1]# service glusterd start Starting glusterd: [ OK ] 5) Check rebalance status now , gluster v rebalance vol1 status Node Rebalanced-files size scanned failures skipped status run time in secs ---- ---------------- ---- ------- -------- ------- ------ ---------------- localhost 0 0Bytes 0 0 0 fix-layout in progress 0.00 10.70.34.88 0 0Bytes 0 0 0 fix-layout in progress 0.00 10.70.34.86 0 0Bytes 0 0 0 fix-layout in progress 0.00 volume rebalance: vol1: success: Status shows that fix-layout is in progress even though there is no change in the layout . [root@boost brick1]# gluster v i vol1 Volume Name: vol1 Type: Distribute Volume ID: f925dc41-f28c-4619-a917-9c41351642b4 Status: Started Number of Bricks: 5 Transport-type: tcp Bricks: Brick1: 10.70.34.86:/rhs/brick1/b1 Brick2: 10.70.34.88:/rhs/brick1/b2 Brick3: 10.70.34.85:/rhs/brick1/b3 Brick4: 10.70.34.86:/rhs/brick1/b4 Brick5: 10.70.34.88:/rhs/brick1/b5 Missed specifying the version in Comment 4: glusterfs 3.4.0.44.1u2rhs Some observations: 1) Able to reproduce issue in comment #4. However the status field seems to be transient and "settles down" to 'fix-layout completed' when the command is run again. ===================================================== [root@gatekeeper testvol]# service glusterd stop [root@gatekeeper testvol]# [ OK ] [root@gatekeeper testvol]# service glusterd start Starting glusterd: [ OK ] [root@gatekeeper testvol]# [root@gatekeeper testvol]# [root@gatekeeper testvol]# gluster v rebalance testvol status Node Rebalanced-files size scanned failures skipped status run time in secs --------- ----------- ----------- ----------- ----------- ----------- ------------ -------------- localhost 0 0Bytes 0 0 0 fix-layout in progress 0.00 10.70.42.194 0 0Bytes 0 0 0 fix-layout in progress 0.00 10.70.42.203 0 0Bytes 0 0 0 fix-layout completed 0.00 10.70.42.251 0 0Bytes 0 0 0 fix-layout in progress 0.00 volume rebalance: testvol: success: [root@gatekeeper testvol]# [root@gatekeeper testvol]# [root@gatekeeper testvol]# gluster v rebalance testvol status Node Rebalanced-files size scanned failures skipped status run time in secs --------- ----------- ----------- ----------- ----------- ----------- ------------ -------------- localhost 0 0Bytes 0 0 0 fix-layout completed 1.00 10.70.42.194 0 0Bytes 0 0 0 fix-layout completed 1.00 10.70.42.203 0 0Bytes 0 0 0 fix-layout completed 0.00 10.70.42.251 0 0Bytes 0 0 0 fix-layout completed 1.00 volume rebalance: testvol: success: [root@gatekeeper testvol]# ============================================== 2) Also able to observe the same behaviour with a full rebalance where status changes from 'in progess' to 'completed': ============================================ [root@tuxvm2 ~]# service glusterd stop [root@tuxvm2 ~]# service glusterd start Starting glusterd: [ OK ] [root@tuxvm2 ~]# gluster v rebalance testvol status Node Rebalanced-files size scanned failures skipped status run time in secs --------- ----------- ----------- ----------- ----------- ----------- ------------ -------------- localhost 0 0Bytes 0 0 0 in progress 0.00 10.70.42.194 0 0Bytes 0 0 0 in progress 0.00 10.70.40.111 0 0Bytes 0 0 0 in progress 0.00 10.70.42.203 0 0Bytes 0 0 0 completed 0.00 volume rebalance: testvol: success: [root@tuxvm2 ~]# gluster v rebalance testvol status Node Rebalanced-files size scanned failures skipped status run time in secs --------- ----------- ----------- ----------- ----------- ----------- ------------ -------------- localhost 0 0Bytes 0 0 0 completed 0.00 10.70.42.194 0 0Bytes 0 0 0 completed 0.00 10.70.40.111 0 0Bytes 0 0 0 completed 0.00 10.70.42.203 0 0Bytes 0 0 0 completed 0.00 volume rebalance: testvol: success: [root@tuxvm2 ~]# =================================== A separate bug probably needs to be filed for this. Hi Ravishankar , Bug has been raised : https://bugzilla.redhat.com/show_bug.cgi?id=1040345 As per comment 4 , after restarting glusterd and checking rebalance status it shows that fix layout is still in progress when there is no layout change happening . Moving the bug back to 'Assigned' adding 3.0 flag and removing 2.1.z |