From 82afe7ad5eac668aaefc79e16bbf2226eddde97d Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Wed, 25 Jul 2012 15:31:11 -0500 Subject: Inject instance metadata into xenstore When using Xenserver, inject instance metadata into the xenstore, for the use of the instance. Implements blueprint xenstore-metadata. Change-Id: I88a59f1b783eaaaef6ba5efd8bd448aece2f869c --- nova/db/sqlalchemy/api.py | 1 + 1 file changed, 1 insertion(+) (limited to 'nova/db') diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py index 7b258c42d..527c10a61 100644 --- a/nova/db/sqlalchemy/api.py +++ b/nova/db/sqlalchemy/api.py @@ -1470,6 +1470,7 @@ def _build_instance_get(context, session=None): options(joinedload_all('security_groups.rules')).\ options(joinedload('info_cache')).\ options(joinedload('metadata')).\ + options(joinedload('system_metadata')).\ options(joinedload('instance_type')) -- cgit