summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorThuleau Édouard <thuleau@gmail.com>2011-09-07 14:32:00 +0000
committerTarmac <>2011-09-07 14:32:00 +0000
commit560698829e4c7168053775e7e5e9f1e92bb98fa8 (patch)
tree38a3054e890713f12e7ca66d837e77bfcce3beb8 /nova/exception.py
parentd01010583d5d581591c9edcf36c4da54f0c78da9 (diff)
parent59cac7cfc5fba0aa084171958b5b28f51a723010 (diff)
downloadnova-560698829e4c7168053775e7e5e9f1e92bb98fa8.tar.gz
nova-560698829e4c7168053775e7e5e9f1e92bb98fa8.tar.xz
nova-560698829e4c7168053775e7e5e9f1e92bb98fa8.zip
An AMI image without ramdisk image should start.
It's possible with EC2 API but it fails with OS API. This patch corrects that by returns 'None' value if AMI image doesn't contain 'ramdisk_id' metadata.
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/exception.py b/nova/exception.py
index df6ff25cd..95d8229b5 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -403,10 +403,6 @@ class KernelNotFoundForImage(ImageNotFound):
message = _("Kernel not found for image %(image_id)s.")
-class RamdiskNotFoundForImage(ImageNotFound):
- message = _("Ramdisk not found for image %(image_id)s.")
-
-
class UserNotFound(NotFound):
message = _("User %(user_id)s could not be found.")