nova/nova/api/metadata
Matt Riedemann 004d5ed1f3 Pre-load instance.device_metadata in InstanceMetadata
Change Ie7d97ce5c62c8fb9da5822590a64210521f8ae7a orphans
the Instance object so that we can pickle it. However,
this means we can't lazy-load any attributes that we need
when building up metadata, like when building the config
drive during server create. We need to pre-load the
device_metadata field so it's available when building
the config drive.

This isn't a problem for the libvirt driver since it
loads device_metadata before building the config drive,
but the hyperv driver doesn't do that, so the change
above breaks hyperv when there are device tags without
this fix.

Change-Id: I08b905d2734ff9d484b373369f36d48c4d056fd8
Closes-Bug: #1702150
2017-07-06 19:10:59 -04:00
..
__init__.py Improve hacking rule to avoid author markers 2014-05-05 14:35:20 +02:00
base.py Pre-load instance.device_metadata in InstanceMetadata 2017-07-06 19:10:59 -04:00
handler.py remove log translation from nova.api.metadata 2017-03-21 07:15:54 -04:00
password.py Fix lookup of instance mapping in metadata set-password 2017-06-08 13:35:47 -07:00
vendordata.py New style vendordata support. 2016-07-26 08:15:25 -04:00
vendordata_dynamic.py remove log translation from nova.api.metadata 2017-03-21 07:15:54 -04:00
vendordata_json.py remove log translation from nova.api.metadata 2017-03-21 07:15:54 -04:00
wsgi.py Add pbr-installed wsgi application for metadata api 2017-05-02 16:58:11 +00:00