Simon COURTOIS
2010-Aug-18 13:21 UTC
[Ovirt-devel] [PATCH] Setting the migration timeout to 3 minutes
--- src/task-omatic/taskomatic.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 7de725d..0314e6a 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -548,7 +548,7 @@ class TaskOmatic dest_uri = "qemu+tcp://" + dest_node.hostname + "/system" @logger.debug("Migrating from #{src_uri} to #{dest_uri}") - result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 50) + result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 300) @logger.error "Error migrating VM: #{result.text}" unless result.status == 0 # undefine can fail, for instance, if we live migrated from A -> B, and -- 1.7.2.1
Arthur Clément
2010-Aug-18 13:31 UTC
[Ovirt-devel] [PATCH] Setting the migration timeout to 3 minutes
ACK and Pushed On mercredi 18 ao?t 2010 15:21:27 Simon COURTOIS wrote:> --- > src/task-omatic/taskomatic.rb | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb > index 7de725d..0314e6a 100755 > --- a/src/task-omatic/taskomatic.rb > +++ b/src/task-omatic/taskomatic.rb > @@ -548,7 +548,7 @@ class TaskOmatic > dest_uri = "qemu+tcp://" + dest_node.hostname + "/system" > @logger.debug("Migrating from #{src_uri} to #{dest_uri}") > > - result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', > 0, :timeout => 60 * 50) + result = vm.migrate(dest_uri, > Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 300) > @logger.error "Error migrating VM: #{result.text}" unless result.status => 0 > > # undefine can fail, for instance, if we live migrated from A -> B, > and-- Arthur CLEMENT Linagora Paris