On Thu, Nov 22, 2018, 11:47 Gianluca Cecchi <gianluca.cecchi@gmail.com wrote:
Thanks both  for your answers.

On Wed, Nov 21, 2018 at 10:44 PM Sinan Polat <sinan@turka.nl> wrote:
Use -c during conversion for compressing.

Regards,
Sinan

I confirm that using "-c" option the size of the converted image is the same as the 0.10 version. Thanks.
I didn't find a way to verify in advance if an image is compressed or not.. is there?

No. Qcow2 file is not actualy compressed, it includes compressed clusters. This can be detected by looking at qcow2 metadata, but it is not exposed by qemu-img.

Nir

 

Op 21 nov. 2018 om 20:54 heeft Nir Soffer <nsoffer@redhat.com> het volgende geschreven:

[snip] 
I'm on 4.2.6 and If I try to upload as a disk from the GUI it seems it tries to upload full 66Gb, not 1.5Gb...

You hit


I confirm that after updating the engine (not yet the hosts) from 4.2.6.4 to 4.2.7.5 fixes the problem, both for the displayed disk size inside the gui bar during upload (1.5Gb and not 66Gb) and for the successful completion.

Yes, this is engine bug so upgrading engine is enough.

But you should update the hosts to get other fixes and improvements like
https://bugzilla.redhat.com/1511891

Nir