Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Lustre 1.8.9
-
None
-
CentOS 5.3
-
3
-
13184
Description
lustre_config: Operating on the following nodes: sfs1,sfs2,sfs3,sfs4
lustre_config: Checking the cluster network connectivity and hostnames...
lc_net: Verifying network connectivity between "sfs1" and "sfs2"...
lc_net: ERROR: remote_check(): Local host resolves sfs2 to IP address "192.168.8.2", while its own resolution is "192.168.8.2
192.168.8.2". They are not the same!
the address is just mentioned once in /etc/hosts
suggested Fix:
in lc_net in remote_check():
— lc_net.orig 2014-03-20 17:32:19.000000000 +0100
+++ lc_net 2014-03-20 17:31:54.000000000 +0100
@@ -171,7 +171,7 @@
- Get the IP address of ${HOST_NAMES[i]} from its own ping
ip_pattern="[0-9] {1,3}\.[0-9]{1,3}\.[0-9]
{1,3}\.[0-9]{1,3}"
ip_addr=`echo "${ret_str}" | egrep -o "${ip_pattern}"`
- ip_addr=`echo "${ip_addr}" | sed -e 's/^(//' -e 's/)$//'`
+ ip_addr=`echo "${ip_addr}" | sed -e 's/^(//' -e 's/)$//' | sort | uniq`
- Compare IP addresses
- Check whether ${HOST_NAMES[i]} agrees with the local host
Attachments
Issue Links
- duplicates
-
LU-1049 lc_net does not parse unexpected output from pdsh well
- Resolved