You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/09/03 13:04:25 UTC
git commit: RHEVM: Allow to force stop locked instance (DTACLOUD-308)
Updated Branches:
refs/heads/master 4e0b2120e -> 9f84f3440
RHEVM: Allow to force stop locked instance (DTACLOUD-308)
* If the instance in RHEV-M is stuck in STOPPING state
(usually after non-graceful shutdown), issuing a :stop
action will force it to 'stop' immediately.
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/9f84f344
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/9f84f344
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/9f84f344
Branch: refs/heads/master
Commit: 9f84f34407b6383286e8b66380a6f437e734f450
Parents: 4e0b212
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Aug 28 16:20:49 2012 +0200
Committer: Michal fojtik <mf...@redhat.com>
Committed: Mon Sep 3 13:04:58 2012 +0200
----------------------------------------------------------------------
.../lib/deltacloud/drivers/rhevm/rhevm_driver.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/9f84f344/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
index c60f923..6dc633a 100644
--- a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
+++ b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
@@ -55,6 +55,7 @@ class RhevmDriver < Deltacloud::BaseDriver
pending.to( :stopped ) .automatically
stopped.to( :running ) .on( :start )
running.to( :stopping ) .on( :stop )
+ stopping.to( :stopped ) .on( :stop )
stopped.to( :finish ) .on( :destroy )
end