Bug 1134366

Summary: [engine-backend] Creation of an OVF_STORE disk on a gluster domain fails because shareable disk on Gluster domain is not supported
Product: [Retired] oVirt Reporter: Elad <ebenahar>
Component: ovirt-engine-coreAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: amureini, ecohen, gklein, iheim, laravot, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.5.0_rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:26:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Elad 2014-08-27 11:56:44 UTC
Created attachment 931431 [details]
engine.log

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):
ovirt-3.5 RC1.1
ovirt-engine-3.5.0-0.0.master.20140821064931.gitb794d66.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a Gluster storage domain
2. Wait for engine to create an OVF_STORE disk on this domain

Actual results:
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
AILED_SHAREABLE_DISKS_NOT_SUPPORTED_ON_GLUSTER_DOMAIN



Expected results:
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. 

Additional info:
engine.log

Comment 1 Elad 2014-09-30 12:31:28 UTC
OVF_STORE disk on gluster domain is now created as non-shareable.

Verified using rhev3.5 vt4

Comment 2 Sandro Bonazzola 2014-10-17 12:26:35 UTC
oVirt 3.5 has been released and should include the fix for this issue.