Displaying 20 results from an estimated 400 matches similar to: "[PATCH] Extend timeouts on libvirt calls."
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
This patch adds more debug calling in storage related tasks.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/task_storage.rb | 29 ++++++++++++++++++-----------
src/task-omatic/taskomatic.rb | 18 +++++++++---------
2 files changed, 27 insertions(+), 20 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb
index
2009 May 28
0
[PATCH server] Use fixed mount points and add timeouts to various calls.
This patch uses fixed mount points necessary for migration to work
properly. Mount points are unique for each storage type.
This also uses the new :timeout keyword argument for various operations
that could take a while. This should fix the 'seq' timeout problem
we've been seeing. This requires the latest ruby-qpid which is now
in the ovirt repo.
Signed-off-by: Ian Main <imain
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
This patch uses the qpid migration call which requires the latest
libvirt-qpid and libvirt. I also add a bunch of debug logging here
which is switchable but I've left it on for now so all users will
have this in their logs.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/taskomatic.rb | 36 ++++++++++++++++++++++++++++--------
1 files changed, 28 insertions(+), 8
2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
---
src/task-omatic/task_storage.rb | 50 +++++++++++++++++++++++++++++++++++++++
src/task-omatic/utils.rb | 40 +++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb
index 77363ac..97ae4fc 100644
--- a/src/task-omatic/task_storage.rb
+++ b/src/task-omatic/task_storage.rb
@@
2009 Jul 31
0
[TAKE-2][PATCH 1/5] Add glusterfs to task-omatic API for task_storage
---
src/task-omatic/task_storage.rb | 50 +++++++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb
index 8165818..77b0166 100644
--- a/src/task-omatic/task_storage.rb
+++ b/src/task-omatic/task_storage.rb
@@ -202,6 +202,8 @@ class LibvirtPool
return
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
This patch updates dbomatic, taskomatic and host-register to use the
new C++ wrapped ruby QMF bindings. It also fixes a couple of bugs
along the way including the 0 cpu bug for host-register. This is a
compilation of work done by myself and Arjun Roy.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/db-omatic/db_omatic.rb | 111 ++++++-------
2010 Aug 18
1
[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"
2010 Feb 16
1
[PATCH] Increase timeout for live migration
Live migration is an operation which can takes times, like 2 or 3 minutes for heavy vms. Fixing this timeout work around another bug of db-o-matic: the infinite loop where node A has a defined & stopped vm X and node B has a defined & running vm X. I encountered this bug because the live migration has hit the timeout limit.
Signed-off-by: Loiseleur Michel <mloiseleur at
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
Somehow I missed this.. this file is no longer in use by taskomatic.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/utils.rb | 221 ----------------------------------------------
1 files changed, 0 insertions(+), 221 deletions(-)
delete mode 100644 src/task-omatic/utils.rb
diff --git a/src/task-omatic/utils.rb b/src/task-omatic/utils.rb
deleted file mode 100644
index
2009 May 31
2
Storage problem latest build
I just build the latest ovirt from git and have a problem with storage now.
Creating the storage pool works but when i try to add a volume i get
"Pending_setup" and then in tasks "wrong number of arguments (1 for 2)".
taskomatic log shows :
ERROR Sun May 31 10:30:37 +0200 2009 (28807) Task action processing failed:
ArgumentError: wrong number of arguments (1 for 2)
ERROR Sun
2009 Sep 30
2
Few questions about oVirt install.
Hi.
I have successfully installed ovirt.
Boot 2 nodex throught PXE boot, and added to pool.
Whe i try to create NFS storage, they in state: pending setup.
How to add NFS storage?
taskomatic.log
INFO Wed Sep 30 16:59:09 +0300 2009 (1991) starting task_refresh_pool
INFO Wed Sep 30 16:59:09 +0300 2009 (1991) storage_find_suitable_host:
host node3.ovirt.priv uuid 30303234-3144-3832-4638-3931FF
2009 Jul 13
1
[PATCH] Use volume key instead of path to identify volume.
This patch teaches taskomatic to use the volume 'key' instead of the
path from libvirt to key the volume off of in the database. This fixes
the duplicate iscsi volume bug we were seeing. The issue was that
libvirt changed the way they name storage volumes and included a local
ID that changed each time it was attached.
Note that the first run with this new patch will cause duplicate
2010 Sep 30
1
libvirt-qpid and live migration
I have troubles with live migration since I upgraded libvirt on my nodes
1) I have to change 'Libvirt::Domain::MIGRATE_LIVE' to '1' in taskomatic
error :
Error: uninitialized constant Libvirt::Domain::MIGRATE_LIVE
and why '1' : http://libvirt.org/html/libvirt-libvirt.html
2) the migration fails with this error :
Task action processing failed: RuntimeError: Timed out
2010 Aug 30
1
taskomatic.rb : set_vm_vnc_port
Hi,
Does somebody know what is the purpose of this line in taskomatic.rb :
set_vm_vnc_port(db_vm, result.description) unless result.status != 0
We removed it to avoid 2 errors in taskomatic.log when a vm is launched :
ERROR Mon Aug 30 15:23:00 +0000 2010 (26416) Task action processing failed:
ActiveRecord::RecordInvalid: Validation failed: Vnc port must be greater than
or equal to 0
ERROR
2009 May 29
1
[PATCH server] Don't set VM state to shut down in task.
This patch changes taskomatic so it only sets the VM to shutdown if
the undefine succeeds. Otherwise it's possible a shutdown event could
not succeed, or take a while as it often does, giving confusing
messages to the user. Basically we're just letting dbomatic handle
it now.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/taskomatic.rb | 1 -
1 files
2009 May 29
1
[PATCH server] Also print reconnect message in log.
It seems people were getting confused by the message that taskomatic was
disconnected and not logging a reconnect message. This patch makes it
log on reconnect as well.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/taskomatic.rb | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
2010 Sep 21
1
[PATCH] Check cpus capacity, not real cores.
Hi, is there a good reason why taskomatic check the number of real cores in the find_capable_host ? It prevents to use the full capacity of multithreading
Signed-off-by: Arthur Clement <aclement at linagora.com>
---
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
2010 Feb 25
1
[PATCH] fix storage problem.
Since Ruby::Qmf moves, the .key() method does not work anymore. It forces to use a .get_attr('key') in order to get the good value.
Signed-off-by: Loiseleur Michel <mloiseleur at linagora.com>
---
src/task-omatic/taskomatic.rb | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index
2009 May 29
1
[PATCH server] Make taskomatic not do tasks if not connected to qpidd.
This patch just checks the broker to see if it's connected before
attempting to implement tasks.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/taskomatic.rb | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 5393c29..71432d2 100755
--- a/src/task-omatic/taskomatic.rb
+++
2009 Sep 30
1
Problems with creating VM
Hi.
I try to create VM in oVirt interface.
New VM failed to start
In oVirt interface Tasks log:
Error creating virtual machine: Error: Error creating new domain
(virDomainCreate). Subsystem qemu: internal error unable to start guest:
bind(unix:/var/lib/libvirt/qemu/test.monitor): Permission denied qemu:
could not open monitor device 'unix:/var/lib/libvirt/qemu/