EC2 API doesn't work well with arbitrary glance images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Vish Ishaya |
Bug Description
euca-describe-
The properties collection from glance is empty; that looks to be the root problem (vs what the EC2 code is expecting).
I running glance from a relatively recent trunk - r86
---
I uploaded an image using this command:
bin/glance --verbose add name="lucid-
Added new image with ID: 8
Returned the following metadata for the new image:
Completed in 5.8610 sec.
---
Extract from /images/details:
{"status": "active", "name": "lucid-8gpart-x64", "deleted": false, "container_format": "bare", "created_at": "2011-03-
---
Extract from euca-describe-
IMAGE axi-00000008 (lucid-8gpart-x64) private
(name is correct, axi hack is triggered, public/private is broken)
Related branches
- Jay Pipes (community): Needs Information
- Rick Harris (community): Needs Information
-
Diff: 11 lines (+1/-1)1 file modifiednova/api/ec2/cloud.py (+1/-1)
- Rick Harris (community): Approve
- Brian Lamar (community): Needs Information
- Devin Carlen (community): Approve
- termie (community): Needs Fixing
-
Diff: 560 lines (+123/-122)12 files modifiedbin/nova-manage (+20/-20)
nova/api/ec2/cloud.py (+38/-16)
nova/api/openstack/servers.py (+1/-1)
nova/image/fake.py (+3/-3)
nova/image/glance.py (+4/-27)
nova/image/local.py (+13/-3)
nova/image/s3.py (+6/-36)
nova/image/service.py (+27/-0)
nova/tests/api/openstack/test_image_metadata.py (+0/-2)
nova/tests/api/openstack/test_servers.py (+7/-9)
nova/tests/image/test_glance.py (+4/-4)
nova/virt/libvirt_conn.py (+0/-1)
description: | updated |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova: | |
assignee: | nobody → Vish Ishaya (vishvananda) |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |