glance/glance/async_/flows/plugins
Dan Smith 154ef3fe94 Update image.size after conversion
When we convert an image to a specified format during import, we
update the disk_format to match. At that point, we also know the (new)
image.size, so we should set it.

This is somewhat related to setting image size on stage, in that once
it is set we will validate that it does not change in later steps.
Since this one comes between stage and the actual store upload, this
patch makes conversion set it and confirms that the later steps are
happy with that. A later patch sets it during stage, confirming that
we can change it here during conversion when we are changing the
actual image file itself.

Related to blueprint glance-unified-quotas

Change-Id: I795c52f606f85955e39efc29b75f2941be1264b4
2021-06-21 07:19:01 -07:00
..
__init__.py Rename async package to async_ 2018-08-07 14:42:14 -04:00
image_conversion.py Update image.size after conversion 2021-06-21 07:19:01 -07:00
image_decompression.py Do not decompress 'compressed' containers 2020-04-07 10:46:30 +01:00
inject_image_metadata.py Make inject_image_metadata use action wrapper 2021-02-10 07:36:24 -08:00
no_op.py Rename async package to async_ 2018-08-07 14:42:14 -04:00
plugin_opts.py Rename async package to async_ 2018-08-07 14:42:14 -04:00