"kernel_id property not found" Openstack API w/ S3ImageService
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Prince |
Bug Description
Using 2011.1~bzr638-
When using the default nova.image.
2011-01-28 15:53:07,207 ERROR nova.api.openstack [-] Caught error: kernel_id property not found for image ami-tty
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
Using the same setup I am able to create an image with the EC2 API via eucatools.
Related branches
- Brian Waldon (community): Approve
-
Diff: 427 lines (+85/-110)9 files modifiednova/api/ec2/cloud.py (+5/-3)
nova/api/openstack/images.py (+3/-50)
nova/api/openstack/servers.py (+8/-31)
nova/image/glance.py (+31/-3)
nova/image/s3.py (+27/-6)
nova/image/service.py (+4/-6)
nova/tests/api/openstack/fakes.py (+3/-2)
nova/tests/api/openstack/test_images.py (+4/-4)
nova/tests/api/openstack/test_servers.py (+0/-5)
Changed in nova: | |
milestone: | bexar-rc → none |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
I've push if fix for this issue here:
lp:~dan-prince/nova/openstack_api_709355
It appears that the default S3 image store does not require kernel_id or ramdisk_id to be set. This patch allows that and makes the openstack API behave like the EC2 API.