1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-06 13:17:42 +03:00
one/share
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 676f36e0aa)
2016-03-03 23:59:53 +01:00
..
doc improve rescue of VM when node fail is detected 2016-03-03 23:59:53 +01:00
etc feature #4097: Use glibc to log thourgh syslog, removes log4cpp 2016-03-02 17:08:06 +01:00
examples Feature #2691: Remove oZones code 2014-01-29 15:56:20 +01:00
hooks Fix copyright in banners 2015-09-23 16:51:10 +02:00
install_gems Bug #4095: Add patch as dependency to nokogiri in install_gems 2015-10-26 17:00:03 +01:00
man Merge branch 'feature-4215' into feature-4217 2016-02-02 14:17:20 +01:00
onegate Bump version to 4.14.1 2015-10-05 17:04:53 +02:00
pkgs Fixed restart-sched in opennebula init script 2016-02-23 11:08:59 +01:00
router Fix copyright in banners 2015-09-23 16:51:10 +02:00
rubygems Bump version to 4.14.1 2015-10-05 17:04:53 +02:00
scons Fix copyright in banners 2015-09-23 16:51:10 +02:00
scripts Fix copyright in banners 2015-09-23 16:51:10 +02:00
sudoers Feature #3987: update sudoers 2015-11-02 15:47:42 +01:00
vendor/ruby/gems/rbvmomi feature #1977: Remove unneeded gem files 2013-05-20 17:52:16 +02:00
websockify feature #2988: update websocketproxy to latest version 2014-06-18 12:37:25 +02:00