Description of problem: VMs with passthrough on virtio-scsi LUNs could be using scsi reservation. If the VM is migrated when the reservation is active the guest will lose access to the disk as the initiator will change as the host changes. Version-Release number of selected component (if applicable): rhevm-backend-3.5.0-0.18.beta.el6ev Steps to Reproduce: 1. start a VM with a virtio-scsi passthrough disk on a direct lun 2. issue a scsi reservation request (e.g. using sg_persist) 3. migrate the VM Actual results: The VM loses access to the disk Expected results: It shouldn't be possible to migrate the VM as it would lose access to the disk Additional info: At the moment it seems impossible for vdsm/qemu to know in advance (or detect) if there's any persistent reservation active. Probably the best solution is to force the VM pin-to-host if at least one of the virtio-scsi disks is flagged with a new special option (e.g. "uses scsi reservation").
Looks like 3.6 stuff.
(In reply to Nir Soffer from comment #1) > Looks like 3.6 stuff. Agreed.
Ala, can you add the doctext here please?
Tested using: ovirt-engine-3.6.0-0.0.master.20150519172219.git9a2e2b3.el6.noarch vdsm-4.17.0-912.git25a063d.el7.noarch Verification instructions: 1. start a VM with a virtio-scsi passthrough disk on a direct lun 2. issue a scsi reservation request (e.g. using sg_persist) 3. migrate the VM Results: The VM can not be migrated, as a result of using SCSI reservation
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE