summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2012-05-02 21:40:14 +0000
committerRick Harris <rconradharris@gmail.com>2012-05-04 16:11:20 +0000
commit066d4c0bf25a9e4c6493e9fe575d9086dab2ea33 (patch)
treedadf6f487b01e1baac14eb285a167d926b094435 /nova/exception.py
parent7d8231a58c469b7540ee134a3fe5af0601d306ed (diff)
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
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py5
1 files changed, 5 insertions, 0 deletions
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.")