aeolusproject/imagefactory — pull request #182 by hardys (2012-11-20 19:07:06+00:00)
Title: OpenStackCloud Plugin improvements

I've been experimenting with the OpenStackCloud plugin, here are some minor updates which I made on my local fork and hopefully you may find useful:

- Some minor licence/whitespace cleanups
- Refer to TDL name not imagefactory uuid for glance image name
- add option (defaulted to on) to convert images to qcow2 before uploading to glance.

Re the qcow2 mod - there is an shutil.copy2 in FedoraOS.py which on my system makes the image grow from a sparse (~1G) to a non-sparse (11G), which leads to really slow performance when launching the raw image when stored in glance, purely due to all the disk IO.

Using qcow2 the image size is reduced to ~329M, which leads to much much faster nova instance launches.