Comment 28 for bug 1415087

Revision history for this message
Grant Murphy (gmurphy) wrote : Re: Format-guessing and file disclosure in image convert

Since there hasn't been much other movement on this I've updated a new patch that hopefully addresses the variable renaming complaints. As we can't rely on calls to qemu-img info to determine the source format explicit decisions need to be made in the driver code in cases that call image_utils.convert_image(). I couldn't really find a case where I could reliably discover this information from the database.. so I've added a configuration setting for the affected drivers. I can't be certain if the default values I've supplied here are correct or even sensible. So I would again ask cinder devs to please take a look at this and suggest a viable alternative.

Thanks.