From 066d4c0bf25a9e4c6493e9fe575d9086dab2ea33 Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Wed, 2 May 2012 21:40:14 +0000 Subject: Add instance_system_metadata modeling. Implements blueprint instance-system-metadata. Adds a new table to store system-owned metadata tied to an instance. The intent is to provide a key/value store that compute plugins can use to persist state. Change-Id: Ic446fea0f9c8a652f2ac6d554f4f85021ce34fb8 --- nova/exception.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nova/exception.py') diff --git a/nova/exception.py b/nova/exception.py index dc1199be3..df2f79e3d 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -811,6 +811,11 @@ class InstanceMetadataNotFound(NotFound): "key %(metadata_key)s.") +class InstanceSystemMetadataNotFound(NotFound): + message = _("Instance %(instance_uuid)s has no system metadata with " + "key %(metadata_key)s.") + + class InstanceTypeExtraSpecsNotFound(NotFound): message = _("Instance Type %(instance_type_id)s has no extra specs with " "key %(extra_specs_key)s.") -- cgit