[Gluster-users] server.allow-insecure doesn't work in 3.4.2?

Mingfan Lu mingfan.lu at gmail.com
Tue Apr 22 03:55:46 UTC 2014


I have created a volume named test_auth and set server.allow-insecure on

Volume Name: test_auth
Type: Distribute
Volume ID: d9bdc43e-15ce-4072-8d89-a34063e82427
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: server1:/mnt/xfsd/test_auth
Brick2: server2:/mnt/xfsd/test_auth
Brick3: server3:/mnt/xfsd/test_auth
Options Reconfigured:
server.allow-insecure: on

and then, I tried to mount the volume using client-bind-insecure option,
but failed to mount.

/usr/sbin/glusterfs --volfile-id=test_auth --volfile-server=server1
/mnt/test_auth_bind_insecure --client-bind-insecure

I got the error message in servers' logs:
server1 : [2014-04-22 03:44:52.817165] E [addr.c:143:gf_auth] 0-auth/addr:
client is bound to port 37756 which is not privileged
server2: [2014-04-22 03:44:52.810565] E [addr.c:143:gf_auth] 0-auth/addr:
client is bound to port 16852 which is not privileged
server3: [2014-04-22 03:44:52.811844] E [addr.c:143:gf_auth] 0-auth/addr:
client is bound to port 17733 which is not privileged

I got the error messages like:

[2014-04-22 03:43:59.757024] W
[client-handshake.c:1365:client_setvolume_cbk] 0-test_auth-client-1: failed
to set the volume (Permission denied)
[2014-04-22 03:43:59.757024] W
[client-handshake.c:1391:client_setvolume_cbk] 0-test_auth-client-1: failed
to get 'process-uuid' from reply dict
[2014-04-22 03:43:59.757102] E
[client-handshake.c:1397:client_setvolume_cbk] 0-test_auth-client-1:
SETVOLUME on remote-host failed: Authentication failed
[2014-04-22 03:43:59.757109] I
[client-handshake.c:1483:client_setvolume_cbk] 0-test_auth-client-1:
sending AUTH_FAILED event
[2014-04-22 03:43:59.757116] E [fuse-bridge.c:4834:notify] 0-fuse: Server
authenication failed. Shutting down.


Could anyone give some comments on this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140422/9c6930ac/attachment.html>


More information about the Gluster-users mailing list