Created attachment 931431 [details]
Description of problem:
OVF_STORE disks fail to be created on a Gluster domain because they are shareable and for some reason, shared disks are not supported on a Gluster domain.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a Gluster storage domain
2. Wait for engine to create an OVF_STORE disk on this domain
Creation fails with a CanDoAction message in engine.log:
2014-08-27 14:40:13,023 INFO [org.ovirt.engine.core.bll.CreateOvfVolumeForStorageDomainCommand] (DefaultQuartzScheduler_Worker-15) [49e9af2a] Running command: CreateOvfVolumeForStorageDomainCommand internal: true
. Entities affected : ID: ccf133e6-3710-40a6-9ebb-031ed5ca15af Type: Storage
2014-08-27 14:40:13,029 WARN [org.ovirt.engine.core.bll.AddDiskCommand] (DefaultQuartzScheduler_Worker-15) [ceb144f] CanDoAction of action AddDisk failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,ACTION_TYPE_F
Since the OVF_STORE disk is created as a shareable and we don't support shared disks on Gluster domain, engine shouldn't try to upload them to the domain.
Other option would be to create those disks as non-shareable.
OVF_STORE disk on gluster domain is now created as non-shareable.
Verified using rhev3.5 vt4
oVirt 3.5 has been released and should include the fix for this issue.