a719525c1c
Add new config option `image_conversion_disable`, when it's set to `True`, image disk_format and volume format must be the same format. Otherwise will raise ImageUnacceptable exception. `image_conversion_disable` config is bool option, default to `False`. The idea behind this was that in certain high scale environments, it is possible that a cloud allows both qcow2 and raw image uploads. However, uploading a qcow2 image and creating a large number of volumes can cause a tremendous amount of conversions that will kill cinder-volume. It may be undesirable to have this, so a cloud operator can opt to disallow conversions and enforce that the user uploads the correct image type if they want to have volumes (aka raw in rbd case). Closes-Bug: #1970115 Change-Id: Ic481d68639d9460d1fd14225bc17a0d8287d5fd9 |
||
---|---|---|
.. | ||
__init__.py | ||
api.py | ||
defined_messages.py | ||
message_field.py |