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.
quick example to show basic heuristic/idea
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.
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.
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 :( )