[Bugs] [Bug 1312421] glusterfs mount-point return permission denied
bugzilla at redhat.com
bugzilla at redhat.com
Mon Feb 29 08:44:02 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1312421
bitchecker <ciro.deluca at autistici.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(ciro.deluca at autis |
|tici.org) |
--- Comment #3 from bitchecker <ciro.deluca at autistici.org> ---
the version is the same on server and clients:
# gluster --version
glusterfs 3.7.8 built on Feb 9 2016 06:29:54
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
this is mnt.log on client:
[2016-02-29 08:23:06.103035] I [MSGID: 100030] [glusterfsd.c:2318:main]
0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.7.8 (args:
/usr/sbin/glusterfs --volfile-server=gluster01 --volfile-id=/volume /mnt)
[2016-02-29 08:23:06.128488] I [MSGID: 101190]
[event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with
index 1
[2016-02-29 08:23:06.146453] I [MSGID: 114020] [client.c:2106:notify]
0-volume-client-0: parent translators are ready, attempting connect on
transport
[2016-02-29 08:23:06.150067] I [MSGID: 114020] [client.c:2106:notify]
0-volume-client-1: parent translators are ready, attempting connect on
transport
[2016-02-29 08:23:06.152210] I [MSGID: 101190]
[event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with
index 2
Final graph:
+------------------------------------------------------------------------------+
1: volume volume-client-0
2: type protocol/client
3: option ping-timeout 42
4: option remote-host gluster01
5: option remote-subvolume /data/brick/volume
6: option transport-type socket
7: option send-gids true
8: end-volume
9:
10: volume volume-client-1
11: type protocol/client
12: option ping-timeout 42
13: option remote-host gluster02
14: option remote-subvolume /data/brick/volume
15: option transport-type socket
16: option send-gids true
17: end-volume
18:
19: volume volume-replicate-0
20: type cluster/replicate
21: subvolumes volume-client-0 volume-client-1
22: end-volume
23:
24: volume volume-dht
25: type cluster/distribute
26: option lookup-optimize on
27: option readdir-optimize on
28: subvolumes volume-replicate-0
29: end-volume
30:
31: volume volume-write-behind
32: type performance/write-behind
33: option cache-size 10MB
34: subvolumes volume-dht
35: end-volume
36:
37: volume volume-read-ahead
38: type performance/read-ahead
39: subvolumes volume-write-behind
40: end-volume
41:
42: volume volume-readdir-ahead
43: type performance/readdir-ahead
44: subvolumes volume-read-ahead
45: end-volume
46:
47: volume volume-io-cache
48: type performance/io-cache
49: option cache-size 500MB
50: subvolumes volume-readdir-ahead
51: end-volume
52:
53: volume volume-quick-read
54: type performance/quick-read
55: option cache-size 500MB
56: subvolumes volume-io-cache
57: end-volume
58:
59: volume volume-open-behind
60: type performance/open-behind
61: option read-after-open yes
62: subvolumes volume-quick-read
63: end-volume
64:
65: volume volume-md-cache
66: type performance/md-cache
67: subvolumes volume-open-behind
68: end-volume
69:
70: volume volume-io-threads
71: type performance/io-threads
72: option thread-count 64
73: subvolumes volume-md-cache
74: end-volume
75:
76: volume volume
77: type debug/io-stats
78: option latency-measurement off
79: option count-fop-hits off
80: subvolumes volume-io-threads
81: end-volume
82:
83: volume meta-autoload
84: type meta
85: subvolumes volume
86: end-volume
87:
+------------------------------------------------------------------------------+
[2016-02-29 08:23:06.157794] I [rpc-clnt.c:1847:rpc_clnt_reconfig]
0-volume-client-0: changing port to 49152 (from 0)
[2016-02-29 08:23:06.161656] I [rpc-clnt.c:1847:rpc_clnt_reconfig]
0-volume-client-1: changing port to 49152 (from 0)
[2016-02-29 08:23:06.165111] I [MSGID: 114057]
[client-handshake.c:1437:select_server_supported_programs] 0-volume-client-0:
Using Program GlusterFS 3.3, Num (1298437), Version (330)
[2016-02-29 08:23:06.166987] I [MSGID: 114057]
[client-handshake.c:1437:select_server_supported_programs] 0-volume-client-1:
Using Program GlusterFS 3.3, Num (1298437), Version (330)
[2016-02-29 08:23:06.167130] I [MSGID: 114046]
[client-handshake.c:1213:client_setvolume_cbk] 0-volume-client-0: Connected to
volume-client-0, attached to remote volume '/data/brick/volume'.
[2016-02-29 08:23:06.167168] I [MSGID: 114047]
[client-handshake.c:1224:client_setvolume_cbk] 0-volume-client-0: Server and
Client lk-version numbers are not same, reopening the fds
[2016-02-29 08:23:06.167270] I [MSGID: 108005] [afr-common.c:3976:afr_notify]
0-volume-replicate-0: Subvolume 'volume-client-0' came back up; going online.
[2016-02-29 08:23:06.169974] I [MSGID: 114046]
[client-handshake.c:1213:client_setvolume_cbk] 0-volume-client-1: Connected to
volume-client-1, attached to remote volume '/data/brick/volume'.
[2016-02-29 08:23:06.170002] I [MSGID: 114047]
[client-handshake.c:1224:client_setvolume_cbk] 0-volume-client-1: Server and
Client lk-version numbers are not same, reopening the fds
[2016-02-29 08:23:06.180160] I [MSGID: 114035]
[client-handshake.c:193:client_set_lk_version_cbk] 0-volume-client-0: Server lk
version = 1
[2016-02-29 08:23:06.181166] I [fuse-bridge.c:5139:fuse_graph_setup] 0-fuse:
switched to graph 0
[2016-02-29 08:23:06.181283] I [MSGID: 114035]
[client-handshake.c:193:client_set_lk_version_cbk] 0-volume-client-1: Server lk
version = 1
[2016-02-29 08:23:06.181507] I [fuse-bridge.c:4060:fuse_init] 0-glusterfs-fuse:
FUSE inited with protocol versions: glusterfs 7.22 kernel 7.22
[2016-02-29 08:23:40.009558] I [MSGID: 109063]
[dht-layout.c:702:dht_layout_normalize] 0-volume-dht: Found anomalies in
/.trashcan (gfid = 00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0
[2016-02-29 08:23:40.010431] W [MSGID: 114031]
[client-rpc-fops.c:2325:client3_3_setattr_cbk] 0-volume-client-0: remote
operation failed [Operazione non permessa]
[2016-02-29 08:23:40.010505] W [MSGID: 114031]
[client-rpc-fops.c:2325:client3_3_setattr_cbk] 0-volume-client-1: remote
operation failed [Operazione non permessa]
[2016-02-29 08:23:40.011762] I [MSGID: 109036]
[dht-common.c:8043:dht_log_new_layout_for_dir_selfheal] 0-volume-dht: Setting
layout of /.trashcan with [Subvol_name: volume-replicate-0, Err: -1 , Start: 0
, Stop: 4294967295 , Hash: 1 ],
[2016-02-29 08:23:40.012480] W [MSGID: 114031]
[client-rpc-fops.c:1088:client3_3_setxattr_cbk] 0-volume-client-0: remote
operation failed [Permesso negato]
[2016-02-29 08:23:40.012553] W [MSGID: 114031]
[client-rpc-fops.c:1088:client3_3_setxattr_cbk] 0-volume-client-1: remote
operation failed [Permesso negato]
[2016-02-29 08:24:05.925338] E [MSGID: 114031]
[client-rpc-fops.c:321:client3_3_mkdir_cbk] 0-volume-client-0: remote operation
failed. Path: /test [Permesso negato]
[2016-02-29 08:24:05.925412] E [MSGID: 114031]
[client-rpc-fops.c:321:client3_3_mkdir_cbk] 0-volume-client-1: remote operation
failed. Path: /test [Permesso negato]
[2016-02-29 08:24:05.925680] W [fuse-bridge.c:462:fuse_entry_cbk]
0-glusterfs-fuse: 13: MKDIR() /test => -1 (Permesso negato)
this is glustershd.log on server:
[2016-02-29 02:36:01.732925] I [glusterfsd-mgmt.c:1596:mgmt_getspec_cbk]
0-glusterfs: No change in volfile, continuing
this is data-brick-volume.log on server:
[2016-02-29 02:36:01.793819] I [glusterfsd-mgmt.c:1596:mgmt_getspec_cbk]
0-glusterfs: No change in volfile, continuing
[2016-02-29 08:22:55.722325] I [MSGID: 115036] [server.c:552:server_rpc_notify]
0-volume-server: disconnecting connection from
docker02-19249-2016/02/26-16:02:39:319291-volume-client-0-0-0
[2016-02-29 08:22:55.722485] I [MSGID: 101055] [client_t.c:420:gf_client_unref]
0-volume-server: Shutting down connection
docker02-19249-2016/02/26-16:02:39:319291-volume-client-0-0-0
[2016-02-29 08:23:06.114704] I [MSGID: 115029]
[server-handshake.c:612:server_setvolume] 0-volume-server: accepted client from
docker02-10733-2016/02/29-08:23:06:90500-volume-client-0-0-0 (version: 3.7.8)
[2016-02-29 08:23:39.959252] I [MSGID: 115072]
[server-rpc-fops.c:1773:server_setattr_cbk] 0-volume-server: 21: SETATTR
/.trashcan (00000000-0000-0000-0000-000000000005) ==> (Operazione non permessa)
[Operazione non permessa]
[2016-02-29 08:23:39.961333] I [MSGID: 115060]
[server-rpc-fops.c:890:_gf_server_log_setxattr_failure] 0-volume-server: 26:
SETXATTR /.trashcan (00000000-0000-0000-0000-000000000005) ==>
trusted.glusterfs.dht
[2016-02-29 08:23:39.961365] I [MSGID: 115060]
[server-rpc-fops.c:918:server_setxattr_cbk] 0-volume-server: Permesso negato
[2016-02-29 08:24:05.874148] E [MSGID: 115056]
[server-rpc-fops.c:509:server_mkdir_cbk] 0-volume-server: 39: MKDIR /test
(00000000-0000-0000-0000-000000000001/test) ==> (Permesso negato) [Permesso
negato]
this is "gluster volume info":
# gluster volume info
Volume Name: volume
Type: Replicate
Volume ID: 3c6c72bf-f85d-4c4c-a536-19a75e2ae71b
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: gluster01:/data/brick/volume
Brick2: gluster02:/data/brick/volume
Options Reconfigured:
performance.readdir-ahead: enable
auth.allow: *
cluster.readdir-optimize: on
cluster.lookup-optimize: on
server.allow-insecure: on
features.trash-max-filesize: 1GB
features.trash: on
performance.write-behind-window-size: 10MB
nfs.disable: on
server.root-squash: ON
performance.io-thread-count: 64
performance.io-cache: on
performance.client-io-threads: on
nfs.export-volumes: off
nfs.addr-namelookup: off
performance.cache-size: 500MB
SElinux & firewallD are disabled.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list