
When we test uploading a volume to image, we have a config option to specify the disk format. Currently the default disk format is 'raw' but most cinder backends store the volume in 'raw' format and we end up avoiding the conversion workflow which becomes an untested code path and could lead to bugs as recently discovered with [1]. This patch adds the 'raw' and 'qcow2' as the default formats. The config option is also updated to List so we have add multiple formats to be tested by the same test. [1] https://bugs.launchpad.net/cinder/+bug/2092534 Depends-On: https://review.opendev.org/c/openstack/cinder/+/938265 Related-Bug: #2092534 Change-Id: I5f0f005d9487d7cf59dfa818e2a327f6d3956d1b
9 lines
352 B
YAML
9 lines
352 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
The default value for ``[volume] disk_format``, which specifies the
|
|
disk format of the image in a copy a volume to image operation,
|
|
is changed from ``raw`` to ``[raw, qcow2]`` for which the type of
|
|
the config option also needed to change from ``string`` type to
|
|
``list`` type i.e. it accepts multiple values now.
|