Displaying 3 results from an estimated 3 matches for "was_disconnect".
Did you mean:
was_disconnected
2009 May 29
1
[PATCH server] Also print reconnect message in log.
...1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 71432d2..1b4d83b 100755
--- a/src/task-omatic/taskomatic.rb
+++ b/src/task-omatic/taskomatic.rb
@@ -842,14 +842,19 @@ class TaskOmatic
end
def mainloop()
+ was_disconnected = false
loop do
if not @broker.connected?
- @logger.error("Cannot implement tasks, not connected to broker. Sleeping.")
+ @logger.info("Cannot implement tasks, not connected to broker. Sleeping.")
sleep(@sleeptime * 3)
+ was_discon...
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
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...9;,
'storagePool' => libvirt_pool.remote_pool.object_id,
'key' => db_volume.key)
@logger.error "Unable to find volume to delete" unless volume
@@ -861,7 +866,7 @@ class TaskOmatic
was_disconnected = false
loop do
- if not @broker.connected?
+ if not @connection.connected?
@logger.info("Cannot implement tasks, not connected to broker. Sleeping.")
sleep(@sleeptime * 3)
was_disconnected = true
@@ -870,7 +875,7 @@ class TaskOmatic...