[Ovirt-devel] [PATCH server] Don't set VM state to shut down in task.
Ian Main
imain at redhat.com
Fri May 29 18:43:12 UTC 2009
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 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_pools(node)
end
return
--
1.6.0.6
More information about the ovirt-devel
mailing list