nova/nova
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
..
accelerator smartnic support - reject server move and suspend 2021-08-05 15:58:41 +08:00
api Handle InstanceInvalidState exception 2023-01-23 16:36:26 +05:30
cmd add header alingment for PrettyTable 3.4.0 2022-09-02 13:42:15 +01:00
compute Make resource tracker use UUIDs instead of names 2023-01-30 10:53:44 -08:00
conductor Support cold migrate and resize with PCI tracking in placement 2022-12-21 16:17:34 +01:00
conf Merge "libvirt: At start-up rework compareCPU() usage with a workaround" 2023-01-26 13:48:02 +00:00
console Fix typos 2022-05-30 17:40:00 +05:30
db db: Drop redundant indexes on instances and console_auth_tokens tables 2022-09-15 19:42:39 +02:00
hacking Add a hacking rule for the setDaemon method 2022-11-14 13:04:05 +00:00
image Merge "Close Glance image if downloading failed." 2022-01-17 10:31:21 +00:00
keymgr
limit Unify placement client singleton implementations 2022-08-18 07:22:37 -07:00
locale Imported Translations from Zanata 2022-08-10 03:57:11 +00:00
network Gracefully ERROR in _init_instance if vnic_type changed 2022-09-08 09:19:16 +02:00
notifications libvirt: Add vIOMMU device to guest 2022-09-01 04:50:16 +08:00
objects Make resource tracker use UUIDs instead of names 2023-01-30 10:53:44 -08:00
pci Split ignored_tags in stats.py 2023-01-05 17:40:17 +01:00
policies Make tenant network policy default to PROJECT_READER_OR_ADMIN 2022-11-19 16:09:13 -06:00
privsep Retry lvm volume and volume group query 2021-06-15 12:39:26 +02:00
scheduler Filter PCI pools based on Placement allocation 2022-10-17 13:56:18 +02:00
servicegroup Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
storage Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
tests Make resource tracker use UUIDs instead of names 2023-01-30 10:53:44 -08:00
virt Make resource tracker use UUIDs instead of names 2023-01-30 10:53:44 -08:00
volume Retry attachment delete API call for 504 Gateway Timeout 2022-06-13 17:32:35 +09:00
__init__.py
availability_zones.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
baserpc.py
block_device.py BlockDeviceMapping: Add encryption fields 2022-08-02 21:25:47 +00:00
cache_utils.py
config.py conf: Allow cinderclient and os_brick to independently log at DEBUG 2021-12-03 18:21:16 +00:00
context.py Log the exception returned from a cell during API.get() 2022-05-03 02:03:26 +00:00
crypto.py Replace md5 for fips 2021-02-25 16:01:43 -05:00
debugger.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
exception.py Add virt/node module for stable uuids 2023-01-20 07:22:02 -08:00
exception_wrapper.py rpc: Rework 'get_notifier', 'wrap_exception' 2021-03-01 11:06:48 +00:00
filters.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
i18n.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
loadables.py
manager.py Pass service ref to init_host(), if exists 2023-01-20 07:22:02 -08:00
middleware.py Allow X-OpenStack-Nova-API-Version header in CORS 2021-06-15 07:35:36 -04:00
monkey_patch.py reenable greendns in nova. 2022-03-08 16:16:11 +00:00
policy.py Enable new defaults and scope checks by default 2023-01-10 23:37:13 -06:00
profiler.py
quota.py Unify placement client singleton implementations 2022-08-18 07:22:37 -07:00
rpc.py Use new get_rpc_client API from oslo.messaging 2023-01-17 15:06:41 +01:00
safe_utils.py
service.py Pass service ref to init_host(), if exists 2023-01-20 07:22:02 -08:00
service_auth.py
test.py Add get_available_node_uuids() to virt driver 2023-01-20 07:57:18 -08:00
utils.py Fix eventlet.tpool import 2022-02-22 12:40:15 +01:00
version.py Change API unexpected exception message 2021-02-17 21:30:07 +00:00
weights.py Add debug log for scheduler weight calculation 2021-11-11 19:10:32 +01:00
wsgi.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00