Ubuntu Server Natty: ganeti2 (2.1.6) migrate feature doesn't work with qemu-kvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ganeti (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ganeti2
What distribution are you using?
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
What steps will reproduce the problem?
gnt-instance migrate vmtest
What is the expected output? What do you see instead?
After distro upgrade migratie doesn't work. failover works perfectly.
root@drbd01:~# gnt-instance migrate -d vmtest
2011-05-20 13:32:44,425: gnt-instance migrate pid=2634 cli:1671 INFO run with arguments '-d vmtest.
Instance vmtest.ss.local.com 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
Fri May 20 13:32:46 2011 Migrating instance vmtest.
Fri May 20 13:32:46 2011 * checking disk consistency between source and target
Fri May 20 13:32:47 2011 * switching node drbd02.ss.local.com to secondary mode
Fri May 20 13:32:47 2011 * changing into standalone mode
Fri May 20 13:32:47 2011 * changing disks into dual-master mode
Fri May 20 13:32:48 2011 * wait until resync is done
Fri May 20 13:32:48 2011 * preparing drbd02.ss.local.com to accept the instance
Fri May 20 13:32:48 2011 * Comando KVM [\n [\n "/usr/bin/kvm",\n "-name",\n "vmtest.
Fri May 20 13:32:48 2011 * migrating instance to drbd02.ss.local.com
Fri May 20 13:33:00 2011 * drbd01.ss.local.com {'network_port': 11028, 'serial_no': 2, 'name': 'vmtest.
Fri May 20 13:33:00 2011 Migration failed, aborting
Fri May 20 13:33:00 2011 * switching node drbd02.ss.local.com to secondary mode
Fri May 20 13:33:00 2011 * changing into standalone mode
Fri May 20 13:33:01 2011 * changing disks into single-master mode
Fri May 20 13:33:01 2011 * wait until resync is done
2011-05-20 13:33:01,896: gnt-instance migrate pid=2634 cli:1680 ERROR Error during command processing
Traceback (most recent call last):
File "/usr/lib/
result = func(options, args)
File "/usr/sbin/
SubmitOpCod
File "/usr/lib/
op_results = PollJob(job_id, cl=cl, feedback_
File "/usr/lib/
return GenericPollJob(
File "/usr/lib/
errors.
File "/usr/lib/
raise err_class, tuple(result[1])
OpExecError: Could not migrate instance vmtest.
Failure: command execution error:
Could not migrate instance vmtest.
Please provide any additional information below.
qemu-kvm_
Works FINE
qemu-kvm_
DO NOT WORK
root@drbd01:~# gnt-cluster version
Software version: 2.1.6
Internode protocol: 30
Configuration format: 2010000
OS api version: 15
Export interface: 0
*******
Comment 4 by project member <email address hidden>, May 20 (2 days ago)
Yes. Can you check 2.4.X, please? You can find debs in the debian repositories.
Thanks,
Guido
Comment 5 by <email address hidden>, May 20 (2 days ago) via email
Hi,
Packages used for upgrade:
ganeti2_
ganeti-
libgmp10_
python-
python-
After upgrade and postupgrade task....
root@drbd01:~# gnt-instance migrate -d xpvu.ss.local.com
2011-05-21 00:54:46,807: gnt-instance migrate pid=3143 cli:1926 INFO run
with arguments '-d xpvu.ss.local.com'
Instance xpvu.ss.local.com 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
Sat May 21 00:54:54 2011 Migrating instance xpvu.ss.local.com
Sat May 21 00:54:54 2011 * checking disk consistency between source and
target
Sat May 21 00:54:54 2011 * switching node drbd01.ss.local.com to secondary
mode
Sat May 21 00:54:55 2011 * changing into standalone mode
Sat May 21 00:54:55 2011 * changing disks into dual-master mode
Sat May 21 00:54:56 2011 * wait until resync is done
Sat May 21 00:54:56 2011 * preparing drbd01.ss.local.com to accept the
instance
Sat May 21 00:54:56 2011 * migrating instance to drbd01.ss.local.com
Sat May 21 00:55:40 2011 * switching node drbd02.ss.local.com to secondary
mode
Sat May 21 00:55:40 2011 * wait until resync is done
Sat May 21 00:55:40 2011 * changing into standalone mode
Sat May 21 00:55:40 2011 * changing disks into single-master mode
Sat May 21 00:55:41 2011 * wait until resync is done
Sat May 21 00:55:41 2011 * done
It works!
Comment 6 by project member <email address hidden>, Yesterday (17 hours ago)
Marking the issue as invalid, as it was fixed in a later version.
Thanks in advance,
Changed in ganeti (Ubuntu): | |
status: | New → Fix Released |