commit 70a435fd519a0ebcc3ac9ad5254fefbf19c93e48
Author: Dan Smith <email address hidden>
Date: Mon Jul 1 09:06:40 2024 -0700
Fix vmdk_allowed_types checking
This restores the vmdk_allowed_types checking in create_image()
that was unintentionally lost by tightening the
qemu-type-matches-glance code in the fetch patch recently. Since we
are still detecting the format of base images without metadata, we
would have treated a vmdk file that claims to be raw as raw in fetch,
but then read it like a vmdk once it was used as a base image for
something else.
Change-Id: I07b332a7edb814f6a91661651d9d24bfd6651ae7
Related-Bug: #2059809
(cherry picked from commit 08be7b2a0dc1d7728d8034bc2aab0428c4fb642e)
(cherry picked from commit 11301e7e3f0d81a3368632f90608e30d9c647111)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /923287 /opendev. org/openstack/ nova/commit/ 70a435fd519a0eb cc3ac9ad5254fef bf19c93e48
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit 70a435fd519a0eb cc3ac9ad5254fef bf19c93e48
Author: Dan Smith <email address hidden>
Date: Mon Jul 1 09:06:40 2024 -0700
Fix vmdk_allowed_types checking
This restores the vmdk_allowed_types checking in create_image() type-matches- glance code in the fetch patch recently. Since we
that was unintentionally lost by tightening the
qemu-
are still detecting the format of base images without metadata, we
would have treated a vmdk file that claims to be raw as raw in fetch,
but then read it like a vmdk once it was used as a base image for
something else.
Change-Id: I07b332a7edb814 f6a91661651d9d2 4bfd6651ae7 28d8034bc2aab04 28c4fb642e) 3368632f90608e3 0d9c647111)
Related-Bug: #2059809
(cherry picked from commit 08be7b2a0dc1d77
(cherry picked from commit 11301e7e3f0d81a