Bug 1134366 - [engine-backend] Creation of an OVF_STORE disk on a gluster domain fails because shareable disk on Gluster domain is not supported
Summary: [engine-backend] Creation of an OVF_STORE disk on a gluster domain fails beca...
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
: 3.5.0
Assignee: Liron Aravot
QA Contact: Elad
Whiteboard: storage
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-27 11:56 UTC by Elad
Modified: 2016-02-10 17:38 UTC (History)
7 users (show)

Fixed In Version: ovirt-3.5.0_rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-10-17 12:26:35 UTC
oVirt Team: Storage

Attachments (Terms of Use)
engine.log (386.37 KB, application/octet-stream)
2014-08-27 11:56 UTC, Elad
no flags Details

System ID Private Priority Status Summary Last Updated
oVirt gerrit 32034 0 master MERGED core: create OVF store as non shareable on gluster domain 2020-09-10 12:51:09 UTC
oVirt gerrit 32185 0 ovirt-engine-3.5 MERGED core: create OVF store as non shareable on gluster domain 2020-09-10 12:51:10 UTC

Description Elad 2014-08-27 11:56:44 UTC
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):
ovirt-3.5 RC1.1

How reproducible:

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

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:

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.

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