RETIRED, Nova Hyper-V Compute Driver
Go to file
Lucian Petrut 8c44c7a960 Ensure instance metrics get collected
The Hyper-V metric collection API has the following limitations:
* some metrics get disabled when the instance is rebooted (network,
cpu and memory)
* network metrics cannot be enabled while the vm is stopped
* metrics cannot be collected for passthrough disks
* some times, the metric counters are reset when the vms are rebooted.
We can't do much about this Hyper-V bug, which is unfortunately
affecting the reliability of the collected data.

At the same time, OVS ports and Cinder volumes aren't handled at all.

To overcome those issues, this patch brings the following changes:
* re-enable vm metrics each time the vms boot
* enable vm metrics after live migrations
* enable metrics metrics when binding OVS ports (networking-hyperv
  will handle 'hyperv' ports)
* enable disk metrics when attaching SMB Cinder volumes, logging a
  warning for passthrough disks

Closes-Bug: #1794456
Depends-On: Ibe7409b392b91204f0cea2bdd32c86ec03d06b67
Depends-On: Iaba32ca94b2c09661f150fa4b12b2c7eb83ff6d9

Change-Id: I94f2be20b02531d3ceabdef4272207e37ef34930
2018-10-31 18:12:09 +02:00
compute_hyperv Ensure instance metrics get collected 2018-10-31 18:12: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 Add release notes 2018-02-16 16:12:20 +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 lower-constraints job 2018-08-02 07:31:06 -07:00
openstack-common.conf Applies cookiecutter template 2015-03-23 22:21:15 +02:00
requirements.txt uncap eventlet 2018-04-11 11:50:10 -04:00
setup.cfg Add oslo.config entry point 2017-11-10 19:28:15 +02: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 Merge "fix tox python3 overrides" 2018-08-06 10:26:04 +00:00

README.rst

compute-hyperv

Hyper-V Nova Driver

Features

  • TODO