Re: [ovirt-users] Uploading an image with qcow2 compat 1.1 is unsupported for storage format type V3

2016-11-08 Thread Nir Soffer
On Tue, Nov 8, 2016 at 12:58 PM, Amit Aviram  wrote:
> Hi
> Nathanaël.
>
> On Mon, Nov 7, 2016 at 5:02 PM,
> Nathanaël Blanchet  wrote:
>>
>> Hi all, how can I get informations about supported formats with the image
>> upload feature ?
>
>
> Actually, supported QCOW formats are derived from the ovirt storage versions
> (V3, etc..) of a DC, and the upload flow just restricts the user so the
> supplied image that is being uploaded will be supported in the DC that owns
> the target storage domain.
>
> So basically, the DC specifies the supported formats, not the upload
> feature.
>
>>
>> All my domain storages are v3, does it exist v4?

Exist in upstream. You can install a development version if you like to
play with this on testing environment.

> If yes, how can I upgrade
>> them to a superior format?

If you don't care about backward compatibility in 4.0, you can configure
the system to use format 1.1 by like this:

[irs]
# Recent qemu-img supports two incompatible qcow2 versions. We use
# 0.10 format by default so hosts with older qemu can consume images
# created by newer versions. See https://bugzilla.redhat.com/1139707
# (supported versions: 0.10, 1.1)
qcow2_compat = 1.1

Note that this will break image upload, because engine allows only 0.10
images. We don't have similar configuration in engine.

> V4 is about to be introduced (targeted to 4.1), and it will support QCOW2
> version 1.1.
> You will be able to upgrade your DCs to this version easily when it will be
> available.
>
>>
>> Do I need to convert my non compatible 1.1 qcow2 appliance to an other
>> format?

Yes, you can convert 1.1 image to 0.10 using:

qemu-img amend -o compat=1.1 /path/to/image

In 4.1, when using storage domain version 4:
- new disk will use format 1.1
- you will be able to upload both 0.10 and 1.1 images
- you will be able to convert old images from 0.10 to 1.1

Nir

>>
>> This is what I found :
>> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Using_qemu_img-Supported_qemu_img_formats.html
>>
>>
>> Thank you
>>
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14
>> blanc...@abes.fr
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Uploading an image with qcow2 compat 1.1 is unsupported for storage format type V3

2016-11-08 Thread Amit Aviram
Hi
​
Nathanaël.

On Mon, Nov 7, 2016 at 5:02 PM,
​​
Nathanaël Blanchet  wrote:

> Hi all, how can I get informations about supported formats with the image
> upload feature ?
>

​​Actually, supported QCOW formats are derived from the ovirt storage
versions (V3, etc..) of a DC, and the upload flow just restricts the user
so the supplied image that is being uploaded will be supported in the DC
that owns the target storage domain.

​So basically, the DC specifies the supported formats​, not the upload
feature.


> All my domain storages are v3, does it exist v4? If yes, how can I upgrade
> them to a superior format?


​V4 is about to be introduced (targeted to 4.1)​, and it will support QCOW2
version 1.1.
You will be able to upgrade your DCs to this version easily when it will be
available.


> Do I need to convert my non compatible 1.1 qcow2 appliance to an other
> format?
>
> This is what I found : https://access.redhat.com/docu
> mentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualizati
> on_Deployment_and_Administration_Guide/sect-Using_qemu_img-
> Supported_qemu_img_formats.html
>
>
> Thank you
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Uploading an image with qcow2 compat 1.1 is unsupported for storage format type V3

2016-11-07 Thread Nathanaël Blanchet
Hi all, how can I get informations about supported formats with the 
image upload feature ?


All my domain storages are v3, does it exist v4? If yes, how can I 
upgrade them to a superior format?


Do I need to convert my non compatible 1.1 qcow2 appliance to an other 
format?


This is what I found : 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Using_qemu_img-Supported_qemu_img_formats.html



Thank you


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users