Menu

#729 hostname sanity check

5.0 (deprecated)
open
John
8
2005-11-29
2005-09-23
No

There are big configuration problems if the value of
hostname doesn't match the IP address associated with
the value passed to 'install_cluster'. I think we
should add a very basic heuristic to check
that the value of hostname matches the value of the
ethX's IP address.

Example, see attachedk perl script for a basic idea.

Discussion

  • Thomas Naughton

    Thomas Naughton - 2005-09-23

    quick example to show basic heuristic/idea

     
  • John

    John - 2005-09-23

    Logged In: YES
    user_id=505737

    Looks like the most common problem is people assigning the
    same name to both interfaces. Not sure why they do that, but
    thats seems to be what happens.

     
  • Bernard Li

    Bernard Li - 2005-10-31
    • priority: 5 --> 8
     
  • Bernard Li

    Bernard Li - 2005-10-31

    Logged In: YES
    user_id=879102

    Can we fast-track this bugfix? I'm having issues with the
    SGE package as well.

    We can probably add the sanity check to oscar_wizard -
    asking the user to make sure that the correct entry of the
    host's ip is in /etc/hosts - but what if the ip is assigned
    via DHCP? Or do we just not support it.

     
  • Thomas Naughton

    Thomas Naughton - 2005-10-31

    Logged In: YES
    user_id=288102

    I'm swamped right now but the code I attached should get
    most of the trick, probably needs to be beat on a bit to
    make sure there are no stupid corner cases.

    I believe it would go in 'install_cluster' and check/print
    warning there. I'll try to look at this later this week
    when I get to oscar-head (still off living in branches and
    branches of branches :( )

     
  • John

    John - 2005-11-29
    • assigned_to: nobody --> muglerj