New Question

Glance to Cinder optimization

asked 2020-01-07 17:35:48 +0300

timco64 gravatar image

Is there a way to skip the image conversion when cinder grabs an image from glance? I'm currently using the smb2 backend and have uploaded my images as vhdx.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2020-01-08 10:09:29 +0300

lpetrut gravatar image


Not at the moment. There's been an inline TODO since forever but it never got implemented:

At the moment, cinder is downloading the image to a temporary location and then uses qemu-img to do the conversion and write to the final location (can be a file or an actual block device).

One step would be to skip the conversion if the image already has the right format and then do a simple copy. The next step might be to add a config option, saying if the image should be downloaded directly to the final location in this case (you may want to avoid writing small chunks directly to the final location and stick to a temporary file instead).

We can raise this matter again at one of the Cinder meetings, should be a simple thing to do.



edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2020-01-07 17:35:48 +0300

Seen: 123 times

Last updated: Jan 08 '20