On Wed, Feb 20, 2019 at 1:01 AM <michael(a)wanderingmad.com> wrote:
qemu-img info:
LM-7.2.45.0.17004.RELEASE-Linux-KVM-XEN.disk
image: LoadMaster-VLM-7.2.45.0.17004.RELEASE-Linux-KVM-XEN.disk
file format: raw
virtual size: 16G (17179869696 bytes)
disk size: 16G
This is raw image, so it may work, but
ls -l:
-rwxrwxrwx 1 michael michael 17179869185 Jan 7 16:43
LoadMaster-VLM-7.2.45.0.17004.RELEASE-Linux-KVM-XEN.disk
The image size is invalid. raw image size must be aligned to 512 bytes,
this is why
we block such images in the UI.
Is it possible that the image was truncated?
According to qemu-img info, the size is 17179869696. qemu-img lie about the
size by rounding
up to the next multiple of 512.
I think this will fix your image:
truncate -s 17179869696
LoadMaster-VLM-7.2.45.0.17004.RELEASE-Linux-KVM-XEN.disk
After that uploading the image should work.
Downloading the image again and verifying the image checksum with the
vendor is probably
a good idea if you are not sure about the contents of this image.
Nir