Bug 1304465 - dnscache in libglusterfs returns for 1st non-localhost request
dnscache in libglusterfs returns for 1st non-localhost request
Status: NEW
Product: GlusterFS
Classification: Community
Component: core (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: bugs@gluster.org
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2016-02-03 12:16 EST by Niels de Vos
Modified: 2016-02-03 12:16 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Niels de Vos 2016-02-03 12:16:01 EST
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. setup a Gluster volume (server is called storage.example.com below)
2. on a non-Gluster server (client only):
   # mount -t glusterfs -o backup-volfile-servers=storage.example.com \
            localhost:/volume /mnt

Actual results:
Mounting will fail.

Expected results:
Mounting succeeds.

Additional info:
Enabling DEBUG logging with the additional "log-level=DEBUG" mount option shows that the 1st DNS lookup in common-utils.c:333:gf_resolve_ip6 returns for the storage.example.com hostname.

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