nova/nova
Matt Riedemann a57b990c6b Address old TODO in claim_resources_on_destination
The TODO at the end of the method was based on some old
nova-compute behavior which was removed with change
I39d93dbf8552605e34b9f146e3613e6af62a1774 in Rocky.

Instead of logging a warning, ConsumerAllocationRetrievalFailed
is now raised since without the instance consumer allocations
on the source node during a forced evacuate we cannot proceed
with making those allocations on the destination host.

The method is refactored a bit for clarity while in here and
to drop the big nesting.

Remember that this method is *only* called in the case of a
live migration or evacuate operation with a forced target host
and evacuate is the only case where source_allocations are not
provided.

Change-Id: I988d1bd4d7eb1a01d443e3d93964bd09afcc4929
2019-03-19 18:32:26 -04:00
..
api doc: mark the max microversion for stein 2019-03-08 09:25:29 +09:00
cells Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
cmd Pass kwargs to exception to get better format of error message 2019-03-15 10:42:18 +08:00
common
compute Merge "Add functional test to delete a server while in VERIFY_RESIZE" 2019-03-15 04:13:23 +00:00
conductor Cleanup comments around claim_resources method 2019-03-19 09:46:25 -04:00
conf Trivialfix for help description of images_type 2019-03-13 10:27:06 +08:00
console Use X-Forwarded-Proto as origin protocol if present 2019-01-16 00:28:53 +00:00
consoleauth Fix stacktraces with redis caching backend 2018-09-27 13:15:11 -04:00
db Pass kwargs to exception to get better format of error message 2019-03-15 10:42:18 +08:00
hacking Add a hacking rule for deprecated assertion methods 2018-10-25 11:49:10 +09:00
image Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
ipv6
keymgr
locale Imported Translations from Zanata 2018-09-23 06:53:32 +00:00
network Merge "Allow per-port modification of vnic_type and profile" 2019-03-10 15:06:30 +00:00
notifications The field instance_name was added to InstanceCreatePayload 2019-01-15 15:27:07 +00:00
objects Add online data migration for populating user_id 2019-03-08 19:01:41 -05:00
pci Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
policies Merge "Remove deprecated 'flavors' policy" 2019-02-23 06:13:00 +00:00
privsep Merge "qemu: Make disk image conversion dramatically faster" 2019-03-19 00:14:47 +00:00
scheduler Address old TODO in claim_resources_on_destination 2019-03-19 18:32:26 -04:00
servicegroup Fix deprecation warning for threadgroup.add_timer 2019-02-07 09:37:00 -05:00
tests Address old TODO in claim_resources_on_destination 2019-03-19 18:32:26 -04:00
virt Avoid crashing while getting libvirt capabilities with unknown arch names 2019-03-14 14:14:31 -07:00
vnc Deprecate the nova-xvpvncproxy service 2018-10-15 10:03:13 +01:00
volume Merge "Avoid BadRequest error log on volume attachment" 2019-02-27 05:13:20 +00:00
__init__.py
availability_zones.py
baserpc.py
block_device.py Add method to generate device names universally 2019-01-15 18:55:11 +00:00
cache_utils.py
config.py Configure placement DB context manager for nova-manage/status 2018-09-05 10:29:48 -04:00
context.py Remove NovaException logging from scatter_gather_cells 2018-11-21 12:43:35 -05:00
crypto.py
debugger.py
exception.py Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py Fix string interpolations in logging calls 2019-01-29 15:06:39 +09:00
profiler.py
quota.py Merge "quota: remove defaults kwarg in get_project_quotas" 2019-02-26 13:26:24 +00:00
rc_fields.py Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00
rpc.py Fix jsonutils.to_primitive UserWarning 2018-12-17 22:56:50 -05:00
safe_utils.py
service.py Move conductor wait_until_ready() delay before manager init 2018-08-31 12:50:10 -07:00
service_auth.py
test.py Merge "Use a static resource tracker in compute manager" 2019-02-04 19:53:38 +00:00
utils.py Flavor extra spec and image properties validation from API 2019-03-05 12:05:06 -06:00
version.py
weights.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
wsgi.py