nova/nova
Balazs Gibizer a98fb711b5 Use Selection object to fill request group mapping
To fill the request group - resource provider mapping nova needs to look
at the allocation that is made in placement as well as the traits of
the used providers. So far these were explicit placement calls. However
it turns out that the Selection object already contains the allocation
data so one of the extra placement calls can be removed.

This patch replaces the GET /allocations/<uuid> placement call from
conductor build instance codepath with the usage of the
Selection.allocation_request json blob.

Closes-Bug: #1819430

Change-Id: Iecbee518444bd282ce5f6fd019db41a322f76a83
(cherry picked from commit 1a89c1d73b)
2019-03-26 10:47:54 +01:00
..
api Fix links to neutron QoS minimum bandwidth doc 2019-03-21 11:47:19 +01: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 Remove unnecessary default provider_tree when getting traits 2019-03-18 20:16:00 +00:00
conductor Use Selection object to fill request group mapping 2019-03-26 10:47:54 +01: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 Move slight bonkers IP management to privsep. 2019-03-17 23:19:08 +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 "Move slight bonkers IP management to privsep." 2019-03-20 13:21:29 +00:00
scheduler Merge "Warn if group_policy is missing from flavor" 2019-03-06 18:46:00 +00:00
servicegroup Fix deprecation warning for threadgroup.add_timer 2019-02-07 09:37:00 -05:00
tests Use Selection object to fill request group mapping 2019-03-26 10:47:54 +01:00
virt Move libvirt calculation of machine type to utils.py 2019-03-19 22:28:33 +00: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 Use assertXmlEqual() helper for all XML comparison tests 2019-03-08 11:40:41 +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