Re: Unable to upload images

On Tue, Feb 19, 2019 at 11:29 PM Michael Blanchard <michael@wanderingmad.com> wrote:
I don't even get the that point. I try to upload to he Kemp Roadmaster vm in .disk format and it says not in proper format and errors out. No log entries anuwhere
What is "Kemp Roadmaster vm in .disk format"? Can you run this on the machine with this file? ls -l /path/to/disk Also this can help to understand the issue: qemu-img info /path/to/disk Nir
Get Outlook for Android <https://aka.ms/ghei36>
------------------------------ *From:* Shani Leviim <sleviim@redhat.com> *Sent:* Tuesday, February 19, 2019 10:50:20 AM *To:* Michael Blanchard *Cc:* users; Nir Soffer; Daniel Erez *Subject:* Re: [ovirt-users] Unable to upload images
Also, can you please share the output of 'ls -l' executed on the image you're trying to upload?
*Regards, *
*Shani Leviim *
On Tue, Feb 19, 2019 at 3:52 PM Shani Leviim <sleviim@redhat.com> wrote:
Hi, Can you please share engine and UI logs? Also, can you please attach a screenshot?
*Regards, *
*Shani Leviim *
On Tue, Feb 19, 2019 at 1:54 AM <michael@wanderingmad.com> wrote:
I just updated my ovirt to the latest, and now I can't upload images that I used to be able to. I can upload and see the nagio xi virtual appliance, but I can't upload .disk files anymore, I get a red error in GUI and it say image file not supported, but I used to be able to upload same file in previous version with no issue _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/EM3RUQQ6NJ5SXN...
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.

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 ls -l: -rwxrwxrwx 1 michael michael 17179869185 Jan 7 16:43 LoadMaster-VLM-7.2.45.0.17004.RELEASE-Linux-KVM-XEN.disk

On Wed, Feb 20, 2019 at 1:01 AM <michael@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

That fixed it! I actually downloaded it 7 times on two different machines and used 3 different browsers. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: Nir Soffer <nsoffer@redhat.com> 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 <michael@wanderingmad.com<mailto:michael@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 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.
participants (3)
-
Michael Blanchard
-
michael@wanderingmad.com
-
Nir Soffer