diff options
| author | Thuleau Édouard <thuleau@gmail.com> | 2011-08-30 18:18:23 +0200 |
|---|---|---|
| committer | Thuleau Édouard <thuleau@gmail.com> | 2011-08-30 18:18:23 +0200 |
| commit | b515d427e05010ba5a984dd549cb6418629de50d (patch) | |
| tree | c470d971e7807ea55def3cf91135b15d15bd769e /nova | |
| parent | 2a2aa10316abe9135541198bddd4c189976eb2fd (diff) | |
| download | nova-b515d427e05010ba5a984dd549cb6418629de50d.tar.gz nova-b515d427e05010ba5a984dd549cb6418629de50d.tar.xz nova-b515d427e05010ba5a984dd549cb6418629de50d.zip | |
With OS API, if the property 'ramdisk_id' isn't set on the AMI image, Nova can not instantiate it.
With EC2 API, the AMI image can be instantiate.
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/api/openstack/create_instance_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/create_instance_helper.py b/nova/api/openstack/create_instance_helper.py index 483ff4985..269e46dba 100644 --- a/nova/api/openstack/create_instance_helper.py +++ b/nova/api/openstack/create_instance_helper.py @@ -283,7 +283,7 @@ class CreateInstanceHelper(object): try: ramdisk_id = image_meta['properties']['ramdisk_id'] except KeyError: - raise exception.RamdiskNotFoundForImage(image_id=image_id) + ramdisk_id = None return kernel_id, ramdisk_id |
