Bug 905904 - [RHSC] "Stop Volume" hangs
Summary: [RHSC] "Stop Volume" hangs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Shubhendu Tripathi
QA Contact: Prasanth
URL:
Whiteboard: https://engineering.redhat.com/trac/r...
: 907492 (view as bug list)
Depends On:
Blocks: 910670
TreeView+ depends on / blocked
 
Reported: 2013-01-30 12:46 UTC by Prasanth
Modified: 2013-09-23 22:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 910670 (view as bug list)
Environment:
Last Closed: 2013-09-23 22:25:36 UTC
Embargoed:


Attachments (Terms of Use)
screenshot of error (136.55 KB, image/png)
2013-01-30 12:46 UTC, Prasanth
no flags Details
Engine logs (7.45 MB, application/x-tar)
2013-01-30 12:48 UTC, Prasanth
no flags Details
Vdsm logs from Host1 (6.67 MB, application/x-tar)
2013-01-30 12:51 UTC, Prasanth
no flags Details
Vdsm logs from Host2 (6.14 MB, application/x-tar)
2013-01-30 12:53 UTC, Prasanth
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 11597 0 None None None Never

Description Prasanth 2013-01-30 12:46:30 UTC
Created attachment 690358 [details]
screenshot of error

Description of problem:
Stop Volume" hangs

Version-Release number of selected component (if applicable):
rhsc-2.1.0-0.qa5

How reproducible: 100%


Steps to Reproduce:
1. Create a cluster and add a Host
2. Create a Volume in that cluster and start it
3. Now put that host in to "Maintenance mode"
4. Once done, try to remove the Host. It will fail with an error: "Error while executing action: Cannot remove Host. Server having Gluster volume."
5. Try to do a "Force Removal". It will also fail with an error: "Error while executing action: Cannot remove Host. Related operation is currently in progress. Please try again later."
6. Now try to stop that volume, it hangs and never ends.
&. Close that dialogue window, activate the host and then try to stop the volume again. It again hangs.
  
Actual results: The "Stop Volume" dialogue window hangs.


Expected results: It should not hang and stop volume should succeed.


Additional info: Screenshots and logs are attached.

Comment 1 Prasanth 2013-01-30 12:48:35 UTC
Created attachment 690365 [details]
Engine logs

Comment 2 Prasanth 2013-01-30 12:51:31 UTC
Created attachment 690367 [details]
Vdsm logs from Host1

Comment 4 Prasanth 2013-01-30 12:53:08 UTC
Created attachment 690368 [details]
Vdsm logs from Host2

Comment 5 Shireesh 2013-01-30 13:08:55 UTC
Looks like the lock that was acquired on when trying to remove the server is not getting released, and that is causing the stop volume to block.

Comment 6 Scott Haines 2013-02-06 20:37:39 UTC
Per Feb-06 bug triage meeting, targeting for 2.1.0.

Comment 7 Shireesh 2013-02-18 09:56:35 UTC
*** Bug 907492 has been marked as a duplicate of this bug. ***

Comment 8 Dustin Tsang 2013-03-08 17:29:43 UTC
verified as fixed in 2.1.0-0.qa7.el6rhs,2.1.0-0.qa6.el6rhs. open new bug if occurs again.

Comment 10 Scott Haines 2013-09-23 22:25:36 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/RHBA-2013-1262.html


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