Re: [ovirt-users] Getting qcow images into oVirt

2016-02-08 Thread Joop
On 8-2-2016 9:59, Barak Korren wrote:
> Hi there,
>
> We would like to consume pre-created QCOW images in oVirt/RHEV.
>
> So far it seems that the only way to do that would be to store the
> images in a Glance server which will require us to maintain such
> server.
> Trying to put the image in an ISO domain made in show up as a useless
> "unkonwn" file type in engine.
>
> Is there any other way to get the images into oVirt?
>
Maybe this will help you?:
https://jonarcher.info/2014/02/import-regular-kvm-image-ovirt-rhev/

Regards,

Joop

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


Re: [ovirt-users] Getting qcow images into oVirt

2016-02-08 Thread Barak Korren
On 8 February 2016 at 11:18, Amit Aviram  wrote:
> Hi
> There's an upcoming feature to upload a pre-created image into your ovirt
> system. it is not merged yet, but here's a link if you are interested in
> more details:
> http://www.ovirt.org/Features/Image_Upload

Yeah I know about this, I was hoping there is something I cane use _today_

>
> Anyway, currently you can still manually put an ISO file in an ISO domain,
> and it should appear in your web admin.
>

ISO Files are not interesting (who wants to run an installer? Most OS
projects give you ready-made QCOW2 images now days). What can I do
with a QCOW2 file?


-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Getting qcow images into oVirt

2016-02-08 Thread Arman Khalatyan
Hi,
You can import regular qcow2 images into ovirt with few steps:
1)check what kind of  image you have qemu-img -info vm4import.img
2) create an vm with exact disk image size as qemu-img -info shows.
3) run vm in paused mode(sometimes it is hard to find out the VM disk)
4) go to host where paused vm is running: find /rhev |grep "your vm uuid"
and get your vm image UUID
5) do not use dd, use better
qemu-img convert -p  -O raw $1  ${2} or
qemu-img convert -p  -O qcow2 $1  ${2}
with -p option you have a nice progress bar:)

Then poweroff the paused vm and start it.
Maybe someone has a better tools, but sometimes better to get an idea
behind the scene without any wodoo scripts.



***

 Dr. Arman Khalatyan  eScience -SuperComputing
 Leibniz-Institut für Astrophysik Potsdam (AIP)
 An der Sternwarte 16, 14482 Potsdam, Germany

***

On Mon, Feb 8, 2016 at 10:40 AM, Barak Korren  wrote:

> >>
> > Maybe this will help you?:
> > https://jonarcher.info/2014/02/import-regular-kvm-image-ovirt-rhev/
> >
> Thanks! this looks like a step in the right direction!
>
> A few caveats I see and further questions:
> 1. Seems I would require a storage domain where I can access the files
> from somewhere external to the system. I guess I could try using a VM
> running on the same engine instead and attach/detach disks to/from it.
> 2. This creates a non-sparse, non-thin VM disk no? How much space did
> the disk take once you were done?
>
>
> --
> Barak Korren
> bkor...@redhat.com
> RHEV-CI Team
> ___
> 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] Getting qcow images into oVirt

2016-02-08 Thread Barak Korren
Hi there,

We would like to consume pre-created QCOW images in oVirt/RHEV.

So far it seems that the only way to do that would be to store the
images in a Glance server which will require us to maintain such
server.
Trying to put the image in an ISO domain made in show up as a useless
"unkonwn" file type in engine.

Is there any other way to get the images into oVirt?

-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Getting qcow images into oVirt

2016-02-08 Thread Amit Aviram
Hi
There's an upcoming feature to upload a pre-created image into your ovirt
system. it is not merged yet, but here's a link if you are interested in
more details:
http://www.ovirt.org/Features/Image_Upload

Anyway, currently you can still manually put an ISO file in an ISO domain,
and it should appear in your web admin.


On Mon, Feb 8, 2016 at 10:59 AM, Barak Korren  wrote:

> Hi there,
>
> We would like to consume pre-created QCOW images in oVirt/RHEV.
>
> So far it seems that the only way to do that would be to store the
> images in a Glance server which will require us to maintain such
> server.
> Trying to put the image in an ISO domain made in show up as a useless
> "unkonwn" file type in engine.
>
> Is there any other way to get the images into oVirt?
>
> --
> Barak Korren
> bkor...@redhat.com
> RHEV-CI Team
> ___
> 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] Getting qcow images into oVirt

2016-02-08 Thread Barak Korren
>>
> Maybe this will help you?:
> https://jonarcher.info/2014/02/import-regular-kvm-image-ovirt-rhev/
>
Thanks! this looks like a step in the right direction!

A few caveats I see and further questions:
1. Seems I would require a storage domain where I can access the files
from somewhere external to the system. I guess I could try using a VM
running on the same engine instead and attach/detach disks to/from it.
2. This creates a non-sparse, non-thin VM disk no? How much space did
the disk take once you were done?


-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users