Bug 1425771

Summary: [RGW:NFS]: NFS-Ganesha service stops while trying to create a directory with '_'
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ramakrishnan Periyasamy <rperiyas>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Ramakrishnan Periyasamy <rperiyas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.2CC: cbodley, ceph-eng-bugs, hnallurv, kbader, kdreyer, mbenjamin, owasserm, sweil, tserlin
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.5-30.el7cp Ubuntu: ceph_10.2.5-22redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-14 15:50:09 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 Ramakrishnan Periyasamy 2017-02-22 11:39:12 UTC
Description of problem:
Ganesha service stops while trying to create a directory using '_'

[ubuntu@host003 nfs]$ ls
ceph  client1_run4  client1_run5  client1_run6  client2_run1  client2_run2  nfs
[ubuntu@host003 nfs]$ mkdir _nfs


above command hung and mean while nfs-ganesha service stopped in nfs machine.

Version-Release number of selected component (if applicable):
ceph: 10.2.5-29.el7cp
rgw: nfs-ganesha-2.4.2-6.el7cp.x86_64

How reproducible:
2/2

Steps to Reproduce:
1. Create ceph cluster with rgw and NFS-Ganesha
2. mount NFS to any client
3. Create some directories as in description.

Actual results:
Directory is not getting created and nfs-ganesha service is getting stopped

Expected results:
directory should be created and nfs-ganesha service should not stop

Additional info:
N/A

Comment 2 Ramakrishnan Periyasamy 2017-02-22 12:01:42 UTC
Additional info:

Ganesha service crash observed when creating directory with special characters.

[ubuntu@host003 nfs]$ mkdir $%&
[1] 7007
[ubuntu@host003 nfs]$ ls

Comment 9 Ramakrishnan Periyasamy 2017-02-27 10:14:05 UTC
Thanks for the clarification Matt.

As per comment7 stdout, Moving this bug to verified state.

Comment 11 errata-xmlrpc 2017-03-14 15:50:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0514.html