Bug 1258385

Summary: DHT:Rebalance: While Re-balance job is in progress, should not allow to trigger the re-balance job again
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RajeshReddy <rmekala>
Component: distributeAssignee: Raghavendra G <rgowdapp>
Status: CLOSED WORKSFORME QA Contact: Anoop <annair>
Severity: unspecified Docs Contact:
Priority: low    
Version: rhgs-3.1CC: bperkins, moagrawa, mzywusko, nbalacha, rhs-bugs, sanandpa, spalai, tdesala
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: dht-rebalance-usability, dht-retest
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-04 15:51:55 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 RajeshReddy 2015-08-31 09:16:13 UTC
Description of problem:
=================
DHT:Rebalance: While Re-balance job is in progress, should not allow to trigger the re-balance job again 

Version-Release number of selected component (if applicable):
=====================
glusterfs-server-3.7.1-12

How reproducible:


Steps to Reproduce:
==================
1.Create distributed volume and mount it on client (FUSE)
2.Create directory and thousands of files
3.Re-name all files, and trigger re-balance job
4.Again on the same node trigger re-balance but error message is pops up saying "Job is running" but able to trigger re-balance job from the different nod

Actual results:


Expected results:
=============
While Re-balance job is in progress, should not allow to trigger the re-balance job again 


Additional info:
===================
[root@rhs-client4 /]# gluster vol status test7
Status of volume: test7
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick rhs-client4.lab.eng.blr.redhat.com:/r
hs/brick1/test7                             49162     0          Y       3846 
Brick rhs-client4.lab.eng.blr.redhat.com:/r
hs/brick1/test7_2                           49163     0          Y       11772
NFS Server on localhost                     2049      0          Y       17916
Bitrot Daemon on localhost                  N/A       N/A        Y       17940
Scrubber Daemon on localhost                N/A       N/A        Y       17953
NFS Server on rhs-client39.lab.eng.blr.redh
at.com                                      2049      0          Y       22209
Bitrot Daemon on rhs-client39.lab.eng.blr.r
edhat.com                                   N/A       N/A        N       N/A  
Scrubber Daemon on rhs-client39.lab.eng.blr
.redhat.com                                 N/A       N/A        N       N/A  
NFS Server on rhs-client9.lab.eng.blr.redha
t.com                                       2049      0          Y       31590
Bitrot Daemon on rhs-client9.lab.eng.blr.re
dhat.com                                    N/A       N/A        Y       31614
Scrubber Daemon on rhs-client9.lab.eng.blr.
redhat.com                                  N/A       N/A        Y       31626
 
Task Status of Volume test7
------------------------------------------------------------------------------
Task                 : Rebalance           
ID                   : b891cedf-8055-47ac-a534-d95e78b47c02
Status               : completed