[Bugs] [Bug 1304465] dnscache in libglusterfs returns 127.0.0.1 for 1st non-localhost request

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 13 07:45:54 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1304465



--- Comment #2 from Rinku <rkothiya at redhat.com> ---
Glusterfs version used for testing : v6.3

Servers used for testing : 

    Hostname : GlusterNode1.com, Ip :  192.168.1.10
    Hostname : GlusterNode2.com, Ip : 192.168.1.20

Following distributed volume was created : 

    # gluster v info devvol
    Volume Name: devvol
    Type: Distribute
    Volume ID: 2b3a4bb0-f8c2-40e5-b5f5-61b9e89ace45
    Status: Started
    Snapshot Count: 0
    Number of Bricks: 2
    Transport-type: tcp
    Bricks:
    Brick1: 192.168.1.10:/testxfs/brick-a1/brick
    Brick2: 192.168.1.20:/testxfs/brick-b1/brick
    Options Reconfigured:
    transport.address-family: inet
    nfs.disable: on

Fired the following command from the client : 

    # mount -t glusterfs -o
backup-volfile-servers=GlusterNode2.com,log-level=DEBUG
GlusterNode1.com:/devvol /mnt1


Result :  

    Was successfully able to mount the volume. 

Logs : 

    [2019-06-13 07:25:32.159993] D [MSGID: 0]
[common-utils.c:532:gf_resolve_ip6] 0-resolver: returning ip-192.168.1.10
(port-24007) for hostname: GlusterNode1.com and port: 24007
    .
    .
    .
    [2019-06-13 07:25:36.391372] D [MSGID: 0]
[common-utils.c:532:gf_resolve_ip6] 0-resolver: returning ip-192.168.1.20
(port-24007) for hostname: GlusterNode2.com and port: 24007

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Bugs mailing list