ImageService should not map unknown attributes to metadata
Bug #838372 reported by
Brian Waldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Brian Waldon |
Bug Description
Currently, Glance returns a owner attribute back as an image attribute. Nova has not yet been taught this attribute, so it moves owner from the image attributes into a seemingly user-editable metadata dictionary. We need to remove this behavior, as this is the second time a bug has been filed (previously for checksum).
Related branches
lp:~rackspace-titan/nova/image-service-cleanup
- Dan Prince (community): Approve
- Brian Lamar (community): Approve
- Jay Pipes (community): Approve
- Rick Harris (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 2702 lines (+861/-1160)12 files modifiednova/api/ec2/cloud.py (+1/-1)
nova/api/openstack/image_metadata.py (+28/-30)
nova/api/openstack/images.py (+1/-1)
nova/image/fake.py (+1/-2)
nova/image/glance.py (+52/-28)
nova/image/s3.py (+1/-2)
nova/image/service.py (+0/-200)
nova/tests/api/openstack/fakes.py (+40/-87)
nova/tests/api/openstack/test_image_metadata.py (+65/-102)
nova/tests/api/openstack/test_images.py (+216/-458)
nova/tests/glance/stubs.py (+68/-0)
nova/tests/image/test_glance.py (+388/-249)
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | In Progress → Fix Committed |
tags: | added: osapi-v1.1 |
tags: | removed: osapi-v1.1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.