Bug 1229258

Summary: Cannot access volume (from client) post detach
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Nag Pavan Chilakam <nchilaka>
Component: tierAssignee: Joseph Elwin Fernandes <josferna>
Status: CLOSED WORKSFORME QA Contact: Nag Pavan Chilakam <nchilaka>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhgs-3.1CC: annair, bugs, dlambrig, josferna, nchilaka, rhs-bugs, sankarshan, storage-qa-internal, vagarwal
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1214393 Environment:
Last Closed: 2015-10-30 18:33:39 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: 1214393    
Bug Blocks: 1186580    

Description Nag Pavan Chilakam 2015-06-08 10:36:36 UTC
+++ This bug was initially created as a clone of Bug #1214393 +++

Description of problem:
Not able use volume post detach. See the following error while trying to access volume post detach:
[root@dhcp35-67 ~]# cd /tier
-bash: cd: /tier: Transport endpoint is not connected


Version-Release number of selected component (if applicable):
glusterfs-server-3.7dev-0.994.git0d36d4f.el6.x86_64

How reproducible:


Steps to Reproduce:
1. Create a dispese volume
2. Attach tier  (replica)
3. Detach the tier
4. Now try to access the volume from the mount on the client. See the following error:
-bash: cd: /tier: Transport endpoint is not connected

See the following message in the log:
[2015-04-22 21:13:15.660577] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:18.661107] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:18.661176] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:21.661794] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:21.661860] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:24.662403] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:24.662646] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument)
[2015-04-22 21:13:27.663084] W [socket.c:3059:socket_connect] 0-nfs: Ignore failed connection attempt on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket, (No such file or directory) 
[2015-04-22 21:13:27.663154] W [socket.c:642:__socket_rwv] 0-nfs: readv on /var/run/gluster/2c2e33921e58c3432036ca93e28b4048.socket failed (Invalid argument

--- Additional comment from Anoop on 2015-04-22 12:11:46 EDT ---

Please ignore this. This was opened in error.

--- Additional comment from Anoop on 2015-04-22 12:29:08 EDT ---

My bad, this indeed is an isssue. Cannot use the volume post detach.

[root@dhcp35-67 tier]#  touch a
touch: cannot touch `a': Transport endpoint is not connected
[root@dhcp35-67 tier]# wget http://rhsqe-repo.lab.eng.blr.redhat.com/testtools/linux-2.6.31.1.tar.bz2
--2015-04-23 03:26:18--  http://rhsqe-repo.lab.eng.blr.redhat.com/testtools/linux-2.6.31.1.tar.bz2
Resolving rhsqe-repo.lab.eng.blr.redhat.com... 10.70.34.52
Connecting to rhsqe-repo.lab.eng.blr.redhat.com|10.70.34.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61453891 (59M) [application/x-bzip2]
linux-2.6.31.1.tar.bz2: Transport endpoint is not connected

Cannot write to “linux-2.6.31.1.tar.bz2” (Transport endpoint is not connected).
[root@dhcp35-67 tier]#

--- Additional comment from Dan Lambright on 2015-04-24 07:45:02 EDT ---

I cannot reproduce this.

--- Additional comment from Niels de Vos on 2015-05-15 09:07:36 EDT ---

This change should not be in "ON_QA", the patch posted for this bug is only available in the master branch and not in a release yet. Moving back to MODIFIED until there is an beta release for the next GlusterFS version.