Carlos Martín
37e16b98b7
Update VM states diagram
2016-05-26 18:42:44 +02:00
Carlos Martín
23fb6fa4ec
Update states-simple.dot
2016-05-25 12:14:52 +02:00
Carlos Martín
af20cee446
Add locked-used state to image state diagrams
2016-05-11 17:22:42 +02:00
Anton Todorov
f9375eccab
improve rescue of VM when node fail is detected
...
* Introduce new LCM states PROLOG_MIGRATE_UNKNOWN and PROLOG_MIGRATE_UNKNOWN_FAILURE
* Change VM migrate logic for when state is ACTIVE and lcm_state is UNKNOWN to
call TM's PROLOG_MIGR action before VMM's BOOT
All core TM drivers that are not empty are skipping disks so there is no impact on
the default behaviour
The datastore addon drivers that implement access to raw block devices should check
if the LCM_STATE == 60 (PROLOG_MIGRATE_UNKNOWN) and to remove block device access
from the failed node and provide access to the current node.
There is a simple script function added to get LCM_STATE that can be used as follow
```bash
LCM_STATE=$(lcm_state)
if [ "$LCM_STATE" = "60" ]
fi
```
(cherry picked from commit 676f36e0aa4f6ca705f60b826fd52d69888d7bb9)
2016-03-03 23:59:53 +01:00
Carlos Martín
3c3050b10c
Feature #3782 : Add disk-snapshot commands to states-complete.dot
2015-07-07 18:46:06 +02:00
Ruben S. Montero
5c0cd43d42
feature #3654 : Update states diagram
2015-04-28 11:51:26 +02:00
Ruben S. Montero
a03e3054e5
feature #3654 : Add BOOT_UNDEPLOY_FAILURE and BOOT_STOPPED_FAILURE. Get rid of map<string, string> empty declarations.
2015-04-28 11:44:56 +02:00
Carlos Martín
f919242634
Feature #3654 : Remove boot action from oca, cli & sunstone
2015-04-27 16:38:05 +02:00
Ruben S. Montero
41782d01e5
feature #3654 : Retry PROLOGs, EPILOGs, SHUTDOWNs and BOOTs through recover. Remove restart action from oned, removed shutdown retries through shutdown
...
feature #3214 : Redo saveas check.
Revert "Feature #3654 : Allow to run a shutdown again from shutdown state". This reverts 36afa9c864
Revert "Feature #3654 : Allow to run a poweroff/undeploy again from shutdown_poweroff/undeploy". This reverts 9be8b151bcd
2015-04-26 22:54:15 +02:00
Carlos Martín
36afa9c864
Feature #3654 : Allow to run a shutdown again from shutdown state
2015-04-24 15:33:35 +02:00
Carlos Martín
ae7fab2ff8
Feature #3654 : Merge the cancel and shutdown states
2015-04-24 15:25:47 +02:00
Carlos Martín
9be8b151bc
Feature #3654 : Allow to run a poweroff/undeploy again from shutdown_poweroff/undeploy
2015-04-24 12:46:58 +02:00
Carlos Martín
7f13981543
Feature #3654 : Allow graceful shutdown from suspended and poweroff
...
(cherry picked from commit 004c2cb1411c4bf99fe16db5cfa312d28e603807)
2015-04-23 14:25:34 +02:00
Carlos Martín
df40f760a8
Feature #3654 : Transition from poweroff to undeployed
...
(cherry picked from commit b69a0e649f24df69eb7e3ff394b5db889fb45277)
(cherry picked from commit df6d271a9b6e40c69c45fff9e4bf4c11c7590f64)
2015-04-23 13:20:08 +02:00
Carlos Martín
2f3511300f
Feature #3654 : Transition from suspended to stopped
...
(cherry picked from commit 9f56a2445748d7b07592b551f42ef06d1b81dcde)
(cherry picked from commit 0d157414579ef0e79b9613f5f1ce17d91a868874)
2015-04-23 13:11:55 +02:00
Carlos Martín
099ab8573e
Feature #3214 : Add action to cancel deferred disk snapshots
...
(cherry picked from commit 2ea26af01e1156594c70bfadf7f05ed67c4a190f)
2015-04-23 12:33:27 +02:00
Carlos Martín
f46afca372
Feature #3654 : Transitions to migrate suspended VMs
...
(cherry picked from commit ee7bccf48a6852117091ae3051d219cd93addd3d)
2015-04-23 10:46:07 +02:00
Carlos Martín
6d3e9f4fcf
Feature #3654 : Transitions to migrate VMs in poweroff
...
(cherry picked from commit 783775471eae90759b9ca74431415551b2b83495)
(cherry picked from commit 07015c349ffe6ca2d6d0afa08c2f4091f7b23513)
2015-04-22 19:41:24 +02:00
Carlos Martín
33d23af546
Feature #3654 #2095 : Add misssing transitions
...
(cherry picked from commit e2f0b681007cd821198495b113b6044eff0fae3e)
2015-04-14 22:31:10 +02:00
Carlos Martín
f8c728639c
Feature #3654 : Transitions to recover a failed epilog
...
(cherry picked from commit 75a275d0115390dd2cc2dab4dbb8d83bd3c3d32d)
2015-04-14 16:20:37 +02:00
Ruben S. Montero
25d6c2a7f0
feature #3564 : Recover PROLOG FAILED with retry
2015-04-14 15:36:33 +02:00
Carlos Martín
c9cecaeca1
Feature #3654 : Transitions to recover a failed prolog
...
(cherry picked from commit 00aec5067ce3961e5e3a2e42ed69314d4735e26e)
2015-04-14 14:10:37 +02:00
Ruben S. Montero
dd3edff65b
feature #3654 : Recover through retry
2015-04-12 21:20:28 +02:00
Ruben S. Montero
83f0805430
feature #3654 : Recover PROLOG_MIGRATE_FAILURE with retries and recover (boot) action
2015-04-09 16:05:39 +02:00
Carlos Martín
a7394113e1
Feature #3654 : Transitions to recover a failed prolog migrate
...
(cherry picked from commit a14a143b6a05c78f29099aa8958ac5cbb5511e83)
2015-04-09 12:54:25 +02:00
Carlos Martín
d683fbcdfb
Feature #3654 : Fix after merge
2015-03-23 16:16:17 +01:00
Carlos Martín
8e8eed4c0d
Merge remote-tracking branch 'origin/master' into feature-3654
...
Conflicts:
include/VirtualMachine.h
share/doc/xsd/acct.xsd
share/doc/xsd/vm.xsd
src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java
src/oca/ruby/opennebula/virtual_machine.rb
src/sunstone/public/js/opennebula.js
src/sunstone/public/js/plugins/vms-tab.js
2015-03-23 12:08:36 +01:00
Carlos Martín
5f689eb296
Feature #3654 : Transtions to recover failed VM boot in oca & sunstone
2015-03-20 18:05:23 +01:00
Carlos Martín
518cb268c6
Feature #2065 : Add new states and actions to oca and sunstone
2015-03-18 17:32:33 +01:00
Carlos Martín
6d447c0831
Feature #2135 : Update vm state diagrams
2013-10-02 11:51:46 +02:00
Carlos Martín
ddd2ec6e28
Feature #2027 : Move files to new tree structure
2013-07-09 14:53:54 +02:00
Carlos Martín
0725f3308e
Rename onevm destroy to onevm delete
2013-04-11 16:39:55 +02:00
Carlos Martín
98c8f9fb6c
Feature #1839 : Document new state BOOT_UNDEPLOY
2013-04-04 18:01:49 +02:00
Carlos Martín
e53d97a5ad
Feature #1797 : The action to wake up a poweroff VM is now 'resume'
2013-04-04 16:07:10 +02:00
Carlos Martín
dbd1aabe8c
Feature #1797 : Update states-complete.dot
2013-04-01 17:15:27 +02:00
Carlos Martín
b37396fad4
Feature #1797 : Update states-simple.dot
...
(cherry picked from commit 3371302024e66dc63da82942787a37c96f756b75)
2013-04-01 16:10:39 +02:00
Carlos Martín
8da8c473da
Small updates to doc files
2012-10-22 14:50:49 +02:00
Carlos Martín
cdf2981cd7
VM states diagram: add transitions lost in merge commit:ea98ae0
2012-10-19 11:45:21 +02:00
Ruben S. Montero
ea98ae0bc8
Merge branch 'bug-1210'
...
Conflicts:
share/doc/states/states-complete.dot
2012-10-18 23:40:01 +02:00
Carlos Martín
5dd89ce9ae
Update VM states diagram. Includes states from branch 1210
2012-10-18 18:21:59 +02:00
Carlos Martín
41d78ded1f
Bug #1210 : On prolog failure, add the transition PROLOG_RESUME -> STOPPED
2012-10-17 16:58:20 +02:00
Carlos Martín
c05870367d
Bug #1210 : Add BOOT_STOPPED state to xsd and dot documentation files
2012-10-17 15:46:57 +02:00
Carlos Martín
2f5f581314
Bug #1210 : Add BOOT_SUSPENDED state to xsd and dot documentation files
2012-10-17 12:53:22 +02:00
Carlos Martín
825b576cb9
Bug #1557 : Add BOOT_POWEROFF state to xsd and dot documentation files
2012-10-16 15:52:07 +02:00
Carlos Martín
a363381aab
Bug #1557 : Add BOOT_UNKNOWN state to xsd and dot documentation files
2012-10-16 14:56:06 +02:00
Carlos Martín
0a30d4c364
Feature #1404 : Add new VM states to .dot diagram files
2012-09-04 18:51:08 +02:00
Carlos Martín
271fe19d33
Add Image state diagrams .dot files
2012-07-10 14:38:02 +02:00
Carlos Martín
e333f58bde
Update VM state diagrams
...
(cherry picked from commit aab607da3578d451a140545b19fef40940b16402)
2012-06-25 15:56:24 +02:00
Carlos Martín
524eff7897
Add reboot action to states documentation
2012-01-12 18:30:41 +01:00
Carlos Martín
591f761c69
Bug #668 : Change the LCM, the cancel action executes the epilog on success
...
(cherry picked from commit 5b67dd2ebbe65142954c9e260aa9a2386b92384d)
2011-09-12 18:15:36 +02:00