← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2073262] [NEW] cannot valid vmdk image

 

Public bug reported:

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:

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2073262

Title:
  cannot valid vmdk image

Status in Glance:
  New

Bug description:
  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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2073262/+subscriptions



Follow ups