Nova Hyper-V driver is not tested in OpenStack upstream and no maintianers.
This driver has been marked as deprecated in Antelope release. It has dependency
on the OpenStack Winstacker project which has been retired[1].
As discussed in vPTG[2], removing the HyperV driver, tests, and its config.
[1] https://review.opendev.org/c/openstack/governance/+/886880
[2] https://etherpad.opendev.org/p/nova-caracal-ptg#L301
Change-Id: I568c79bae9b9736a20c367096d748c730ed59f0e
The other block_device_info_get_* methods return DriverBlockDevice
objects, but this method returns the root_device_name. We rename it in
preparation for a subsequent patch which adds a method returning a
DriverBlockDevice object for the root disk.
Change-Id: Ic2de01e62c5ed35c05f09ce2c74fd258f06a4109
The patch that introduced setting boot order to the nova
Hyper-V driver [1] was using a method that no longer existed
(Generation 2 VMs only). That method was renamed by the patch
that refactored volumeops (to use os-brick) [2].
[1] d68c04299a
[2] 758a32f7ce
Change-Id: I499f078de16b79acbf12f993e9f549c75c3fccb0
Closes-Bug: #1687570
If a volume that was tagged with a device role tag is detached, this
patch deletes its metadata from the instance's device_metadata.
Change-Id: I94ffe4488173f40b31dd15832e5ed3f403b59e1f
Implements: blueprint virt-device-tagged-attach-detach
Although the Hyper-V driver is used with VHDX images most of the
time, it rejects Glance images marked as VHDX.
Note that for legacy reasons, people usually just mark them as vhd
at he moment, which is misleading and unsafe.
This change ensures that such images are handled properly.
Closes-Bug: #1693470
Change-Id: I1441304bd5a83b04877c1662e6e9d463ba629ed0
This patch adds support for setting boot order for Hyper-V instances.
Unit tests were updated accordingly.
Partially implements: blueprint hyper-v-set-boot-order
Change-Id: I8516ba5f27146ea773eb59a82e0f2d246c742446
Modified vmops methods to make use of the new block device format.
This new format allows for more flexibility when using block device,
such as the ability to select the bus for the attachment and the boot
index.
Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
Partially implements: blueprint hyper-v-block-device-mapping-support
Change-Id: Ib6ff12b2710143798c1c29376edd9c1364d451b9
This patch adds a block device manager to help with validation
of the data sent by the new block device format. Validation
includes checks for correct disk bus depending on the requested
instance generation, disk type. It also checks for the available
number of disk slots for each bus vs. the number of requested
bdms on each bus type.
Partially implements: blueprint hyper-v-block-device-mapping-support
Change-Id: Ia158e168561e3259083399139e6eac58c0e62757