diff options
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index f89b3e541..83c3f9c03 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -486,6 +486,13 @@ class ImageNotFound(NotFound): message = _("Image %(image_id)s could not be found.") +class ImageNotFoundEC2(ImageNotFound): + message = _("Image %(image_id)s could not be found. The nova EC2 API " + "assigns image ids dynamically when they are listed for the " + "first time. Have you listed image ids since adding this " + "image?") + + class ProjectNotFound(NotFound): message = _("Project %(project_id)s could not be found.") |