Skip to content

Commit 7248c46

Browse files
kk7dsmarkgoddard
authored andcommitted
Fix vmdk_allowed_types checking
Related-Bug: #2059809
1 parent fe88152 commit 7248c46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nova/virt/libvirt/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ def create_cow_image(
155155
reason=_('Base image failed safety check'))
156156

157157
base_details = images.qemu_img_info(backing_file)
158+
if base_details.file_format == 'vmdk':
159+
images.check_vmdk_image('base', base_details)
158160
if base_details.backing_file is not None:
159161
LOG.warning('Base image %s failed safety check', backing_file)
160162
raise exception.InvalidDiskInfo(

0 commit comments

Comments
 (0)