From: Michael M. <mm...@as...> - 2003-07-10 18:52:13
|
Hi, Seems like the gethostbyname provided by the version of beonss packaged with Clustermatic 3 does not work. For example, this python code: import sys import bproc, socket nodes = sys.argv[1:] for node in nodes: print node print socket.gethostbyname(node) print bproc.nodenumber(socket.gethostbyname(node)) Fails like this: [root@asl156 cluster]# python test.py n0 n0 Traceback (most recent call last): File "test.py", line 6, in ? print socket.gethostbyname(node) socket.gaierror: (-2, 'Name or service not known') I upgraded to beonss to 1.0.20 and that fixed my problem. Mike |