I'm just starting to play with ganeti on ubuntu lucid. I'm using the
ganeti2 package, which is version 2.0.5. As seems to be mentioned in
http://groups.google.com/group/ganeti/browse_thread/thread/997e5bc78031ad94
I'm having trouble creating instances.
I setup the cluster following the admin guide. But when I run gnt-
instance I get the following error:
seph@macbook-test1:~$ sudo gnt-instance add -n mabook-test1 -t
plain -s 1G -B memory=512 -o debootstrap
instance1.example.com
Unhandled protocol error while talking to the master daemon:
Caught exception: src_node
Interestingly, I note that I get the same error regardless of what I
use as the nodename. A made up non-existing node results in the same
error.
The node-daemon.log has nothing from this exchange
The master-daemon.log says:
2010-05-17 17:20:15,555: pid=1891/Thread-56 INFO Received new job
2010-05-17 17:20:15,555: pid=1891/Thread-56 ERROR Unexpected
exception
Traceback (most recent call last):
File "/usr/sbin/ganeti-masterd", line 166, in handle
result = self._ops.handle_request(method, args)
File "/usr/sbin/ganeti-masterd", line 211, in handle_request
ops = [opcodes.OpCode.LoadOpCode(state) for state in args]
File "/usr/lib/pymodules/python2.6/ganeti/opcodes.py", line 153,
in LoadOpCode
op.__setstate__(new_data)
File "/usr/lib/pymodules/python2.6/ganeti/opcodes.py", line 93, in
__setstate__
delattr(self, name)
AttributeError: src_node
And the commands.log says:
2010-05-17 17:21:58,494: gnt-instance add pid=2344 INFO run with
arguments '-n msdacbook-test1 -t plain -s 1G -B memory=512 -o
debootstrap
instance1.example.com'
2010-05-17 17:21:58,496: gnt-instance add pid=2344 ERROR Error during
command processing
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/ganeti/cli.py", line 750, in
GenericMain
result = func(options, args)
File "/usr/sbin/gnt-instance", line 361, in AddInstance
SubmitOrSend(op, opts)
File "/usr/lib/pymodules/python2.6/ganeti/cli.py", line 616, in
SubmitOrSend
return SubmitOpCode(op, cl=cl, feedback_fn=feedback_fn)
File "/usr/lib/pymodules/python2.6/ganeti/cli.py", line 596, in
SubmitOpCode
job_id = SendJob([op], cl)
File "/usr/lib/pymodules/python2.6/ganeti/cli.py", line 508, in
SendJob
job_id = cl.SubmitJob(ops)
File "/usr/lib/pymodules/python2.6/ganeti/luxi.py", line 337, in
SubmitJob
return self.CallMethod(REQ_SUBMIT_JOB, ops_state)
File "/usr/lib/pymodules/python2.6/ganeti/luxi.py", line 328, in
CallMethod
raise RequestError(result)
RequestError: Caught exception: src_node
Any pointers? Is this version just buggy?