RETIRED, Nova Hyper-V Compute Driver
Go to file
Lucian Petrut 9f5628e55b Improve clustered instance failover handling
Instances can bounce between hosts many times in a short interval,
especially if the CSVs go down (as much as 20 times in less than 2
minutes).

We're not handling this properly. The failover handling logic is
prone to race conditions, as multiple hosts may attempt to claim
the instance, which will end up in an inconsistent state.

We're introducing distributed locks, preventing races between hosts.
At the same time, we're validating the events, as the instances can
move again by the time we process the event.

The distributed lock backend will have to be configured.

At the same time, we're now waiting for "pending" cluster groups,
which may not even be registered in Hyper-V, so any action we take
on the VM would fail.

Closes-Bug: #1795299
Closes-Bug: #1796673

Change-Id: I3dbdcf208bb7a96bd516b41e4725a5fcb37280d6
2018-11-14 11:26:09 +02:00
compute_hyperv Improve clustered instance failover handling 2018-11-14 11:26:09 +02:00
doc/source Merge "docs: Update Cinder volume usage section" 2018-02-16 19:08:45 +00:00
etc Add config sample to compute-hyperv docs 2017-11-13 17:51:26 +00:00
nova Fixes eventlet monotonic clock issue 2018-02-14 07:48:40 +00:00
releasenotes Improve clustered instance failover handling 2018-11-14 11:26:09 +02:00
tools Fixes zuul issues 2018-06-04 12:00:33 +00:00
.coveragerc move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
.docs-requirements.txt Prepare for readthedocs 2018-02-07 13:11:16 +02:00
.gitignore Switch to stestr 2018-07-10 10:32:55 +07:00
.gitreview Updates project repo to openstack 2015-10-19 01:11:54 +03:00
.mailmap Applies cookiecutter template 2015-03-23 22:21:15 +02:00
.stestr.conf Switch to stestr 2018-07-10 10:32:55 +07:00
.zuul.yaml add lower-constraints job 2018-08-02 07:31:06 -07:00
CONTRIBUTING.rst Applies cookiecutter template 2015-03-23 22:21:15 +02:00
HACKING.rst Update the doc urls 2017-11-21 10:25:29 +00:00
LICENSE Initial commit 2015-03-02 01:00:32 -08:00
MANIFEST.in Applies cookiecutter template 2015-03-23 22:21:15 +02:00
README.rst Update the doc urls 2017-11-21 10:25:29 +00:00
babel.cfg Applies cookiecutter template 2015-03-23 22:21:15 +02:00
lower-constraints.txt Add distributed lock helpers 2018-10-29 13:55:00 +02:00
openstack-common.conf Applies cookiecutter template 2015-03-23 22:21:15 +02:00
requirements.txt Add distributed lock helpers 2018-10-29 13:55:00 +02:00
setup.cfg Removed older version of python added 3.5 2018-09-29 15:32:33 +08:00
setup.py Updated from global requirements 2017-03-07 13:57:02 +00:00
test-requirements.txt Switch to stestr 2018-07-10 10:32:55 +07:00
tox.ini Don't quote {posargs} in tox.ini 2018-10-09 20:47:15 +00:00

README.rst

compute-hyperv

Hyper-V Nova Driver

Features

  • TODO