RETIRED, Nova Hyper-V Compute Driver
Go to file
Claudiu Belu 32a46037e9 hyperv: Configures chassis asset tags for VMs.
The Msvm_VirtualSystemSettingData object associated with a VM has a
field named "ChassisAssetTag". The value set in this field is reflected
in Linux VMs in /sys/class/dmi/id/chassis-asset-tag. This value is
checked by cloud-init in order to figure out if it is currently running
inside an OpenStack VM.

The verification above has been introduced in cloud-init [1] in order to
avoid costly metadata probes that aren't needed in non-OpenStack VMs.

Setting the ChassisAssetTag will allow us to pass these checks. The
value we are setting is similar to what libvirt is setting in the
LibvirtConfigGuestSysinfo.

[1] 1efa8a0a03

Partially-Fixes: #1895976

Change-Id: Ib9f605f68c79ff41d3959c7a1662a9e644fde946
Depends-On: 33e6c07dab4b46442bf0fbb838d59516112899b9
2020-10-26 13:20:06 +02:00
compute_hyperv hyperv: Configures chassis asset tags for VMs. 2020-10-26 13:20:06 +02:00
doc/source Switch to newer openstackdocstheme and reno versions 2020-06-01 16:21:12 +02: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 Update master for stable/victoria 2020-09-22 14:11:17 +00: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 Update .gitreview after rename 2019-06-05 08:48:27 +02: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 Python3 wallaby unit tests 2020-09-22 14:11:20 +00:00
CONTRIBUTING.rst Ussuri contributor docs community goal 2020-03-27 10:37:13 +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 Add releasenotes link to README 2020-06-10 14:07:06 +08:00
babel.cfg Applies cookiecutter template 2015-03-23 22:21:15 +02:00
lower-constraints.txt hyperv: Configures chassis asset tags for VMs. 2020-10-26 13:20:06 +02:00
openstack-common.conf Applies cookiecutter template 2015-03-23 22:21:15 +02:00
requirements.txt hyperv: Configures chassis asset tags for VMs. 2020-10-26 13:20:06 +02:00
setup.cfg Add py38 package metadata 2020-04-24 08:22:34 -05:00
setup.py Cleanup py27 support 2020-04-13 13:41:13 +02:00
test-requirements.txt Pick up 'unrescue' driver method signature change 2020-08-03 11:57:46 +03:00
tox.ini Remove install unnecessary packages 2020-09-15 02:16:05 +00:00