On Wed, Jan 07, 2009 at 01:05:59PM +0100, Daniel Schreiber wrote: > ~# gnt-cluster --version > gnt-cluster (ganeti) 1.2.6 > ~# gnt-cluster version > Software version: 1.2.6 > Internode protocol: 14 > Configuration format: 3 > OS api version: 5 > Export interface: 0 > ~# python -c 'import ganeti.constants; print > ganeti.constants.RELEASE_VERSION' > 1.2.6 > ~# python -c 'import ganeti.rpc; print type(ganeti.rpc.ReReactor)' > Traceback (most recent call last): > File "<string>", line 1, in <module> > AttributeError: 'module' object has no attribute 'ReReactor'
Very weird. It definitely looks like a twisted 8.1 issue, but I can't reproduce it. I've installed a fresh etch machine, dist-upgraded to lenny and installed ganeti-1.2.6-2, and it works (I can't install 1.2.3 from backports before dist-upgrade since they removed it). Attached to this mail is a python script; can you run it from any node as: "python call_version.py $node" where $node should be any of your ganeti nodes. For me it looks like: # python call_version.py localhost [twisted, version 8.1.0] Call 0, result: 14 Call 1, result: 14 Call 2, result: 14 Call 3, result: 14 Call 4, result: 14 Call 5, result: 14 Call 6, result: 14 Call 7, result: 14 Call 8, result: 14 Call 9, result: 14 If twisted interation is indeed broken, it will hang before printing "Call 1". You can also test against more than one node, maybe the problem is only with a subset of the nodes... Although the fix in 1.2.5 was for the client side, not the server side. Also, "dpkg -l" would be welcome so that I can install exactly the same package list. iustin
#!/usr/bin/python -ut import sys import twisted from ganeti import rpc print twisted.version node = sys.argv[1] for i in range(10): result = rpc.call_version([node]) print "Call %d, result: %s" % (i, result[node])