Bug 1711060

Summary: Cannot create gluster storage domain (gluster v6.1) via web UI
Product: [oVirt] ovirt-engine Reporter: Strahil Nikolov <hunter86_bg>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED DUPLICATE QA Contact: Avihai <aefrat>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.4CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-16 21:00:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
part of the vdsm log
none
Gluster mount log during failiure none

Description Strahil Nikolov 2019-05-16 20:40:25 UTC
Created attachment 1569801 [details]
part of the vdsm log

Description of problem:
When trying to create a Storage domain from a gluster volume - it fails.

Version-Release number of selected component (if applicable):
4.3.4 RC1 with gluster v6.1
4.3.3.7 with gluster v6.1

How reproducible:
Always (tried 3 fresh gluster volumes)

Steps to Reproduce:
1.Create a gluster volume (replica 3 arbiter 1) via cli:
gluster volume create data_fast4 replica 3 arbiter 1 transport tcp gluster1:/gluster_bricks/data_fast4/data_fast4 gluster2:/gluster_bricks/data_fast4/data_fast4 ovirt3:/gluster_bricks/data_fast4/data_fast4
2.Using UI , try to create a new domain:
Storage type -> GlusterFS
Name -> data_fast4
Host to use -> gluster1
Path -> gluster1:/data_fast4
Mount Options -> backup-volfile-servers=gluster2:ovirt3
3. Press OK -> Fails

Actual results:
The Storage creation fails due to failed 'dd' check.

Expected results:
Storage to be created and activated as the old Storage domains.

Comment 1 Strahil Nikolov 2019-05-16 20:40:59 UTC
Created attachment 1569802 [details]
Gluster mount log during failiure

Comment 2 Strahil Nikolov 2019-05-16 20:59:56 UTC
OK, it seems that the new gluster volumes were set as 'network.remote-dio: off'

Once set to 'on' -> adding to domain works.

Note: All 4 gluster volumes were 'Optimize for virt store' but direct io option was not set.

Comment 3 Strahil Nikolov 2019-05-16 21:00:58 UTC
Marking this one as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1711054

*** This bug has been marked as a duplicate of bug 1711054 ***