Bug 1211915

Summary: Disperse volume could not mount through NFS when features.read-only on
Product: [Community] GlusterFS Reporter: zhoushicheng <madaozhou>
Component: disperseAssignee: Ashish Pandey <aspandey>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs, gluster-bugs, jahernan, jiaowopan, madaozhou, mingfan.lu, pkarampu, ravishankar, shehjart, vbellur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-09 17:43:19 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 zhoushicheng 2015-04-15 08:44:36 UTC
Description of problem:
Disperse volume could not mount when features.read-only on.

Version-Release number of selected component (if applicable):
glusterfs-3.7dev-0.994.gitf522001.autobuild

Location from which the packages are used: 
==========================================
http://download.gluster.org/pub/gluster/glusterfs/nightly/glusterfs/epel-6-x86_64/glusterfs-3.7dev-0.994.gitf522001.autobuild/

How reproducible:
100%

Steps to Reproduce:
1.Create disperse volume.
2.Set features.read-only on
3.NFS mount

Actual results:
mount.nfs: mount system call failed

Expected results:
mount succeed.

Additional info:
brick log shows error:
[2015-04-15 08:35:35.125250] E [server-rpc-fops.c:242:server_inodelk_cbk] 0-ec-server: 1730: INODELK / (00000000-0000-0000-0000-000000000001) ==> (Read-only file system)

nfs log shows error:
W [rpcsvc.c:265:rpcsvc_program_actor] 0-rpc-service: RPC program version not available (req 100003 4) for 10.77.42.148:770
E [rpcsvc.c:552:rpcsvc_check_and_reply_error] 0-rpcsvc: rpc actor failed to complete successfully
E [client-rpc-fops.c:1526:client3_3_inodelk_cbk] 0-ec-client-1: remote operation failed: Read-only file system

Comment 1 Pranith Kumar K 2015-05-09 17:43:19 UTC
Read-only module/translator is loaded on the bricks side so for fuse/nfs/samba mounts it will fail with same error. Marking this bug as dup of the earlier bug you raised for the same.

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