--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to glusterfs in Ubuntu.
https://bugs.launchpad.net/bugs/943826
Title:
glusterfs does not fallback to ipv4
Status in “glusterfs” package in Ubuntu:
New
Bug description:
Although the Ubuntu install has ipv6 enabled and configured, it uses a
DNS resolvers that does not return results for ipv6 names:
rngadam@rngadam-vbox:~$ nslookup
> set q=any
> rngadam-vbox.cowin.local
Server: 10.236.20.254
Address: 10.236.20.254#53
Name: rngadam-vbox.cowin.local
Address: 10.236.10.160
> set q=AAAA
> rngadam-vbox.cowin.local
Server: 10.236.20.254
Address: 10.236.20.254#53
*** Can't find rngadam-vbox.cowin.local: No answer
This leads to inability for gluster to resolve names:
==> /var/log/glusterfs/etc-glusterfs-glusterd.vol.log <==
[2012-03-01 15:11:57.691325] E [common-utils.c:125:gf_resolve_ip6]
0-resolver: getaddrinfo failed (Name or service not known)
[2012-03-01 15:11:57.691504] E
[name.c:253:af_inet_client_get_remote_sockaddr] 0-management: DNS resolution
failed on host cnshaqs10.cowin.local
EXPECTED
When unable to resolve ip6 address, should fallback to ip4 address and
still work.
Alternatively, should be able to force ip4 transport with this config
(currently, only inet and inet/inet6 is available):
vi /etc/glusterfs/glusterd.vol
option transport.address-family inet/inet4
ADDITIONAL
rngadam@rngadam-vbox:/etc/glusterfs$ sudo service glusterfs-server start
* Starting glusterd service glusterd
[ OK ]
/usr/sbin/glusterd: option requires an argument -- 'f'
Try `glusterd --help' or `glusterd --usage' for more information.
AFAIK, /etc/init.d/glusterfs uses -f $CONFIG_FILE but I can't figure
out where it is set...
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: glusterfs-server 3.2.1-1
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Thu Mar 1 15:43:20 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
SourcePackage: glusterfs
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glusterfs/+bug/943826/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp