Bug 1060434
| Summary: | [oVirt'S Gluster Inetgration ] Status of remove-brick changed from commit-pending to unknown (?) when left untouched for a few hours | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Krutika Dhananjay <kdhananj> |
| Component: | glusterd | Assignee: | krishnan parthasarathi <kparthas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | dpati, dtsang, gluster-bugs, kdhananj, knarra, mmahoney, nlevinki, nsathyan, pprakash, rhs-bugs, sabose, sdharane, ssampat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.5.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1059662 | Environment: | |
| Last Closed: | 2014-04-17 11:52:51 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: | 1059662 | ||
| Bug Blocks: | |||
|
Description
Krutika Dhananjay
2014-02-01 18:50:39 UTC
posted in upstream for review. http://review.gluster.org/#/c/6885/ With this fix, the output of remove-brick stop corrcetly prints the node ids.
[root@calvin /]# gluster volume remove-brick dis-rep calvin:/brick/3 hobbes:/brick/4 stop
Node Rebalanced-files size scanned failures skipped status run time in secs
--------- ----------- ----------- ----------- ----------- ----------- ------------ --------------
localhost 503 128.2MB 1000 0 0 completed 36.00
10.70.43.140 0 0Bytes 1000 0 0 completed 10.00
'remove-brick' process may be in the middle of a file migration.
The process will be fully stopped once the migration of the file is complete.
Please check remove-brick process for completion before doing any further brick related tasks on the volume.
And also, 'volume status all tasks' shows the correct output before and after remove-brick is stopped:
BEFORE:
Task Status of Volume dis-rep
------------------------------------------------------------------------------
Task : Remove brick
ID : 89a745e1-540d-48fc-b4ce-da24f561cbc7
Removed bricks:
calvin:/brick/3
hobbes:/brick/4
Status : completed
AFTER:
Task Status of Volume dis-rep
------------------------------------------------------------------------------
There are no active volume tasks
REVIEW: http://review.gluster.org/6885 (glusterd: Reset opinfo.op ONLY if lock succeeded) posted (#2) for review on master by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/6885 (glusterd: Reset opinfo.op ONLY if lock succeeded) posted (#3) for review on master by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/6885 committed in master by Vijay Bellur (vbellur) ------ commit 797c62eb56797189b51a1dcb35009499f920a3ea Author: Krutika Dhananjay <kdhananj> Date: Sat Feb 1 22:49:22 2014 +0530 glusterd: Reset opinfo.op ONLY if lock succeeded Change-Id: I0244a7f61a826b32f4c2dfe51e246f2593a38211 BUG: 1060434 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/6885 Reviewed-by: Kaushal M <kaushal> Reviewed-by: Krishnan Parthasarathi <kparthas> Tested-by: Gluster Build System <jenkins.com> REVIEW: http://review.gluster.org/6922 (glusterd: Reset opinfo.op ONLY if lock succeeded) posted (#1) for review on release-3.5 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/6922 committed in release-3.5 by Vijay Bellur (vbellur) ------ commit ef37b4b6a22fe04b5a1789c45b28c8d7e6fe764a Author: Krutika Dhananjay <kdhananj> Date: Sat Feb 1 22:49:22 2014 +0530 glusterd: Reset opinfo.op ONLY if lock succeeded ... and also initialise @this before doing anything else. Change-Id: I0244a7f61a826b32f4c2dfe51e246f2593a38211 BUG: 1060434 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/6885 Reviewed-by: Kaushal M <kaushal> Reviewed-by: Krishnan Parthasarathi <kparthas> Tested-by: Gluster Build System <jenkins.com> Reviewed-on: http://review.gluster.org/6922 Reviewed-by: Vijay Bellur <vbellur> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.0, please reopen this bug report. glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |