Re: geo-replication 3.5.2 not working on Ubuntu 12.0.4 - transport.address-family not specified

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I managed to get around the "transport.address-family not specified" issue by using IP address instead of host name in the CLI when creating and starting the geo-replication volume.
However the replication to slave is not happening. The status shows as "Not Started". Any suggestions? 

ubuntu@local-server-2:~$ sudo gluster volume geo-replication bpv1 172.16.17.43::bpslave create push-pem force --log-file=/var/log/gluster_c.log --log-level=DEBUG 
Creating geo-replication session between bpv1 & 172.16.17.43::bpslave has been successful
ubuntu@local-server-2:~$ sudo gluster volume geo-replication bpv1 172.16.17.43::bpslave start --log-file=/var/log/gluster_s_1.log --log-level=DEBUG
Starting geo-replication session between bpv1 & 172.16.17.43::bpslave has been successful
ubuntu@local-server-2:~$ sudo gluster volume geo-replication bpv1 172.16.17.43::bpslave status

 
MASTER NODE                      MASTER VOL    MASTER BRICK         SLAVE                    STATUS         CHECKPOINT STATUS    CRAWL STATUS        
———————————————————————————————————————————————————————————————————————

local-server-2     bpv1          /var/gluster/vol1    172.16.17.43::bpslave    Not Started    N/A                  N/A                 
local-server-0     bpv1          /var/gluster/vol1    172.16.17.43::bpslave    Not Started    N/A                  N/A                 
local-server-8    bpv1          /var/gluster/vol1    172.16.17.43::bpslave    Not Started    N/A                  N/A 


Thanks,
Bin


> On Tuesday, September 30, 2014 1:04 PM, Bin Zhou <lakerzhou@xxxxxxxxx> wrote:
> Hi,
>  
> I am testing geo-replication 3.5.2 by following the instruction from https://github.com/gluster/glusterfs/blob/master/doc/admin-guide/en-US/markdown/admin_distributed_geo_rep.md
> All commands are executed successfully without returning any error, but no replication is done from master to the slave.
> Enclosed please find the logs when starting the geo-replication volume. At the end of the log, it indicated "transport.address-family not specified". Is it a problem? How to have it fixed? Thanks for the help.
> 
> [2014-09-30 16:38:32.162980] D [cli.c:581:cli_rpc_init] 0-cli: Connecting to glusterd using default socket
> [2014-09-30 16:38:32.163062] D [rpc-clnt.c:975:rpc_clnt_connection_init] 0-glusterfs: defaulting frame-timeout to 30mins
> [2014-09-30 16:38:32.163090] D [rpc-transport.c:262:rpc_transport_load] 0-rpc-transport: attempt to load file /usr/lib/glusterfs/3.5.2/rpc-transport/socket.so
> [2014-09-30 16:38:32.163626] D [socket.c:3449:socket_init] 0-glusterfs: disabling nodelay
> [2014-09-30 16:38:32.163649] I [socket.c:3561:socket_init] 0-glusterfs: SSL support is NOT enabled
> [2014-09-30 16:38:32.163659] I [socket.c:3576:socket_init] 0-glusterfs: using system polling thread
> [2014-09-30 16:38:32.163778] D [rpc-clnt.c:975:rpc_clnt_connection_init] 0-glusterfs: defaulting frame-timeout to 30mins
> [2014-09-30 16:38:32.163801] D [rpc-transport.c:262:rpc_transport_load] 0-rpc-transport: attempt to load file /usr/lib/glusterfs/3.5.2/rpc-transport/socket.so
> [2014-09-30 16:38:32.163831] I [socket.c:3561:socket_init] 0-glusterfs: SSL support is NOT enabled
> [2014-09-30 16:38:32.163843] I [socket.c:3576:socket_init] 0-glusterfs: using system polling thread
> [2014-09-30 16:38:32.163888] D [registry.c:408:cli_cmd_register] 0-cli: Returning 0
> … …
> [2014-09-30 16:38:32.164078] D [registry.c:408:cli_cmd_register] 0-cli: Returning 0
> [2014-09-30 16:38:32.225367] D [cli-cmd-volume.c:1727:cli_check_gsync_present] 0-cli: Returning 0
> [2014-09-30 16:38:32.225432] D [registry.c:408:cli_cmd_register] 0-cli: Returning 0
> … … 
> [2014-09-30 16:38:32.225806] D [registry.c:408:cli_cmd_register] 0-cli: Returning 0
> [2014-09-30 16:38:32.225906] I [socket.c:2238:socket_event_handler] 0-transport: disconnecting now
> [2014-09-30 16:38:32.225957] D [cli-cmd-parser.c:1795:force_push_pem_parse] 0-cli: Returning 0
> [2014-09-30 16:38:35.164339] W [dict.c:1055:data_to_str] (-->/usr/lib/glusterfs/3.5.2/rpc-transport/socket.so(+0x4ca4) [0x7fcf2540fca4] (-->/usr/lib/glusterfs/3.5.2/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fcf254161be] (-->/usr/lib/glusterfs/3.5.2/rpc-transport/socket.so(client_fill_address_family+0x200) [0x7fcf25415eb0]))) 0-dict: data is NULL
> [2014-09-30 16:38:35.164372] W [dict.c:1055:data_to_str] (-->/usr/lib/glusterfs/3.5.2/rpc-transport/socket.so(+0x4ca4) [0x7fcf2540fca4] (-->/usr/lib/glusterfs/3.5.2/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fcf254161be] (-->/usr/lib/glusterfs/3.5.2/rpc-transport/socket.so(client_fill_address_family+0x20b) [0x7fcf25415ebb]))) 0-dict: data is NULL
> [2014-09-30 16:38:35.164383] E [name.c:147:client_fill_address_family] 0-glusterfs: transport.address-family not specified. Could not guess default value from (remote-host:(null) or transport.unix.connect-path:(null)) options
> [2014-09-30 16:38:36.009070] D [cli-cmd.c:381:cli_cmd_submit] 0-cli: Returning 0
> [2014-09-30 16:38:36.009090] D [cli-cmd-volume.c:1784:cli_cmd_volume_gsync_set_cbk] 0-cli: frame->local is not NULL (0x7fcf18000a50)
> [2014-09-30 16:38:36.009105] I [input.c:36:cli_batch] 0-: Exiting with: 0

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux