Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1085395

Summary: rhevm creates glusterfs SD on unsupported datacenter versions (3.2..)
Product: Red Hat Enterprise Virtualization Manager Reporter: Ori Gofen <ogofen>
Component: ovirt-engine-webadmin-portalAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Ori Gofen <ogofen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, acathrow, amureini, ecohen, gklein, iheim, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.4.0Flags: amureini: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: org.ovirt.engine-root-3.4.0-16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
vdsm+engine logs none

Description Ori Gofen 2014-04-08 13:47:04 UTC
Created attachment 884086 [details]
vdsm+engine logs

Description of problem:

Creation of a new glusterfs storage domain on 
rhevm3.4 on a datacenter with compatibility Version 3.2 prompts an error popup window after creation:

***Error while executing action: "Gluster based storage" is not supported with current data center compatibility version***

But actually engine is Running command: AddGlusterFsStorageDomainCommand and creates a SD which fails. Then it fails CanDoAction of AttachStorageDomain:
"2014-04-08 15:24:27,832 WARN  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (ajp-/127.0.0.1:8702-6) [2536706b] CanDoAction of action AttachStorageDomainToPool failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ATTACH,DATA_CENTER_GLUSTER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION"

The end result is an unattached glusterfs domain.

Version-Release number of selected component (if applicable):

Release: 
Red Hat Enterprise Linux Server release 6.5 (Santiago)

Version: 
rhevm-3.4.0-0.13.beta3.el6ev.noarch
rhevm-webadmin-portal-3.4.0-0.13.beta3.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:

1.Create shared DC with compatibility version 3.2.
2.Create a storage domain in this DC(supported sd).
3.add Gluster Storage in this DC.

Actual results:
An error window appears after SD is already created

Expected results:
It should not be possible to select "gluster" as storage domain type on datacenters with older compatbility versions that do not support gluster

Additional info:

Comment 1 Allon Mureinik 2014-04-08 22:09:16 UTC
(In reply to Ori from comment #0)
>
> Steps to Reproduce:
> 
> 1.Create shared DC with compatibility version 3.2.
> 2.Create a storage domain in this DC(supported sd).
> 3.add Gluster Storage in this DC.

How is this done? GUI? REST? Does it matter?

Comment 2 Aharon Canan 2014-04-09 07:30:22 UTC
(In reply to Allon Mureinik from comment #1)
> (In reply to Ori from comment #0)
> >
> > Steps to Reproduce:
> > 
> > 1.Create shared DC with compatibility version 3.2.
> > 2.Create a storage domain in this DC(supported sd).
> > 3.add Gluster Storage in this DC.
> 
> How is this done? GUI? REST? Does it matter?

GUI

Comment 4 Ori Gofen 2014-05-07 13:11:22 UTC
verified on av8.1 the versions 3.1-3.3 now support create and attach glusterfs storage domain (checked compatibility with versions:mount succeed + creating vm,disks and OS installation)

Comment 5 Itamar Heim 2014-06-12 14:08:51 UTC
Closing as part of 3.4.0