Code review comment for lp:~justin-fathomdb/nova/ec2-api-with-glance

Revision history for this message
justinsb (justin-fathomdb) wrote :

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-8gpart-x64" container_format="bare" disk_format="raw" is_public="true" < /home/justinsb/images/ubuntu/createimage/ubuntu_x64_8g.raw.gz

Added new image with ID: 8
Returned the following metadata for the new image:
               container_format => bare
                     created_at => 2011-03-22T06:03:21.139434
                        deleted => False
                     deleted_at => None
                    disk_format => raw
                             id => 8
                      is_public => True
                       location => file:///var/lib/glance/images/8
                           name => lucid-8gpart-x64
                     properties => {}
                           size => 292789118
                         status => active
                     updated_at => None
Completed in 5.8610 sec.

---
Extract from /images/details:

 {"status": "active", "name": "lucid-8gpart-x64", "deleted": false, "container_format": "bare", "created_at": "2011-03-22T06:03:21.139434", "disk_format": "raw", "updated_at": "2011-03-22T06:03:26.675561", "id": 8, "location": "file:///var/lib/glance/images/8", "is_public": true, "deleted_at": null, "properties": {}, "size": 292789118}

---
Extract from euca-describe-images:

IMAGE axi-00000008 (lucid-8gpart-x64) private

(name is correct, axi hack is triggered, public/private is broken)

« Back to merge proposal