Bug 1008889 - [RHSC] Stop volume when rebalance is in progress succeeds.
Summary: [RHSC] Stop volume when rebalance is in progress succeeds.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: RHGS 2.1.2
Assignee: Ramesh N
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-17 09:48 UTC by Shruti Sampat
Modified: 2015-05-13 16:28 UTC (History)
8 users (show)

Fixed In Version: CB3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-25 07:38:41 UTC
Embargoed:


Attachments (Terms of Use)
engine logs (830.02 KB, text/plain)
2013-09-17 10:06 UTC, Shruti Sampat
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC
oVirt gerrit 19363 0 None None None Never

Description Shruti Sampat 2013-09-17 09:48:40 UTC
Description of problem:
------------------------
After starting rebalance on a volume, trying to stop the volume, failed the first couple of times, but then eventually succeeded, while rebalance was still running.

Version-Release number of selected component (if applicable):
oVirt Engine Version: 3.4.0-0.2.master.20130911113322.gite7ade4a.fc19 

How reproducible:
Observed it once.

Steps to Reproduce:
1. Start rebalance on a volume.
2. Try to start the volume while rebalance is still running. Try this a few times, it failed.
3. Left the setup as it is. The tasks subtab showed that rebalance was still running and the menu item for Rebalance -> Stop was enabled (which indicates that rebalance was still going on, according to engine DB).
4. Again try to stop the volume.

(Note: rebalance had actually completed, according to the gluster CLI output of rebalance status command, but the engine still showed it as running)

Actual results:
Stopping the volume succeeded, which should not be the case.

Expected results:
Stopping the volume should fail.

Additional info:

Comment 2 Shruti Sampat 2013-09-17 09:55:52 UTC
Step 2 in 'Steps to reproduce' should read as :

Try to stop the volume while rebalance is still running. Try this a few times, it failed.

Comment 3 Shruti Sampat 2013-09-17 10:06:39 UTC
Created attachment 798716 [details]
engine logs

Comment 4 Shruti Sampat 2013-10-18 13:01:03 UTC
Verified as fixed in Red Hat Storage Console Version: 2.1.2-0.0.scratch.beta1.el6_4. 

An error pop-up is shown on trying to stop a volume while rebalance is running on the volume.

Comment 5 Ramesh N 2014-01-03 08:46:33 UTC
Doc Text is not required  as its a new feature and we already have an RFE

Comment 7 errata-xmlrpc 2014-02-25 07:38:41 UTC
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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html


Note You need to log in before you can comment on or make changes to this bug.