[Gluster-users] create new volume in 2/3 gluster members

Atin Mukherjee amukherj at redhat.com
Tue Dec 23 03:55:46 UTC 2014



On 12/22/2014 09:38 PM, Jon Colás Gómez wrote:
> i see this in host2
> 
> [2014-12-22 16:06:19.126216] I
> [glusterd-handler.c:448:glusterd_handle_cluster_lock] 0-glusterd: Received
> LOCK from uuid: cf1d89b2-e8b8-43b5-bbaa-e5fec2bd28ee
> [2014-12-22 16:06:19.126284] I [glusterd-utils.c:243:glusterd_lock]
> 0-glusterd: Cluster lock held by cf1d89b2-e8b8-43b5-bbaa-e5fec2bd28ee
> [2014-12-22 16:06:19.126339] I
> [glusterd-handler.c:2651:glusterd_op_lock_send_resp] 0-glusterd: Responded,
> ret: 0
> [2014-12-22 16:06:19.131239] I
> [glusterd-handler.c:488:glusterd_req_ctx_create] 0-glusterd: Received op
> from uuid: cf1d89b2-e8b8-43b5-bbaa-e5fec2bd28ee
> [2014-12-22 16:06:19.133111] E
> [glusterd-op-sm.c:366:glusterd_op_stage_create_volume] 0-glusterd: cannot
> resolve brick: *host1.dns.me:/data/gluster*
This log indicates host2 could not resolve the brick which may be
because of failure in resolving the hostname of 'host1'. I am interested
to see the peer status & volume info output in host2. Also could you
mention which version of gluster you are running with?

~Atin
> [2014-12-22 16:06:19.133135] E
> [glusterd-op-sm.c:7370:glusterd_op_ac_stage_op] 0-: Validate failed: 1
> [2014-12-22 16:06:19.133189] I
> [glusterd-handler.c:2743:glusterd_op_stage_send_resp] 0-glusterd: Responded
> to stage, ret: 0
> [2014-12-22 16:06:19.135276] I
> [glusterd-handler.c:2693:glusterd_handle_cluster_unlock] 0-glusterd:
> Received UNLOCK from uuid: cf1d89b2-e8b8-43b5-bbaa-e5fec2bd28ee
> [2014-12-22 16:06:19.135317] I
> [glusterd-handler.c:2671:glusterd_op_unlock_send_resp] 0-glusterd:
> Responded to unlock, ret: 0
> 
> Greetings,
> 
> 2014-12-22 16:35 GMT+01:00 Atin Mukherjee <amukherj at redhat.com>:
> 
>> Could you provide the log snippet of host2 machine?
>> Did you use '*' in the brick path, if so then thats not correct.
>>
>> ~Atin
>>
>> On 12/22/2014 06:57 PM, Jon Colás Gómez wrote:
>>> I already have *host1* and *host2* with replica 2 volume called
>>> gluster_puppet
>>>
>>> I am trying to create a new volume type replica 2 in *host1* and *host3*
>> with
>>> this command;
>>> *gluster volume create gluster_volume replica 2 transport tcp
>>> host1.dns.me:/data/gluster host3.dns.me:/data/gluster*
>>> out:Operation failed on hos2.dns.me
>>>
>>> ,but something is failing.
>>>
>>> in cli.log i have this when execute command:
>>>
>>> [2014-12-22 12:34:31.960372] W [rpc-transport.c:606:rpc_transport_load]
>>> 0-rpc-transport: missing 'option transport-type'. defaulting to "socket"
>>> [2014-12-22 12:34:32.28142] I
>>> [cli-rpc-ops.c:627:gf_cli3_1_create_volume_cbk] 0-cli: Received resp to
>>> create volume
>>> [2014-12-22 12:34:32.28296] I [input.c:46:cli_batch] 0-: Exiting with: 1
>>>
>>>
>>> thanks!!
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> http://www.gluster.org/mailman/listinfo/gluster-users
>>>
>>
> 
> 
> 


More information about the Gluster-users mailing list