Bug 788904 - 3.1 beta2 - VDSM: lock is not released on vm that is shut down while storage is not accessible - moving vm to a different storage domain will result in vm getting stuck in image locked forever
Summary: 3.1 beta2 - VDSM: lock is not released on vm that is shut down while storage ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: beta
: ---
Assignee: Eduardo Warszawski
QA Contact: yeylon@redhat.com
URL:
Whiteboard: storage
Depends On: 829428
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-09 09:04 UTC by Dafna Ron
Modified: 2016-04-18 06:43 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-05 07:44:27 UTC
Target Upstream Version:


Attachments (Terms of Use)
log (676.69 KB, application/x-xz)
2012-02-09 09:04 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2012-02-09 09:04:26 UTC
Description of problem:

if you shut down a vm while storage domain is not accessible we will not release the lock on the vm and if we try to move it to a different domain the vm will be stuck in image locked forever. 

I used iscsi storage domain consisting of 2 luns from different storage servers. I blocked only one of the storage servers from the host using iptables. 

also, this does not happen in upstream.  

Version-Release number of selected component (if applicable):

vdsm-4.9-112.6.el6_2.x86_64

How reproducible:

100%

Steps to Reproduce:
1. create DC with two SD (my master domain consisted of luns from 2 different storage servers).  
2. run vm and block connectivity to one of the storage servers from the host using iptables
3. when vm pauses stop it and restore SD connectivity
4. move vm to a different domain. 
  
Actual results:

vm will be stuck in image lock forever

Expected results:

we should be able to move vm

Additional info: full log

Comment 1 Dafna Ron 2012-02-09 09:04:53 UTC
Created attachment 560473 [details]
log

Comment 3 RHEL Program Management 2012-05-05 04:15:58 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 10 Leonid Natapov 2012-08-06 14:22:38 UTC
si13. fixed. This bug was open on 3.0. There is no move VM now. VM is not entering image lock status while moving it's disks. Reproduced according to instructions above. VM with 2 disks (each disk in different SD). Blocked connection to on of the SD. Vm entered to paused state. Stopped VM and restored connection to SD. After connection was restored successfully moved VMs disk to another storage domain.


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