Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4789

lustre_config fails to Verify network connectivity

    XMLWordPrintable

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 @@

      1. 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`
      1. Compare IP addresses
      2. Check whether ${HOST_NAMES[i]} agrees with the local host

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              martin_hecht Martin Hecht
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: