Created attachment 933119[details]
engine.log
Description of problem:
I was able to move a disk to a Gluster domain. This operation should be blocked since shared disk on Gluster domain is not supported.
Version-Release number of selected component (if applicable):
ovirt-3.5 RC1.1
ovirt-engine-3.5.0-0.0.master.20140821064931.gitb794d66.el6.noarch
How reproducible:
Always
Steps to Reproduce:
On a shared DC, have NFS and Gluster domains:
1. Create a disk on the NFS domain. Mark it as shareable
2. Move the disk to the Gluster domain
Actual results:
Shared disk movement to the Gluster domain is not blocked. After the movement, I was able to attach the disk to 2 VMs
2014-08-31 14:50:08,870 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] (org.ovirt.thread.pool-8-thread-12) [7f0cbe36] START, MoveImageGroupVDSCommand( storagePoolId = 00000002-0002-0002-0002-000000000267, ignoreFailoverLimit = false, storageDomainId = e0d4bbba-bc16-45fb-a6e1-2b148a14149f, imageGroupId = e22cfd4b-c2b9-47fc-8a13-65c365855341, dstDomainId = ccf133e6-3710-40a6-9ebb-031ed5ca15af, vmId = 00000000-0000-0000-0000-000000000000, op = Copy, postZero = false, force = false), log id: 4be0b381
Expected results:
Since we have don't allow creation of shared disks on Gluster domain, moving shared disks to Gluster should be blocked too.
Additional info: engine.log
Description of problem:
I was able to move a shared disk to a Gluster domain. This operation should be blocked since shared disk on Gluster domain is not supported.
The operation of live migrating a shared disk is already blocked.
For clone VM from snapshot/template it's not relevant since the shared disk is not included in the template/snapshot anyway, also for import.
Created attachment 933119 [details] engine.log Description of problem: I was able to move a disk to a Gluster domain. This operation should be blocked since shared disk on Gluster domain is not supported. Version-Release number of selected component (if applicable): ovirt-3.5 RC1.1 ovirt-engine-3.5.0-0.0.master.20140821064931.gitb794d66.el6.noarch How reproducible: Always Steps to Reproduce: On a shared DC, have NFS and Gluster domains: 1. Create a disk on the NFS domain. Mark it as shareable 2. Move the disk to the Gluster domain Actual results: Shared disk movement to the Gluster domain is not blocked. After the movement, I was able to attach the disk to 2 VMs 2014-08-31 14:50:08,870 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] (org.ovirt.thread.pool-8-thread-12) [7f0cbe36] START, MoveImageGroupVDSCommand( storagePoolId = 00000002-0002-0002-0002-000000000267, ignoreFailoverLimit = false, storageDomainId = e0d4bbba-bc16-45fb-a6e1-2b148a14149f, imageGroupId = e22cfd4b-c2b9-47fc-8a13-65c365855341, dstDomainId = ccf133e6-3710-40a6-9ebb-031ed5ca15af, vmId = 00000000-0000-0000-0000-000000000000, op = Copy, postZero = false, force = false), log id: 4be0b381 Expected results: Since we have don't allow creation of shared disks on Gluster domain, moving shared disks to Gluster should be blocked too. Additional info: engine.log