Bug 1025205

Summary: BVT: smb mount is failing for glusterfs.x86_64 0:3.4.0.37rhs-1.el6rhs
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Lalatendu Mohanty <lmohanty>
Component: glusterfs-develAssignee: Raghavendra Talur <rtalur>
Status: CLOSED ERRATA QA Contact: Lalatendu Mohanty <lmohanty>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.1CC: amarts, grajaiya, rhs-bugs, rtalur, shaines, vagarwal, vbellur
Target Milestone: ---Keywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.39rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 15:44:51 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:
Bug Depends On:    
Bug Blocks: 1024496    

Description Lalatendu Mohanty 2013-10-31 09:02:11 UTC
Description of problem:

SMB mount is failing with latest glusterfs.x86_64 0:3.4.0.37rhs-1.el6rhs

mount -t cifs \\\\10.70.40.130\\gluster-testvol /mnt/cifs
Password: 
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


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

glusterfs.x86_64 0:3.4.0.37rhs-1.el6rhs

How reproducible:

Always

Steps to Reproduce:
1. Install RHSS ISO RHSS-2.1-20131023.n.0 i.e. Use gluster packages previous to 3.4.0.37rhs-1
2. Create a gluster volume, start it
3. Verify that it is accessible. (mount it using smb in Linux/Windows client)
4. Stop the volume 
5. Update gluster and samba packages to latest i.e. glusterfs.x86_64 0:3.4.0.37rhs-1.el6rhs and amba-common-3.6.9-160.6.el6rhs.x86_64
6. Start the volume and try to to mount it.

Actual results:

Mount is failing.

Expected results:

Mount should happen successfully.

Additional info:

Comment 2 Raghavendra Talur 2013-10-31 11:52:36 UTC
This is because resolution of / is failing in glfs_resolve_at().

Comment 3 Gowrishankar Rajaiyan 2013-11-01 16:01:26 UTC
Patch URL please.

Comment 4 Vivek Agarwal 2013-11-04 10:13:24 UTC
A patch posted by Avati for libgfapi had introduced this, and was removed. https://code.engineering.redhat.com/gerrit/#/c/14861/

https://bugzilla.redhat.com/show_bug.cgi?id=1024496

Comment 5 Raghavendra Talur 2013-11-06 09:34:10 UTC
Patch posted for U1 at 
https://code.engineering.redhat.com/gerrit/#/c/15014/2

Patch posted for U2 at 
https://code.engineering.redhat.com/gerrit/15261

Comment 6 Lalatendu Mohanty 2013-11-07 09:09:06 UTC
Verified on build glusterfs-3.4.0.39rhs. Smb mount can be done from Windows and Linux.

Comment 8 errata-xmlrpc 2013-11-27 15:44:51 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.

http://rhn.redhat.com/errata/RHBA-2013-1769.html