search for: 5393c29

Displaying 2 results from an estimated 2 matches for "5393c29".

Did you mean: 139329
2009 May 29
1
[PATCH server] Don't set VM state to shut down in task.
...er. 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 changed, 0 insertions(+), 1 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 11d13cb..5393c29 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -286,7 +286,6 @@ class TaskOmatic result = vm.undefine if result.status == 0 @logger.info "Deleted VM #{db_vm.description}." - set_vm_shut_down(db_vm) teardown_storage_...
2009 May 29
1
[PATCH server] Make taskomatic not do tasks if not connected to qpidd.
...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 +++ b/src/task-omatic/taskomatic.rb @@ -843,6 +843,13 @@ class TaskOmatic def mainloop() loop do + + if not @broker.connected? + @logger.error("Cannot implement tasks, not connected to broker. Sleeping.") +...