summaryrefslogtreecommitdiff
path: root/nova/exception.py
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-02-24 13:00:52 +0000
committerGerrit Code Review <review@openstack.org>2022-02-24 13:00:52 +0000
commitb2ec3cd9216ecb46d7c84393234013ea8d88eec6 (patch)
treee2669902eabd451dd7ebd2fcd8e8f96b442aeb25 /nova/exception.py
parentfa10c6ec6a83fce044174472013fb1c932b4a00d (diff)
parent19b7cf21706c7975088dd52e02178e7c5f85666b (diff)
downloadnova-b2ec3cd9216ecb46d7c84393234013ea8d88eec6.tar.gz
Merge "manage: Add image_property commands"
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 0438913de3..136b3e865e 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -736,6 +736,10 @@ class InvalidImageRef(Invalid):
msg_fmt = _("Invalid image href %(image_href)s.")
+class InvalidImagePropertyName(Invalid):
+ msg_fmt = _("Invalid image property name %(image_property_name)s.")
+
+
class AutoDiskConfigDisabledByImage(Invalid):
msg_fmt = _("Requested image %(image)s "
"has automatic disk resize disabled.")