Backing storage/client are dependent on md5 checksum

Bug #1101663 reported by Joshua Harlow
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned
Glance Client
Fix Released
Low
Unassigned

Bug Description

In multiple places there is a lacking of information on what checksum algorithm a image used.

So if someone wanted to use a better hashing algorithm they would not be able to.

Looking at the db it only has (in the images table).

| checksum | varchar(32) | YES | | NULL | |

Note a checksum_type (which could vary) would be needed to allow for other hashing algorithms (besides md5).

Similarly with the glance client, it would need something like.

x-image-meta-checksum-type header to distinguish what to use.

Joshua Harlow (harlowja)
summary: - Backing storage is dependent on md5 checksum
+ Backing storage/client are dependent on md5 checksum
Revision history for this message
Brian Waldon (bcwaldon) wrote :

python-glanceclient's image-create now communicates md5 as the required hash algorithm. The backend does not allow this to be configurable, I agree, but I'm not convinced there is a big need for this.

Changed in python-glanceclient:
status: New → Fix Committed
Changed in glance:
status: New → Incomplete
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
importance: Undecided → Low
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
milestone: none → v0.8.0
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
status: Fix Committed → Fix Released
Revision history for this message
Erno Kuvaja (jokke) wrote :

Old and inactive, closing for glance.

Changed in glance:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.