Bug 1131001

Summary: 0-glusterfs: transport.address-family not specified. Could not guess default value from (remote-host:(null) or transport.unix.connect-path:(null)) options
Product: [Community] GlusterFS Reporter: fengkun <fengkun110818>
Component: protocolAssignee: bugs <bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.1CC: bugs, fengkun110818, ggarg, hchiramm, ndevos
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-08 12:25:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description fengkun 2014-08-18 11:15:08 UTC
Description of problem:
when i execute replace-brick, always wrong.

Version-Release number of selected component (if applicable):
# glusterd -V
glusterfs 3.5.1 built on Jun 24 2014 15:31:13

How reproducible:
command like this:
gluster volume replace-brick fk 10.96.45.43:/home/brick  10.96.33.20:/home/brick start

no output anything,view log
tail -f cli.log 
[2014-08-18 10:33:23.592596] W [dict.c:1055:data_to_str] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(+0x68ec) [0x7f892b5108ec] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0xad) [0x7f892b514fcd] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(client_fill_address_family+0x20b) [0x7f892b514e8b]))) 0-dict: data is NULL
[2014-08-18 10:33:23.592602] 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-08-18 10:33:26.592787] W [dict.c:1055:data_to_str] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(+0x68ec) [0x7f892b5108ec] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0xad) [0x7f892b514fcd] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(client_fill_address_family+0x200) [0x7f892b514e80]))) 0-dict: data is NULL
[2014-08-18 10:33:26.592802] W [dict.c:1055:data_to_str] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(+0x68ec) [0x7f892b5108ec] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0xad) [0x7f892b514fcd] (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(client_fill_address_family+0x20b) [0x7f892b514e8b]))) 0-dict: data is NULL
[2014-08-18 10:33:26.592809] 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-08-18 10:33:26.794391] I [input.c:36:cli_batch] 0-: Exiting with: 110

Comment 1 fengkun 2014-08-18 11:17:44 UTC
(In reply to fengkun from comment #0)
> Description of problem:
> when i execute replace-brick, always wrong.
> 
> Version-Release number of selected component (if applicable):
> # glusterd -V
> glusterfs 3.5.1 built on Jun 24 2014 15:31:13
> 
> How reproducible:
> command like this:
> gluster volume replace-brick fk 10.96.45.43:/home/brick 
> 10.96.33.20:/home/brick start
> 
> no output anything,view log
> tail -f cli.log 
> [2014-08-18 10:33:23.592596] W [dict.c:1055:data_to_str]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(+0x68ec)
> [0x7f892b5108ec]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.
> so(socket_client_get_remote_sockaddr+0xad) [0x7f892b514fcd]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.
> so(client_fill_address_family+0x20b) [0x7f892b514e8b]))) 0-dict: data is NULL
> [2014-08-18 10:33:23.592602] 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-08-18 10:33:26.592787] W [dict.c:1055:data_to_str]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(+0x68ec)
> [0x7f892b5108ec]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.
> so(socket_client_get_remote_sockaddr+0xad) [0x7f892b514fcd]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.
> so(client_fill_address_family+0x200) [0x7f892b514e80]))) 0-dict: data is NULL
> [2014-08-18 10:33:26.592802] W [dict.c:1055:data_to_str]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.so(+0x68ec)
> [0x7f892b5108ec]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.
> so(socket_client_get_remote_sockaddr+0xad) [0x7f892b514fcd]
> (-->/usr/lib64/glusterfs/3.5.1/rpc-transport/socket.
> so(client_fill_address_family+0x20b) [0x7f892b514e8b]))) 0-dict: data is NULL
> [2014-08-18 10:33:26.592809] 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-08-18 10:33:26.794391] I [input.c:36:cli_batch] 0-: Exiting with: 110

# cat /etc/glusterfs/glusterd.vol 
volume management
    type mgmt/glusterd
    option working-directory /var/lib/glusterd
    option transport-type socket,rdma
    option transport.socket.keepalive-time 10
    option transport.socket.keepalive-interval 2
    option transport.socket.read-fail-log off
#   option base-port 49152
    option rpc-auth-allow-insecure on
    option transport.address-family inet
end-volume

Comment 3 Humble Chirammal 2014-08-18 12:18:31 UTC
Can you please give us more details about the volume configuration you have and the exact snip of actions you performed ?

Comment 4 fengkun 2014-08-19 02:42:51 UTC
(In reply to Humble Chirammal from comment #3)
> Can you please give us more details about the volume configuration you have
> and the exact snip of actions you performed ?

use yum, The default installation,The default configuration

Comment 5 Humble Chirammal 2014-08-19 13:18:13 UTC
(In reply to fengkun from comment #4)
> (In reply to Humble Chirammal from comment #3)
> > Can you please give us more details about the volume configuration you have
> > and the exact snip of actions you performed ?
> 
> use yum, The default installation,The default configuration

By 'Volume configuration' I mean , your gluster volume configuration ( distribute, distribute-replice..etc)  which can be retrieved by #gluster volume info command. Also I would like to know why this action is performed, that said, is it for replacing a faulty disk or to expand some space in your configuration ?

All replace-brick commands except commit force are deprecated. The gluster cli itself will warn you about this from next versions.

Comment 6 Humble Chirammal 2014-08-22 14:38:18 UTC
(In reply to Humble Chirammal from comment #5)
> (In reply to fengkun from comment #4)
> > (In reply to Humble Chirammal from comment #3)
> > > Can you please give us more details about the volume configuration you have
> > > and the exact snip of actions you performed ?
> > 
> > use yum, The default installation,The default configuration
> 
> By 'Volume configuration' I mean , your gluster volume configuration (
> distribute, distribute-replice..etc)  which can be retrieved by #gluster
> volume info command. Also I would like to know why this action is performed,
> that said, is it for replacing a faulty disk or to expand some space in your
> configuration ?
> 
> All replace-brick commands except commit force are deprecated. The gluster
> cli itself will warn you about this from next versions.

You can refer below doc  for the same.
http://review.gluster.org/#/c/8503/

Comment 7 Niels de Vos 2016-02-23 12:23:50 UTC
Was your problem resolved with the hints in comment #6? If not, could you explain with a clear example what you are doing, and when this problem occurs?

Comment 8 Gaurav Kumar Garg 2016-03-08 12:25:20 UTC
its seems problem have solved. closing this bug.

fengkun feel free to raise the issue if you face the same problem.