Comment 0 for bug 2073262

Revision history for this message
zhou zhong (zhouzhongg) wrote : cannot valid vmdk image

My vmdk image file cannot be validated, and raise "Unsupported VMDK footer". It seems that every VMDK image has a footer, why verify its existence?

Traceback (most recent call last):
  File "/Users/mizar/test/format_inspector.py", line 874, in <module>
    get_inspector('vmdk').from_file('/Users/mizar/Downloads/zztest-thin-1.vmdk')
  File "/Users/mizar/test/format_inspector.py", line 225, in from_file
    inspector.eat_chunk(chunk)
  File "/Users/mizar/test/format_inspector.py", line 142, in eat_chunk
    self.post_process()
  File "/Users/mizar/test/format_inspector.py", line 675, in post_process
    raise ImageFormatError('Unsupported VMDK footer')
ImageFormatError: Unsupported VMDK footer

()[root@nova-maintenance-b7f767857-8t2r2 /]# qemu-img info /opt/zztest-centos7-1.vmdk
image: /opt/zztest-centos7-manu-virtio-1.vmdk
file format: vmdk
virtual size: 16G (17179869184 bytes)
disk size: 629M
cluster_size: 65536
Format specific information:
    cid: 2728887714
    parent cid: 4294967295
    create type: streamOptimized
    extents:
        [0]:
            compressed: true
            virtual size: 17179869184
            filename: /opt/zztest-centos7-1.vmdk
            cluster size: 65536
            format: