[dev][nova][glance][cinder] introducing 'compressed' image container_format

Ma, Zheng zheng.ma at intel.com
Thu Jul 25 15:44:54 UTC 2019


Hello Nova developers,

Cinder is working on a feature that will allow it to compress volumes uploaded to Glance [0,1].  We are proposing a new container_format for Glance named 'compressed' [2].

The idea is that a consumer of a 'compressed' image would read the file to determine the kind of compression and take appropriate action (either successfully decompress to find a payload that matches the image's disk_format, or fail with 'unsupported container_format').

Our preliminary testing with a raw image with container_format == compressed, disk_format == raw is that Nova boots a VM from the image but the VM appears to be unusable.  Nova seems taking it as a real RAW image as disk_format indicates.

So we want to open a discussion about handling this.

Thanks!

[0] cinder spec patch   https://review.opendev.org/#/c/652275/
[1] cinder code implementation https://review.opendev.org/#/c/668825
[2] glance spec patch     https://review.opendev.org/#/c/670454/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190725/c6eecb91/attachment-0001.html>


More information about the openstack-discuss mailing list