nova/nova
Balazs Gibizer ad33ae5771 use already loaded BDM in instance.create
In I18e7483ec9a484a660e1d306fdc0986e1d5f952b BDM was added to the instance
notifications. In general to add BDM to the payload an exta DB query is
needed. However the BDM is already locaded before the
notify_about_instance_create is called to send the notification. In this cases
loading the BDM again is unnecessary as the already loaded BDM can be reused.

This patch makes sure that notify_about_instance_create is called with the
already loaded BDM.

The remaining instance related versioned notification calls does not have
BDM already loaded.

Change-Id: Ic25de45c18348206f0309da6d4997f4bf336acb2
Closes-Bug: #1718226
2017-10-09 17:57:52 +02:00
..
CA
api Merge "Remove 400 as expected error" 2017-10-07 09:14:27 +00:00
cells Merge "Handle uuids in os-hypervisors API" 2017-07-20 01:03:27 +00:00
cmd Merge "Fix --max-count handling for nova-manage cell_v2 map_instances" 2017-09-27 22:59:01 +00:00
common
compute use already loaded BDM in instance.create 2017-10-09 17:57:52 +02:00
conductor Set migration object attributes for source/dest during live migrate 2017-09-30 12:07:05 -04:00
conf Deprecate idle_timeout in api_database 2017-09-25 15:22:21 +00:00
console Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db Fix instance_get_by_sort_filters() for multiple sort keys 2017-10-07 07:45:40 -07:00
hacking Amend uuid4 hacking rule 2017-09-04 17:34:46 +00:00
image Merge "Glance download: only fsync files" 2017-09-06 16:36:02 +00:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2017-08-10 11:34:33 +00:00
network Add datapath type information to OVS vif objects 2017-09-22 14:49:47 +00:00
notifications use already loaded BDM in instance.create 2017-10-09 17:57:52 +02:00
objects Merge "Add hints to what the Migration attribute values are" 2017-10-07 04:22:42 +00:00
pci [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
policies Put base policy rules at first 2017-09-05 16:53:44 +08:00
privsep Read from console ptys using privsep. 2017-09-28 07:30:00 +10:00
scheduler Merge "Update RT aggregate map less frequently" 2017-10-05 18:13:35 +00:00
servicegroup iso8601.is8601.Utc No Longer Exists 2017-08-29 19:26:55 -04:00
tests use already loaded BDM in instance.create 2017-10-09 17:57:52 +02:00
virt Merge "Don't shell out to mkdir, use ensure_tree()" 2017-10-05 18:14:10 +00:00
vnc
volume Add attachment_get call to volume/cinder_api 2017-09-22 19:41:27 -04:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py
cache_utils.py
config.py
context.py Remove unneeded attributes from context 2017-08-29 08:48:33 +10:00
crypto.py
debugger.py
exception.py [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
exception_wrapper.py rename binary to source in versioned notifications 2017-07-25 17:36:04 +02:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py Add policy granularity to the Flavors API 2017-07-19 15:56:47 -04:00
profiler.py
quota.py Merge "Enhancement comments on CountableResource" 2017-08-15 20:32:19 +00:00
rpc.py Merge "Add live.migration.force.complete to the legacy notification whitelist" 2017-09-25 15:05:55 +00:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Enhance doc for nova services 2017-08-31 08:30:48 +08:00
service_auth.py
test.py Support qemu >= 2.10 2017-09-27 16:45:37 -04:00
utils.py Move the dac_admin privsep code to a new location. 2017-09-18 23:14:11 +10:00
version.py
weights.py
wsgi.py