[Bugs] [Bug 1750265] New: configure name server in host will cause command hanging
bugzilla at redhat.com
bugzilla at redhat.com
Mon Sep 9 07:55:52 UTC 2019
https://bugzilla.redhat.com/show_bug.cgi?id=1750265
Bug ID: 1750265
Summary: configure name server in host will cause command
hanging
Product: GlusterFS
Version: 4.1
Status: NEW
Component: cli
Assignee: bugs at gluster.org
Reporter: wabp2005 at 126.com
CC: bugs at gluster.org
Target Milestone: ---
Classification: Community
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.add nameserver in file "/etc/resolv.conf"
2.execute cli command "gluster volume heal storage info split-brain"
3.cli command will hang some secends, this depends on how much nameserver you
config on host
Actual results:
# time gluster volume heal storage info split-brain
Brick 192.168.2.5:/.storage
Status: Connected
Number of entries in split-brain: 0
Brick 192.168.2.6:/.storage
Status: Connected
Number of entries in split-brain: 0
real 0m45.451s
user 0m0.044s
sys 0m0.027s
Expected results:
sbg_SC-1:~ # time gluster volume heal storage info split-brain
Brick 192.168.2.5:/.storage
Status: Connected
Number of entries in split-brain: 0
Brick 192.168.2.6:/.storage
Status: Connected
Number of entries in split-brain: 0
real 0m0.699s
user 0m0.058s
sys 0m0.011s
Additional info:
according to the tcpdump, I found glusterfs will always send DNS query to the
nameserver configure in host, the query name is "/var/run/glusterd.socket", I
think this cause cli command hangs.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list