qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [ovirt-users] Re: Unable to upload images


From: Michael Blanchard
Subject: Re: [Qemu-block] [ovirt-users] Re: Unable to upload images
Date: Wed, 20 Feb 2019 12:31:36 +0000

That fixed it!  I actually downloaded it 7 times on two different machines and used 3 different browsers.

Get Outlook for Android


From: Nir Soffer <address@hidden>
Sent: Tuesday, February 19, 2019 6:21:14 PM
To: Michael Blanchard
Cc: users; Daniel Erez; qemu-block
Subject: Re: [ovirt-users] Re: Unable to upload images
 
On Wed, Feb 20, 2019 at 1:01 AM <address@hidden> 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

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]