commit 2ae5d53526e2b224d81b3259140c59aba97d72c3
Author: Brian Rosmaita <email address hidden>
Date: Sat Dec 10 17:09:36 2022 -0500
Check VMDK subformat against an allowed list
Also add a more general check to convert_image that the image format
reported by qemu-img matches what the caller says it is.
Change-Id: I3c60ee4c0795aadf03108ed9b5a46ecd116894af
Partial-bug: #1996188
(cherry picked from commit 930fc93e9fda82a4aa4568ae149c3c80af7379d0)
(cherry picked from commit ba37dc2ead69c08d7ede242295ff997086e6121d)
Conflicts:
cinder/image/image_utils.py
- changed type annotations to use implicit Optional to be
consistent with cinder yoga mypy usage
- removed refs to image_conversion_disable in tests
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/871620 /opendev. org/openstack/ cinder/ commit/ 2ae5d53526e2b22 4d81b3259140c59 aba97d72c3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 2ae5d53526e2b22 4d81b3259140c59 aba97d72c3
Author: Brian Rosmaita <email address hidden>
Date: Sat Dec 10 17:09:36 2022 -0500
Check VMDK subformat against an allowed list
Also add a more general check to convert_image that the image format
reported by qemu-img matches what the caller says it is.
Change-Id: I3c60ee4c0795aa df03108ed9b5a46 ecd116894af 4aa4568ae149c3c 80af7379d0) d7ede242295ff99 7086e6121d) image/image_ utils.py n_disable in tests
Partial-bug: #1996188
(cherry picked from commit 930fc93e9fda82a
(cherry picked from commit ba37dc2ead69c08
Conflicts:
cinder/
- changed type annotations to use implicit Optional to be
consistent with cinder yoga mypy usage
- removed refs to image_conversio