Bug 860257

Summary: [RHEV-RHS] Adding gluster volume as a storage domain fails when storage.linux-aio is enabled
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Anush Shetty <ashetty>
Component: glusterfsAssignee: Vijay Bellur <vbellur>
Status: CLOSED CURRENTRELEASE QA Contact: Anush Shetty <ashetty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: grajaiya, rhs-bugs, rwheeler, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.3.0rhsvirt1-7.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-10 07:42:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anush Shetty 2012-09-25 12:16:30 UTC
Description of problem: Enabling storage.linux-aio prevents adding of gluster volume as storage domain in RHEV-M. This option was enabled from group file. 

After disabling storage.linux-aio using volume set command, adding storage domain succeeded.


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

rhev-hypervisor6-6.3-20120920.0.rhev31.auto33.el6.iso

# rpm -qa | grep rhevm
rhevm-webadmin-portal-3.1.0-16.el6ev.noarch

# rpm -qa | grep glusterfs
glusterfs-server-3.3.0rhsvirt1-5.el6rhs.x86_64
glusterfs-geo-replication-3.3.0rhsvirt1-5.el6rhs.x86_64
glusterfs-fuse-3.3.0rhsvirt1-5.el6rhs.x86_64
glusterfs-rdma-3.3.0rhsvirt1-5.el6rhs.x86_64
glusterfs-3.3.0rhsvirt1-5.el6rhs.x86_64



How reproducible: Consistently


Steps to Reproduce:
1. Create a gluster volume 
2. Set volume options from group virt file
3. Add gluster volume as a storage domain from RHEV-M
  
Actual results:

Adding storage domain errors out.

Expected results:

Shouldn't error out.

Additional info:

# cat /var/lib/glusterd/groups/virt 
cluster.eager-lock=enable
storage.linux-aio=enable
performance.read-ahead=disable
performance.stat-prefetch=disable
performance.io-cache=disable
performance.quick-read=disable

Comment 2 Amar Tumballi 2012-10-01 16:28:37 UTC
most probably should be fixed by http://review.gluster.org/4006

Comment 4 Anush Shetty 2012-10-19 16:55:13 UTC
Verified with glusterfs-3.3.0rhsvirt1-7.el6rhs.x86_64