Dietmar Maurer
373ea5798a
migrate: only scan available storages
2012-07-16 10:20:36 +02:00
Dietmar Maurer
522c8f97d7
code cleanup, bump version to 2.0-44
2012-07-16 07:00:28 +02:00
Alexandre Derumier
80b2cbd1b9
migrate: syncdisk : avoid scanning shared storage
...
Currently we get list from PVE::Storage (for unused volumes), from all storage.
If something goes wrong with the network on host and thenwe can't communicate with a network shared storage(sheepdog,rbd,..),
the vdisk_list die (timeout) and we cannot migrate the vm on another kvm host.(online or offline).
We don't need to scan shared storage, as they are no disk to sync.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-07-16 06:52:35 +02:00
Dietmar Maurer
a05b47a8a8
migrate: fix warning about uninitialized values
...
And display acurate byte values instead of KB
2012-07-13 12:37:19 +02:00
Alexandre Derumier
5a7835f572
convert migrate monitor commands to qmp
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-06-26 06:38:34 +02:00
Dietmar Maurer
1858638fe3
replace change_config_nolock with update_config_nolock
...
We now use cfs_file_write() in order to avoid race conditions between
file IO and cfs operations (read after write works now).
2012-02-02 14:18:41 +01:00
Dietmar Maurer
97439670bc
online migration fix: close tunnel later, wait for connection close
2012-01-17 11:25:44 +01:00
Dietmar Maurer
17eed025b3
use PVE::Tools::run_with_timeout
2011-12-15 11:29:01 +01:00
Dietmar Maurer
d68afb26bf
improve error message
2011-12-08 10:07:19 +01:00
Dietmar Maurer
72afda82a1
fix migration tunnel
2011-12-08 09:32:09 +01:00
Dietmar Maurer
46a84fd400
replace logmsg() with $self->log()
2011-12-07 11:25:20 +01:00
Dietmar Maurer
16e903f2dc
use new AbstractMigrate.pm
2011-12-07 06:36:20 +01:00
Dietmar Maurer
4bb5a31707
cleanup error messages
2011-11-29 12:43:34 +01:00
Dietmar Maurer
ff1a2432c8
activate LVM LVs more carefully
...
And remove syslog whenever possible (we run most commands as tasks, so
the output is loged anyways)
2011-11-25 08:08:27 +01:00
Dietmar Maurer
e6c3b671bf
fix online migration
2011-09-15 08:31:17 +02:00
Dietmar Maurer
3ea94c60d2
move code from qmigrate into PVE/QemuMigrate.pm
...
and make migrate a subcommand of qm
2011-09-14 13:33:34 +02:00