Bug 680135 - VDSM: VM ran in stateless on spm migrates after storage disconnect-> and gets paused when ran again in source after storage was connected
Summary: VDSM: VM ran in stateless on spm migrates after storage disconnect-> and gets...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: 6.1
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-24 13:02 UTC by Dafna Ron
Modified: 2016-04-18 06:38 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 680136
Environment:
Last Closed: 2011-03-03 10:38:42 UTC
Target Upstream Version:


Attachments (Terms of Use)
logs (804.45 KB, application/x-gzip)
2011-02-24 13:02 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2011-02-24 13:02:33 UTC
Created attachment 480748 [details]
logs

Description of problem:

run-once stateless VM running on spm and migrated because of storage disconnection will pause due to I/O errors after reconnecting storage and running VM normally on source again. 
log show the following:

QMon-193::INFO::2011-02-24 14:48:02,753::vm::959::vds.vmlog.3d98f3d4-cb8b-44fa-bda6-55866039dbcd::abnormal vm stop device ide0-hd0 error Operation not permitted
QMon-193::DEBUG::2011-02-24 14:48:02,753::QemuMonitor::317::vds.vmlog.3d98f3d4-cb8b-44fa-bda6-55866039dbcd::# VM is stopped due to disk write error: ide0-hd0: Operation not perm
itted


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


How reproducible:
100%

Steps to Reproduce:
1. run stateless VM on run-once on SPM and block communication between host and storage 
2. after VM migrate stop VM
3. run the VM on the source host (not in run once stateless) 

  
Actual results:

the VM will pause due to I/O errors

Expected results:

the VM should run normally. 


Additional info:
logs

Comment 1 Ayal Baron 2011-02-26 09:10:27 UTC
Migrating due to storage failure is not supported.
Correct behaviour is not to migrate the VM at all.
Moving to backend.

Comment 2 lpeer 2011-03-03 06:55:56 UTC
(In reply to comment #1)
> Migrating due to storage failure is not supported.
> Correct behaviour is not to migrate the VM at all.
> Moving to backend.

If the host disconnects from a data SD it changes it's status to non operational state and the VMs are migrated not according to user defined policy.

That is the supported behaviour, no issue to handle in backend.
Ayal I think the issue is not about migrating or not but the pause VM behaviour which i am not sure is wrong.

Please review again and if you don't see issues with the VDSM behaviour you can close this.


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