Hi,
ssh_user_test always fails because line
ssh $node1 "ssh -o 'StrictHostKeyChecking no' $server hostname >/dev/null 2>&1"
is run with $server=`hostname` which returns the FQDN name of the head which is 
unknown from nodes as they may be on a private network.
$server shoud be the name that resolve to the OSCAR_NETWORK_INTERFACE in 
/etc/oscar/oscar.conf
As I understand, the IP of that interface is known as oscar_server in 
/etc/hosts on all nodes.
thus the following patch replaces
$server=`hostname` with $server="oscar_server"

Without the fix, on the node side, my server FQDN is005760.intra.cea.fr was not 
known by the node (no DNS access as it is on a private network)
Thus ssh failed on the node with error: ssh: is005760.intra.cea.fr: Name or 
service not known

Regards.
-- 
        Olivier LAHAYE
        CEAEA Saclay
        DRT-LIST-DCSI-DIR
Index: ssh_user_tests
===================================================================
--- ssh_user_tests	(révision 9206)
+++ ssh_user_tests	(copie de travail)
@@ -35,7 +35,8 @@
 fi
 
 $OSCAR_TESTPRINT --label "SSH node->server"  
-server=`hostname`
+#server=`hostname`
+server="oscar_server"
 if ssh $node1 "ssh -o 'StrictHostKeyChecking no' $server hostname >/dev/null 2>&1"
 then
   $OSCAR_TESTPRINT --label "SSH node->server" -p 
------------------------------------------------------------------------------
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to