[Gluster-users] Can't enable shared_storage with Glusterv5.0

Atin Mukherjee amukherj at redhat.com
Fri Nov 9 01:20:08 UTC 2018


The fix is in release 5 branch and next update of glusterfs-5 should have
it. Thanks for reporting the issue, David.

On Tue, 6 Nov 2018 at 20:27, David Spisla <spisla80 at gmail.com> wrote:

> Ok, thanks for the update.
>
> Am Di., 6. Nov. 2018 um 15:46 Uhr schrieb Sanju Rakonde <
> srakonde at redhat.com>:
>
>> Hi David,
>>
>> With commit 44e4db, shared-storage functionality has broken. The test
>> case we added couldn't catch this, since our .t frame work simulates a
>> cluster environment in a single node. We will send out patch for this
>> soon(into release-5 branch as well).
>>
>> On Tue, Nov 6, 2018 at 4:15 PM David Spisla <spisla80 at gmail.com> wrote:
>>
>>> Hello folks,
>>>
>>> I tried to create the shared_storage on a Gluster v5.0 4-node-cluster
>>> with SLES15. Below you find the log output of glusterd.log after executing
>>> this commands:
>>> $ sudo systemctl start glusterd
>>> $ sudo gluster vo set all cluster.enable-shared-storage enable
>>>
>>> The consule output tells me a success, but there is no volume
>>> shared_storage, not in the volume list and there are no volfiles in
>>> /var/lib/glusterd/vols.
>>> SSL Support for glusterd is enabled and there is the directory
>>> /var/run/gluster/shared_storage
>>>
>>> Regards
>>> David Spisla
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *[2018-11-06 10:26:26.381458] I [MSGID: 100030] [glusterfsd.c:2691:main]
>>> 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 5.0 (args:
>>> /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO)[2018-11-06
>>> 10:26:26.383793] I [MSGID: 106478] [glusterd.c:1435:init] 0-management:
>>> Maximum allowed open file descriptors set to 65536[2018-11-06
>>> 10:26:26.383818] I [MSGID: 106479] [glusterd.c:1491:init] 0-management:
>>> Using /var/lib/glusterd as working directory[2018-11-06 10:26:26.383826] I
>>> [MSGID: 106479] [glusterd.c:1497:init] 0-management: Using /var/run/gluster
>>> as pid file working directory[2018-11-06 10:26:26.385081] I
>>> [socket.c:4167:ssl_setup_connection_params] 0-socket.management: SSL
>>> support on the I/O path is ENABLED[2018-11-06 10:26:26.385098] I
>>> [socket.c:4170:ssl_setup_connection_params] 0-socket.management: SSL
>>> support for glusterd is ENABLED[2018-11-06 10:26:26.385103] I
>>> [socket.c:4180:ssl_setup_connection_params] 0-socket.management: using
>>> certificate depth 1[2018-11-06 10:26:26.385248] I
>>> [socket.c:4225:ssl_setup_connection_params] 0-socket.management: failed to
>>> open /etc/ssl/dhparam.pem, DH ciphers are disabled[2018-11-06
>>> 10:26:26.387073] W [MSGID: 103071] [rdma.c:4475:__gf_rdma_ctx_create]
>>> 0-rpc-transport/rdma: rdma_cm event channel creation failed [No such
>>> device][2018-11-06 10:26:26.387096] W [MSGID: 103055] [rdma.c:4774:init]
>>> 0-rdma.management: Failed to initialize IB Device[2018-11-06
>>> 10:26:26.387104] W [rpc-transport.c:339:rpc_transport_load]
>>> 0-rpc-transport: 'rdma' initialization failed[2018-11-06 10:26:26.387179] W
>>> [rpcsvc.c:1789:rpcsvc_create_listener] 0-rpc-service: cannot create
>>> listener, initing the transport failed[2018-11-06 10:26:26.387190] E
>>> [MSGID: 106244] [glusterd.c:1798:init] 0-management: creation of 1
>>> listeners failed, continuing with succeeded transport[2018-11-06
>>> 10:26:26.387295] I [socket.c:4170:ssl_setup_connection_params]
>>> 0-socket.management: SSL support for glusterd is ENABLED[2018-11-06
>>> 10:26:26.387302] I [socket.c:4180:ssl_setup_connection_params]
>>> 0-socket.management: using certificate depth 1[2018-11-06 10:26:26.387428]
>>> I [socket.c:4225:ssl_setup_connection_params] 0-socket.management: failed
>>> to open /etc/ssl/dhparam.pem, DH ciphers are disabled[2018-11-06
>>> 10:26:29.263657] I [MSGID: 106513]
>>> [glusterd-store.c:2282:glusterd_restore_op_version] 0-glusterd: retrieved
>>> op-version: 50000[2018-11-06 10:26:29.264613] I [MSGID: 106498]
>>> [glusterd-handler.c:3647:glusterd_friend_add_from_peerinfo] 0-management:
>>> connect returned 0The message "I [MSGID: 106498]
>>> [glusterd-handler.c:3647:glusterd_friend_add_from_peerinfo] 0-management:
>>> connect returned 0" repeated 2 times between [2018-11-06 10:26:29.264613]
>>> and [2018-11-06 10:26:29.264716][2018-11-06 10:26:29.264769] W [MSGID:
>>> 106061] [glusterd-handler.c:3453:glusterd_transport_inet_options_build]
>>> 0-glusterd: Failed to get tcp-user-timeout[2018-11-06 10:26:29.264808] I
>>> [rpc-clnt.c:1000:rpc_clnt_connection_init] 0-management: setting
>>> frame-timeout to 600[2018-11-06 10:26:29.264915] I
>>> [socket.c:4167:ssl_setup_connection_params] 0-management: SSL support on
>>> the I/O path is ENABLED[2018-11-06 10:26:29.264922] I
>>> [socket.c:4170:ssl_setup_connection_params] 0-management: SSL support for
>>> glusterd is ENABLED[2018-11-06 10:26:29.264926] I
>>> [socket.c:4180:ssl_setup_connection_params] 0-management: using certificate
>>> depth 1[2018-11-06 10:26:29.265075] I
>>> [socket.c:4225:ssl_setup_connection_params] 0-management: failed to open
>>> /etc/ssl/dhparam.pem, DH ciphers are disabled[2018-11-06 10:26:29.268184] I
>>> [rpc-clnt.c:1000:rpc_clnt_connection_init] 0-management: setting
>>> frame-timeout to 600[2018-11-06 10:26:29.268277] I
>>> [socket.c:4167:ssl_setup_connection_params] 0-management: SSL support on
>>> the I/O path is ENABLED[2018-11-06 10:26:29.268287] I
>>> [socket.c:4170:ssl_setup_connection_params] 0-management: SSL support for
>>> glusterd is ENABLED[2018-11-06 10:26:29.268293] I
>>> [socket.c:4180:ssl_setup_connection_params] 0-management: using certificate
>>> depth 1[2018-11-06 10:26:29.268483] I
>>> [socket.c:4225:ssl_setup_connection_params] 0-management: failed to open
>>> /etc/ssl/dhparam.pem, DH ciphers are disabled[2018-11-06 10:26:29.268969] I
>>> [rpc-clnt.c:1000:rpc_clnt_connection_init] 0-management: setting
>>> frame-timeout to 600[2018-11-06 10:26:29.269054] I
>>> [socket.c:4167:ssl_setup_connection_params] 0-management: SSL support on
>>> the I/O path is ENABLED[2018-11-06 10:26:29.269061] I
>>> [socket.c:4170:ssl_setup_connection_params] 0-management: SSL support for
>>> glusterd is ENABLED[2018-11-06 10:26:29.269065] I
>>> [socket.c:4180:ssl_setup_connection_params] 0-management: using certificate
>>> depth 1[2018-11-06 10:26:29.269192] I
>>> [socket.c:4225:ssl_setup_connection_params] 0-management: failed to open
>>> /etc/ssl/dhparam.pem, DH ciphers are disabledFinal
>>> graph:+------------------------------------------------------------------------------+
>>> 1: volume management  2:     type mgmt/glusterd  3:     option
>>> transport.socket.ssl-enabled on  4:     option rpc-auth.auth-glusterfs on
>>> 5:     option rpc-auth.auth-unix on  6:     option rpc-auth.auth-null on
>>> 7:     option rpc-auth-allow-insecure on  8:     option
>>> transport.listen-backlog 10  9:     option event-threads 1 10:     option
>>> ping-timeout 0 11:     option transport.socket.read-fail-log off 12:
>>> option transport.socket.keepalive-interval 2 13:     option
>>> transport.socket.keepalive-time 10 14:     option transport-type
>>> rdma 15:     option working-directory /var/lib/glusterd 16: end-volume 17:
>>> +------------------------------------------------------------------------------+The
>>> message "W [MSGID: 106061]
>>> [glusterd-handler.c:3453:glusterd_transport_inet_options_build] 0-glusterd:
>>> Failed to get tcp-user-timeout" repeated 2 times between [2018-11-06
>>> 10:26:29.264769] and [2018-11-06 10:26:29.268947][2018-11-06
>>> 10:26:29.271740] I [MSGID: 101190]
>>> [event-epoll.c:622:event_dispatch_epoll_worker] 0-epoll: Started thread
>>> with index 1[2018-11-06 10:26:29.304785] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler[2018-11-06 10:26:29.304948] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler[2018-11-06 10:26:29.305069] I [MSGID: 106544]
>>> [glusterd.c:152:glusterd_uuid_init] 0-management: retrieved UUID:
>>> 9834b245-3705-43f5-997e-dd7be8206abd[2018-11-06 10:26:29.305297] E [MSGID:
>>> 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to
>>> dispatch handler[2018-11-06 10:26:30.295436] I [MSGID: 106493]
>>> [glusterd-rpc-ops.c:468:__glusterd_friend_add_cbk] 0-glusterd: Received ACC
>>> from uuid: 945cc296-da7b-47dd-b6ee-0c108f8d347f, host: fs-davids-c1-n3,
>>> port: 0[2018-11-06 10:26:30.297049] I [MSGID: 106492]
>>> [glusterd-handler.c:2771:__glusterd_handle_friend_update] 0-glusterd:
>>> Received friend update from uuid:
>>> 945cc296-da7b-47dd-b6ee-0c108f8d347f[2018-11-06 10:26:30.297081] I [MSGID:
>>> 106502] [glusterd-handler.c:2812:__glusterd_handle_friend_update]
>>> 0-management: Received my uuid as Friend[2018-11-06 10:26:30.300619] I
>>> [MSGID: 106493] [glusterd-rpc-ops.c:681:__glusterd_friend_update_cbk]
>>> 0-management: Received ACC from uuid:
>>> 945cc296-da7b-47dd-b6ee-0c108f8d347f[2018-11-06 10:26:30.300878] E [MSGID:
>>> 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to
>>> dispatch handler[2018-11-06 10:26:30.300942] I [MSGID: 106163]
>>> [glusterd-handshake.c:1382:__glusterd_mgmt_hndsk_versions_ack]
>>> 0-management: using the op-version 50000[2018-11-06 10:26:30.302328] E
>>> [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll:
>>> Failed to dispatch handler[2018-11-06 10:26:30.302416] I [MSGID: 106490]
>>> [glusterd-handler.c:2586:__glusterd_handle_incoming_friend_req] 0-glusterd:
>>> Received probe from uuid: 945cc296-da7b-47dd-b6ee-0c108f8d347f[2018-11-06
>>> 10:26:30.303289] I [MSGID: 106493]
>>> [glusterd-handler.c:3843:glusterd_xfer_friend_add_resp] 0-glusterd:
>>> Responded to fs-davids-c1-n3 (0), ret: 0, op_ret: 0[2018-11-06
>>> 10:26:30.305939] I [MSGID: 106492]
>>> [glusterd-handler.c:2771:__glusterd_handle_friend_update] 0-glusterd:
>>> Received friend update from uuid:
>>> 945cc296-da7b-47dd-b6ee-0c108f8d347f[2018-11-06 10:26:30.305963] I [MSGID:
>>> 106502] [glusterd-handler.c:2812:__glusterd_handle_friend_update]
>>> 0-management: Received my uuid as Friend[2018-11-06 10:26:30.311041] I
>>> [MSGID: 106493] [glusterd-rpc-ops.c:681:__glusterd_friend_update_cbk]
>>> 0-management: Received ACC from uuid:
>>> 945cc296-da7b-47dd-b6ee-0c108f8d347f[2018-11-06 10:26:30.326347] I [MSGID:
>>> 106493] [glusterd-rpc-ops.c:468:__glusterd_friend_add_cbk] 0-glusterd:
>>> Received ACC from uuid: e175fe97-d35c-4f26-a446-6db88fc1c88c, host:
>>> fs-davids-c1-n2, port: 0[2018-11-06 10:26:30.328941] I [MSGID: 106492]
>>> [glusterd-handler.c:2771:__glusterd_handle_friend_update] 0-glusterd:
>>> Received friend update from uuid:
>>> e175fe97-d35c-4f26-a446-6db88fc1c88c[2018-11-06 10:26:30.328973] I [MSGID:
>>> 106502] [glusterd-handler.c:2812:__glusterd_handle_friend_update]
>>> 0-management: Received my uuid as Friend[2018-11-06 10:26:30.331730] I
>>> [MSGID: 106493] [glusterd-rpc-ops.c:681:__glusterd_friend_update_cbk]
>>> 0-management: Received ACC from uuid:
>>> e175fe97-d35c-4f26-a446-6db88fc1c88c[2018-11-06 10:26:30.332026] I [MSGID:
>>> 106163] [glusterd-handshake.c:1382:__glusterd_mgmt_hndsk_versions_ack]
>>> 0-management: using the op-version 50000[2018-11-06 10:26:30.334503] I
>>> [MSGID: 106490]
>>> [glusterd-handler.c:2586:__glusterd_handle_incoming_friend_req] 0-glusterd:
>>> Received probe from uuid: e175fe97-d35c-4f26-a446-6db88fc1c88c[2018-11-06
>>> 10:26:30.336079] I [MSGID: 106493]
>>> [glusterd-handler.c:3843:glusterd_xfer_friend_add_resp] 0-glusterd:
>>> Responded to fs-davids-c1-n2 (0), ret: 0, op_ret: 0[2018-11-06
>>> 10:26:30.339745] I [MSGID: 106492]
>>> [glusterd-handler.c:2771:__glusterd_handle_friend_update] 0-glusterd:
>>> Received friend update from uuid:
>>> e175fe97-d35c-4f26-a446-6db88fc1c88c[2018-11-06 10:26:30.339774] I [MSGID:
>>> 106502] [glusterd-handler.c:2812:__glusterd_handle_friend_update]
>>> 0-management: Received my uuid as Friend[2018-11-06 10:26:30.343760] I
>>> [MSGID: 106493] [glusterd-rpc-ops.c:681:__glusterd_friend_update_cbk]
>>> 0-management: Received ACC from uuid:
>>> e175fe97-d35c-4f26-a446-6db88fc1c88c[2018-11-06 10:26:30.391161] I [MSGID:
>>> 106493] [glusterd-rpc-ops.c:468:__glusterd_friend_add_cbk] 0-glusterd:
>>> Received ACC from uuid: 59a35a8a-73cf-48d3-a32e-cacd9dd3850d, host:
>>> fs-davids-c1-n4, port: 0[2018-11-06 10:26:30.393104] I [MSGID: 106492]
>>> [glusterd-handler.c:2771:__glusterd_handle_friend_update] 0-glusterd:
>>> Received friend update from uuid:
>>> 59a35a8a-73cf-48d3-a32e-cacd9dd3850d[2018-11-06 10:26:30.393142] I [MSGID:
>>> 106502] [glusterd-handler.c:2812:__glusterd_handle_friend_update]
>>> 0-management: Received my uuid as Friend[2018-11-06 10:26:30.396677] I
>>> [MSGID: 106493] [glusterd-rpc-ops.c:681:__glusterd_friend_update_cbk]
>>> 0-management: Received ACC from uuid:
>>> 59a35a8a-73cf-48d3-a32e-cacd9dd3850d[2018-11-06 10:26:30.396797] I [MSGID:
>>> 106163] [glusterd-handshake.c:1382:__glusterd_mgmt_hndsk_versions_ack]
>>> 0-management: using the op-version 50000[2018-11-06 10:26:30.398401] I
>>> [MSGID: 106490]
>>> [glusterd-handler.c:2586:__glusterd_handle_incoming_friend_req] 0-glusterd:
>>> Received probe from uuid: 59a35a8a-73cf-48d3-a32e-cacd9dd3850d[2018-11-06
>>> 10:26:30.399519] I [MSGID: 106493]
>>> [glusterd-handler.c:3843:glusterd_xfer_friend_add_resp] 0-glusterd:
>>> Responded to fs-davids-c1-n4 (0), ret: 0, op_ret: 0[2018-11-06
>>> 10:26:30.402250] I [MSGID: 106492]
>>> [glusterd-handler.c:2771:__glusterd_handle_friend_update] 0-glusterd:
>>> Received friend update from uuid:
>>> 59a35a8a-73cf-48d3-a32e-cacd9dd3850d[2018-11-06 10:26:30.402275] I [MSGID:
>>> 106502] [glusterd-handler.c:2812:__glusterd_handle_friend_update]
>>> 0-management: Received my uuid as Friend[2018-11-06 10:26:30.404576] I
>>> [MSGID: 106493] [glusterd-rpc-ops.c:681:__glusterd_friend_update_cbk]
>>> 0-management: Received ACC from uuid:
>>> 59a35a8a-73cf-48d3-a32e-cacd9dd3850d[2018-11-06 10:27:13.496107] E [MSGID:
>>> 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to
>>> dispatch handler[2018-11-06 10:27:13.511250] I [run.c:242:runner_log]
>>> (-->/usr/lib64/glusterfs/5.0/xlator/mgmt/glusterd.so(+0xdacca)
>>> [0x7fddc6367cca]
>>> -->/usr/lib64/glusterfs/5.0/xlator/mgmt/glusterd.so(+0xda7bc)
>>> [0x7fddc63677bc] -->/usr/lib64/libglusterfs.so.0(runner_log+0x105)
>>> [0x7fddcc819115] ) 0-management: Ran script:
>>> /var/lib/glusterd/hooks/1/set/post/S30samba-set.sh --volname=all -o
>>> cluster.enable-shared-storage=enable
>>> is_originator=1,local_node_hostname=fs-davids-c1-n1
>>> --gd-workdir=/var/lib/glusterdThe message "E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler" repeated 2 times between [2018-11-06 10:27:13.496107] and
>>> [2018-11-06 10:27:13.507184][2018-11-06 10:27:13.670121] I [MSGID: 106487]
>>> [glusterd-handler.c:1497:__glusterd_handle_cli_list_friends] 0-glusterd:
>>> Received cli list req[2018-11-06 10:27:13.671363] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler[2018-11-06 10:27:13.844935] E [MSGID: 106301]
>>> [glusterd-syncop.c:1308:gd_stage_op_phase] 0-management: Staging of
>>> operation 'Volume Create' failed on localhost : Brick isn't allowed to be
>>> created inside glusterd's working directory.[2018-11-06 10:27:13.846501] E
>>> [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll:
>>> Failed to dispatch handler[2018-11-06 10:27:13.981921] E [MSGID: 106525]
>>> [glusterd-op-sm.c:4302:glusterd_dict_set_volid] 0-management: Volume
>>> gluster_shared_storage does not exist[2018-11-06 10:27:13.981942] E [MSGID:
>>> 106116] [glusterd-mgmt.c:2140:glusterd_mgmt_v3_initiate_all_phases]
>>> 0-management: Failed to build payload for operation 'Volume
>>> Start'[2018-11-06 10:27:13.983470] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler[2018-11-06 10:27:14.119478] I [MSGID: 106488]
>>> [glusterd-handler.c:1558:__glusterd_handle_cli_get_volume] 0-management:
>>> Received get vol req[2018-11-06 10:27:14.120515] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler[2018-11-06 10:27:16.273625] I [MSGID: 106488]
>>> [glusterd-handler.c:1558:__glusterd_handle_cli_get_volume] 0-management:
>>> Received get vol req[2018-11-06 10:27:16.274701] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler[2018-11-06 10:27:16.288684] I [MSGID: 106487]
>>> [glusterd-handler.c:1497:__glusterd_handle_cli_list_friends] 0-glusterd:
>>> Received cli list req[2018-11-06 10:27:16.290027] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler[2018-11-06 10:27:19.262035] I [MSGID: 106488]
>>> [glusterd-handler.c:1558:__glusterd_handle_cli_get_volume] 0-management:
>>> Received get vol req[2018-11-06 10:27:19.263450] E [MSGID: 101191]
>>> [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch
>>> handler*
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> https://lists.gluster.org/mailman/listinfo/gluster-users
>>
>>
>>
>> --
>> Thanks,
>> Sanju
>>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users

-- 
- Atin (atinm)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181109/2d9a1bea/attachment.html>


More information about the Gluster-users mailing list