diff options
| author | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-17 16:41:35 +0000 |
|---|---|---|
| committer | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-17 16:41:35 +0000 |
| commit | 3356aebe4d830e8d488a8eba2847a58e621045f6 (patch) | |
| tree | c6a3f88b22ac1f9a2f92af4dbb5fb073af33f82b /nova/compute | |
| parent | fb4a3b3f086f064a47c6659d537eaff45c49002f (diff) | |
bug fixes
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 262a8819d..4c4b82272 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -84,12 +84,9 @@ class ComputeAPI(base.Base): logging.debug("Creating a raw instance") # Make sure we have access to kernel and ramdisk (if not raw) if kernel_id: - image_service.show(context, kernel_id) + self.image_service.show(context, kernel_id) if ramdisk_id: - image_service.show(context, ramdisk_id) - # Make sure we have access to kernel and ramdisk - self.image_service.show(context, kernel_id) - self.image_service.show(context, ramdisk_id) + self.image_service.show(context, ramdisk_id) if security_group is None: security_group = ['default'] |
