allow_qcow2_backing_file flag cannot be passed into some image_utils operations
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Cinder |
Fix Released
|
High
|
Unassigned | ||
Bug Description
A recent change [1] introduced the allow_qcow2_
However this flag cannot be passed into other image_utils methods that internally use the qemu_img_info() method, e.g. image_utils.
That method calls image_utils.
If following this trace there's no way to pass the allow_qcow2_
Note that there might be a workaround by supplying the 'data' parameter [4] but i'm not sure that is intended to be used in such a manner.
Affected are e.g. vzstorage, dell_emc powerstore nfs and quobyte (more are possible).
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
[6] https:/
[7] https:/
| Changed in cinder: | |
| status: | New → In Progress |
| Changed in cinder: | |
| importance: | Undecided → High |

> Note that there might be a workaround by supplying the 'data' parameter [4] but i'm not sure that is intended to be used in such a manner.
Good catch on this. The 'data' parameter is appropriate to pass here; the idea was that in most contexts, you've already done a call to get the qemu-img info data, so you can avoid the overhead of another shell call by passing the data object to the convert_image function.