← Back to team overview

openstack team mailing list archive

Glance upload: No checksum when using swift and image < swift_store_large_object_size

 

Hi,

I just noticed that when using glance with a swift backend the checksum is not populated when the size is below the swift_store_large_object_size when adding an image.
This results in an error message when downloading the image (and breaking nova instance creation).

Looking at the glance/store/swift.py code it seems to me the checksum code is only hit when the size is above swift_store_large_object_size.

Is this a bug or is there something else going on?

I'm running the EPEL Folsom packages on SL6.3

Thanks,
Robert

Follow ups