Status: New
Owner: ----
New issue 396 by [email protected]: gnt-instance failover and migrate
does not work with manual target node selection
http://code.google.com/p/ganeti/issues/detail?id=396
What software version are you running? Please provide the output of "gnt-
cluster --version" and "gnt-cluster version".
gnt-cluster (ganeti v2.7.0beta1-267-g4f73cfc) 2.7.0~beta1
Software version: 2.7.0~beta1
Internode protocol: 2070000
Configuration format: 2070000
OS api version: 20
Export interface: 0
What distribution are you using?
Debian 6.0.7
What steps will reproduce the problem?
1. run 'gnt-instance migrate --target-node=hostname instancename'
2.
3.
What is the expected output? What do you see instead?
I would expect the instance to be migrated to the specified target node.
Instead I get this:
root:~# gnt-instance migrate --target-node devel0.example.com --debug
inst1.example.com
2013-03-11 09:50:53,089: gnt-instance migrate pid=29323 cli:2411 INFO
Command line: gnt-instance migrate --target-node devel0.example.com --debug
inst1.example.com
Instance inst1.check24tech.de will be migrated. Note that migration
might impact the instance if anything goes wrong (e.g. due to bugs in
the hypervisor). Continue?
y/[n]/?: y
2013-03-11 09:50:55,177: gnt-instance migrate pid=29323 cli:2418 ERROR
Error during command processing
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/ganeti/cli.py", line 2414,
in GenericMain
result = func(options, args)
File "/usr/local/lib/python2.6/dist-packages/ganeti/client/gnt_instance.py",
line 799, in MigrateInstance
SubmitOrSend(op, cl=cl, opts=opts)
File "/usr/local/lib/python2.6/dist-packages/ganeti/cli.py", line 2185,
in SubmitOrSend
return SubmitOpCode(op, cl=cl, feedback_fn=feedback_fn, opts=opts)
File "/usr/local/lib/python2.6/dist-packages/ganeti/cli.py", line 2162,
in SubmitOpCode
reporter=reporter)
File "/usr/local/lib/python2.6/dist-packages/ganeti/cli.py", line 2143,
in PollJob
return GenericPollJob(job_id, _LuxiJobPollCb(cl), reporter)
File "/usr/local/lib/python2.6/dist-packages/ganeti/cli.py", line 1965,
in GenericPollJob
errors.MaybeRaise(msg)
File "/usr/local/lib/python2.6/dist-packages/ganeti/errors.py", line 510,
in MaybeRaise
raise errcls(*args)
OpExecError: Internal assertion error: please report this as a bug.
Error message: ''; location:
File "/usr/local/lib/python2.6/dist-packages/ganeti/cmdlib.py", line
8651, in CheckPrereq
assert locking.NAL in self.lu.owned_locks(locking.LEVEL_NODE_ALLOC)
Failure: command execution error:
Internal assertion error: please report this as a bug.
Error message: ''; location:
File "/usr/local/lib/python2.6/dist-packages/ganeti/cmdlib.py", line
8651, in CheckPrereq
assert locking.NAL in self.lu.owned_locks(locking.LEVEL_NODE_ALLOC)
Please provide any additional information below.
A failover instead of migrate results in the same error.
Both failover and migrate work as expected when using the hail iallocator
to determine the target node.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings