Bug 1131001 - 0-glusterfs: transport.address-family not specified. Could not guess default value from (remote-host:(null) or transport.unix.connect-path:(null)) options
Summary: 0-glusterfs: transport.address-family not specified. Could not guess default ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: protocol
Version: 3.5.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-18 11:15 UTC by fengkun
Modified: 2020-11-30 07:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-08 12:25:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.