Bug 1159840

Summary: [USS]: creating file/directories under .snaps shows wrong error message
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: snapshotAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-bugs, rhinduja, smohan, storage-qa-internal, vmallika
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: USS
Fixed In Version: glusterfs-3.7.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1158898
: 1175730 (view as bug list) Environment:
Last Closed: 2015-05-14 17:28:17 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: 1158898    
Bug Blocks: 1175730    

Description Raghavendra Bhat 2014-11-03 13:36:04 UTC
When an attempt is made to create file/directories inside .snaps, it fails with wrong error message as "Stale file handle".

Comment 1 Anand Avati 2014-11-04 08:10:13 UTC
REVIEW: http://review.gluster.org/9039 (uss/gluster: creating file/directories inside .snaps should fail with EROFS) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Anand Avati 2014-11-04 08:38:15 UTC
REVIEW: http://review.gluster.org/9039 (uss/gluster: creating file/directories inside .snaps should fail with EROFS) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 3 Anand Avati 2014-11-13 09:51:57 UTC
REVIEW: http://review.gluster.org/9039 (uss/gluster: creating file/directories inside .snaps should fail with EROFS) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 4 Anand Avati 2014-11-13 14:55:16 UTC
COMMIT: http://review.gluster.org/9039 committed in master by Vijay Bellur (vbellur) 
------
commit b4597a92ccfebf362c63977bc4bada7b65e28753
Author: vmallika <vmallika>
Date:   Thu Nov 13 15:13:39 2014 +0530

    uss/gluster: creating file/directories inside .snaps should fail with
    EROFS
    
    When an attempt is made to create file/directories inside .snaps, it
    fails with wrong error message as "Stale file handle". It should fail
    with "Read-only file system"
    
    Change-Id: I3a812a0afc4762cbb71ab180b9394c866e576a66
    BUG: 1159840
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/9039
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 5 Niels de Vos 2015-05-14 17:28:17 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:35:41 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 7 Niels de Vos 2015-05-14 17:38:03 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 8 Niels de Vos 2015-05-14 17:44:36 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user