nova/nova/virt
Dan Smith 23c5f3d585 Make resource tracker use UUIDs instead of names
This makes the resource tracker look up and create ComputeNode objects
by uuid instead of nodename. For drivers like ironic that already
provide 'uuid' in the resources dict, we can use that. For those
that do not, we force the uuid to be the locally-persisted node
uuid, and use that to find/create the ComputeNode object.

A (happy) side-effect of this is that if we find a deleted compute
node object that matches that of our hypervisor, we undelete it
instead of re-creating one with a new uuid, which may clash with our
old one. This means we remove some of the special-casing of ironic
rebalance, although the tests for that still largely stay the same.

Change-Id: I6a582a38c302fd1554a49abc38cfeda7c324d911
2023-01-30 10:53:44 -08:00
..
disk Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
hyperv Fix a deprecation warning about threading.Thread 2022-08-21 15:05:11 +09:00
image
ironic Add get_available_node_uuids() to virt driver 2023-01-20 07:57:18 -08:00
libvirt Make resource tracker use UUIDs instead of names 2023-01-30 10:53:44 -08:00
vmwareapi VMware: StableMoRefProxy for moref recovery 2022-04-29 08:14:39 +00:00
zvm Fix typos 2022-05-30 17:40:00 +05:30
__init__.py
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py block_device: Add encryption attributes to image and ephemeral disks 2022-08-02 21:25:48 +00:00
configdrive.py Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
driver.py Add get_available_node_uuids() to virt driver 2023-01-20 07:57:18 -08:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Make resource tracker use UUIDs instead of names 2023-01-30 10:53:44 -08:00
hardware.py Filter PCI pools based on Placement allocation 2022-10-17 13:56:18 +02:00
imagecache.py Include removal of ephemeral backing files in the image cache manager 2020-10-09 12:24:06 +01:00
images.py Check VMDK create-type against an allowed list 2023-01-24 07:01:24 -08:00
interfaces.template Update the file for IPv4-only or IPv6-only network 2019-10-02 16:54:20 +00:00
netutils.py Don't provide MTU value in metadata service if DHCP is enabled 2022-11-29 15:12:24 +00:00
node.py Add virt/node module for stable uuids 2023-01-20 07:22:02 -08:00
osinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Add a way to exit early from a wait_for_instance_event() 2019-12-02 07:00:26 -08:00