[Users] Virtual Machine Provisiong

Hello guys, I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??). I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style). Have you got any idea, suggestion and/or guide about it? Thanks a lot Marco

oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc. We also have both SDK and CLI, which are based on this REST API. Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI and I guess you'll find more pages on ovirt.org. Good luck, Oved ----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hello Oved, thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else. Marco On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli <ovedo@redhat.com> wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org.
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hey Marco. I see. My mistake... We don't have such a feature built-in yet, but I guess there may be other 3rd party products that integrate with oVirt in order to do so. Let's wait for other people to answer this thread. Oved ----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 11, 2012 1:09:56 PM Subject: Re: [Users] Virtual Machine Provisiong
Hello Oved,
thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else.
Marco
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com > wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org .
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" < mornatim@gmail.com > To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ 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

On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
Hey Marco.
I see. My mistake... We don't have such a feature built-in yet, but I guess there may be other 3rd party products that integrate with oVirt in order to do so. Let's wait for other people to answer this thread.
Oved
----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 11, 2012 1:09:56 PM Subject: Re: [Users] Virtual Machine Provisiong
Hello Oved,
thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. well, if you want to select packages, etc., how would you present that to the user in ovirt GUI? Isn't it essentially the same as installing a VM with whatever you need using the desired OS installation method/GUI and save it as a template? And then deploy the template and do minor customizations (e.g. hostname change). We do plan to have support for such things in near future - we already have sysprep for Windows guests.
Thanks, michal
By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else.
Marco
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com > wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org .
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" < mornatim@gmail.com > To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ 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

Hello, yep template could be a solution, but means we need to have machine that are quite similar. What I'd like to do, and presents to user, is a list of "profiles" (Centos6, RHEL6, Fedora17, etc.) and any profile has a "kickstart" associated that indicates iso source, which base packages should be installed, etc. That is exactly what we have today with a PXE installation, but the only things is that I cannot invoke an automatic installation within a script. To be clear, here yuo are what I'm traying in this moment: https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?vers... And if someone has aeolus experience and suggestions is welcome :D Marco On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek < michal.skrivanek@redhat.com> wrote:
On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
Hey Marco.
I see. My mistake... We don't have such a feature built-in yet, but I guess there may be other 3rd party products that integrate with oVirt in order to do so. Let's wait for other people to answer this thread.
Oved
From: "Marco Mornati" <mornatim@gmail.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 11, 2012 1:09:56 PM Subject: Re: [Users] Virtual Machine Provisiong
Hello Oved,
thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. well, if you want to select packages, etc., how would you present that to
----- Original Message ----- the user in ovirt GUI? Isn't it essentially the same as installing a VM with whatever you need using the desired OS installation method/GUI and save it as a template? And then deploy the template and do minor customizations (e.g. hostname change). We do plan to have support for such things in near future - we already have sysprep for Windows guests.
Thanks, michal
By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else.
Marco
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com > wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org .
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" < mornatim@gmail.com > To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ 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

On Oct 11, 2012, at 13:44 , Marco Mornati wrote:
Hello,
yep template could be a solution, but means we need to have machine that are quite similar. What I'd like to do, and presents to user, is a list of "profiles" (Centos6, RHEL6, Fedora17, etc.) and any profile has a "kickstart" associated that indicates iso source, which base packages should be installed, etc. That is exactly what we have today with a PXE installation, but the only things is that I cannot invoke an automatic installation within a script. hmmm If it needs to be really unattended you either have to attach the right disk with install ISO and supply(point to) the desired kickstart? You'd need to have a template only per each OS install iso.
To be clear, here yuo are what I'm traying in this moment:
https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?vers...
And if someone has aeolus experience and suggestions is welcome :D
Marco
On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote: On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
Hey Marco.
I see. My mistake... We don't have such a feature built-in yet, but I guess there may be other 3rd party products that integrate with oVirt in order to do so. Let's wait for other people to answer this thread.
Oved
----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 11, 2012 1:09:56 PM Subject: Re: [Users] Virtual Machine Provisiong
Hello Oved,
thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. well, if you want to select packages, etc., how would you present that to the user in ovirt GUI? Isn't it essentially the same as installing a VM with whatever you need using the desired OS installation method/GUI and save it as a template? And then deploy the template and do minor customizations (e.g. hostname change). We do plan to have support for such things in near future - we already have sysprep for Windows guests.
Thanks, michal
By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else.
Marco
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com > wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org .
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" < mornatim@gmail.com > To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ 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

hmmm If it needs to be really unattended you either have to attach the right disk with install ISO and supply(point to) the desired kickstart? You'd need to have a template only per each OS install iso.
Yes exactly. And the "iso" file could be a net address (for example directly on the centos servers). And you could have more than one kickstart per iso (that is the list proposed to the oVirt user):
Centos6 64 bit 10GB disk lvm no selinux Centos6 64 bit All avaiable disk space Centos6 64 bit with puppet and mcollective .... Marco
To be clear, here yuo are what I'm traying in this moment:
https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?vers...
And if someone has aeolus experience and suggestions is welcome :D
Marco
On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek <
On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
Hey Marco.
I see. My mistake... We don't have such a feature built-in yet, but I guess there may be other 3rd party products that integrate with oVirt in order to do so. Let's wait for other people to answer this thread.
Oved
----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 11, 2012 1:09:56 PM Subject: Re: [Users] Virtual Machine Provisiong
Hello Oved,
thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. well, if you want to select packages, etc., how would you present that to the user in ovirt GUI? Isn't it essentially the same as installing a VM with whatever you need using the desired OS installation method/GUI and save it as a template? And
michal.skrivanek@redhat.com> wrote: then deploy the template and do minor customizations (e.g. hostname change). We do plan to have support for such things in near future - we already have sysprep for Windows guests.
Thanks, michal
By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else.
Marco
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com > wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org .
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" < mornatim@gmail.com > To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ 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

On Oct 11, 2012, at 13:58 , Marco Mornati wrote:
hmmm If it needs to be really unattended you either have to attach the right disk with install ISO and supply(point to) the desired kickstart? You'd need to have a template only per each OS install iso.
Yes exactly. And the "iso" file could be a net address (for example directly on the centos servers). And you could have more than one kickstart per iso (that is the list proposed to the oVirt user):\
so - can you do that already by supplying these on kernel boot line - in Edit VM dialog? I thin that should work.
Centos6 64 bit 10GB disk lvm no selinux Centos6 64 bit All avaiable disk space Centos6 64 bit with puppet and mcollective ....
Marco
To be clear, here yuo are what I'm traying in this moment:
https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?vers...
And if someone has aeolus experience and suggestions is welcome :D
Marco
On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote: On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
Hey Marco.
I see. My mistake... We don't have such a feature built-in yet, but I guess there may be other 3rd party products that integrate with oVirt in order to do so. Let's wait for other people to answer this thread.
Oved
----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 11, 2012 1:09:56 PM Subject: Re: [Users] Virtual Machine Provisiong
Hello Oved,
thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. well, if you want to select packages, etc., how would you present that to the user in ovirt GUI? Isn't it essentially the same as installing a VM with whatever you need using the desired OS installation method/GUI and save it as a template? And then deploy the template and do minor customizations (e.g. hostname change). We do plan to have support for such things in near future - we already have sysprep for Windows guests.
Thanks, michal
By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else.
Marco
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com > wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org .
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" < mornatim@gmail.com > To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ 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

> > > > hmmm > > If it needs to be really unattended you either have to attach the right > disk with install ISO and supply(point to) the desired kickstart? You'd > need to have a template only per each OS install iso. > > > > Yes exactly. And the "iso" file could be a net address (for example > directly on the centos servers). And you could have more than one kickstart > per iso (that is the list proposed to the oVirt user):\ > so - can you do that already by supplying these on kernel boot line - in > Edit VM dialog? I thin that should work. > I tried but it does not work. For what I understood (but I didn't find lot of doc about this) the 3 parameters are used to specify kernel information but for an already installed machine. Means for example that the Kernel and Initd location should already be on the vm disk. I tried putting a remote location but my machine wouldn't start up... So I think I can't use the kernel parameters in oVirt Marco > > > > > Centos6 64 bit 10GB disk lvm no selinux > > Centos6 64 bit All avaiable disk space > > Centos6 64 bit with puppet and mcollective > > .... > > > > Marco > > > > > > > > > > > > To be clear, here yuo are what I'm traying in this moment: > > > > > > > https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52 > > > > > > And if someone has aeolus experience and suggestions is welcome :D > > > > > > Marco > > > > > > On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek < > michal.skrivanek@redhat.com> wrote: > > > On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote: > > > > > > > Hey Marco. > > > > > > > > I see. My mistake... > > > > We don't have such a feature built-in yet, but I guess there may be > other 3rd party products that integrate with oVirt in order to do so. > > > > Let's wait for other people to answer this thread. > > > > > > > > Oved > > > > > > > > ----- Original Message ----- > > > >> From: "Marco Mornati" <mornatim@gmail.com> > > > >> To: "Oved Ourfalli" <ovedo@redhat.com> > > > >> Cc: users@ovirt.org > > > >> Sent: Thursday, October 11, 2012 1:09:56 PM > > > >> Subject: Re: [Users] Virtual Machine Provisiong > > > >> > > > >> > > > >> Hello Oved, > > > >> > > > >> > > > >> thanks for your response, but, for me, provisioning means "Install > > > >> Operating System and other packages". Is it possibile to do this > > > >> directly using oVirt? I didn't find anything about it and that's the > > > >> resason why I'm looking for others tools. > > > well, if you want to select packages, etc., how would you present that > to the user in ovirt GUI? > > > Isn't it essentially the same as installing a VM with whatever you > need using the desired OS installation method/GUI and save it as a > template? And then deploy the template and do minor customizations (e.g. > hostname change). We do plan to have support for such things in near future > - we already have sysprep for Windows guests. > > > > > > Thanks, > > > michal > > > > > > >> By and I can just start oVirt VM in "Run Once" mode, and putting the > > > >> mac address in my PXE installation could start automatically. > > > >> Problem is that I need to modify my PXE to create an automatic > > > >> system. That's the reason puu me to look for anything else. > > > >> > > > >> > > > >> Marco > > > >> > > > >> > > > >> On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com> > > > >> wrote: > > > >> > > > >> > > > >> oVirt exposes REST API that allows you to perform almost every > > > >> operation in the oVirt engine, including provisioning, monitoring, > > > >> performing different actions on the different entities, and etc. > > > >> > > > >> We also have both SDK and CLI, which are based on this REST API. > > > >> > > > >> Useful wiki pages: > > > >> http://wiki.ovirt.org/wiki/Architecture > > > >> http://wiki.ovirt.org/wiki/SDK > > > >> http://wiki.ovirt.org/wiki/CLI > > > >> > > > >> and I guess you'll find more pages on ovirt.org . > > > >> > > > >> Good luck, > > > >> Oved > > > >> > > > >> > > > >> > > > >> ----- Original Message ----- > > > >>> From: "Marco Mornati" < mornatim@gmail.com > > > > >>> To: users@ovirt.org > > > >>> Sent: Thursday, October 11, 2012 12:09:53 PM > > > >>> Subject: [Users] Virtual Machine Provisiong > > > >>> > > > >>> > > > >>> Hello guys, > > > >>> > > > >>> > > > >>> I'm trying to integrate an automatic provisioning to my oVirt > > > >>> installation. Something like: API to create VM, NIC and Disk, tool > > > >>> to install SO (??). > > > >>> > > > >>> > > > >>> I'm actually working around aeolus (after a useless test with > > > >>> koan), > > > >>> but I'm not sure I can do what I want. I prefer not to use a PXE to > > > >>> get all things really automatic (something cloud style). > > > >>> > > > >>> > > > >>> Have you got any idea, suggestion and/or guide about it? > > > >>> > > > >>> > > > >>> Thanks a lot > > > >>> Marco > > > >>> _______________________________________________ > > > >>> 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 > > > > > > > > > > > >

On Oct 11, 2012, at 14:28 , Marco Mornati wrote:
hmmm If it needs to be really unattended you either have to attach the right disk with install ISO and supply(point to) the desired kickstart? You'd need to have a template only per each OS install iso.
Yes exactly. And the "iso" file could be a net address (for example directly on the centos servers). And you could have more than one kickstart per iso (that is the list proposed to the oVirt user):\
so - can you do that already by supplying these on kernel boot line - in Edit VM dialog? I thin that should work.
I tried but it does not work. For what I understood (but I didn't find lot of doc about this) the 3 parameters are used to specify kernel information but for an already installed machine. Means for example that the Kernel and Initd location should already be on the vm disk. I tried putting a remote location but my machine wouldn't start up... So I think I can't use the kernel parameters in oVirt
so then a combination of these? PXE with kernel per each OS. Split it to some MAC groups based on that, something like 00:00:00:00:00:xx would boot Fedora 17 kernel, 00:00:00:00:01:xx would boot Centos. You manually manage the MAC assignemnet when you create the VM using CLI/SDK Then customizable ks with desired packages in some network location, you point to these on kernel cmdline
Marco
Centos6 64 bit 10GB disk lvm no selinux Centos6 64 bit All avaiable disk space Centos6 64 bit with puppet and mcollective ....
Marco
To be clear, here yuo are what I'm traying in this moment:
https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?vers...
And if someone has aeolus experience and suggestions is welcome :D
Marco
On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote: On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
Hey Marco.
I see. My mistake... We don't have such a feature built-in yet, but I guess there may be other 3rd party products that integrate with oVirt in order to do so. Let's wait for other people to answer this thread.
Oved
----- Original Message -----
From: "Marco Mornati" <mornatim@gmail.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 11, 2012 1:09:56 PM Subject: Re: [Users] Virtual Machine Provisiong
Hello Oved,
thanks for your response, but, for me, provisioning means "Install Operating System and other packages". Is it possibile to do this directly using oVirt? I didn't find anything about it and that's the resason why I'm looking for others tools. well, if you want to select packages, etc., how would you present that to the user in ovirt GUI? Isn't it essentially the same as installing a VM with whatever you need using the desired OS installation method/GUI and save it as a template? And then deploy the template and do minor customizations (e.g. hostname change). We do plan to have support for such things in near future - we already have sysprep for Windows guests.
Thanks, michal
By and I can just start oVirt VM in "Run Once" mode, and putting the mac address in my PXE installation could start automatically. Problem is that I need to modify my PXE to create an automatic system. That's the reason puu me to look for anything else.
Marco
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli < ovedo@redhat.com > wrote:
oVirt exposes REST API that allows you to perform almost every operation in the oVirt engine, including provisioning, monitoring, performing different actions on the different entities, and etc.
We also have both SDK and CLI, which are based on this REST API.
Useful wiki pages: http://wiki.ovirt.org/wiki/Architecture http://wiki.ovirt.org/wiki/SDK http://wiki.ovirt.org/wiki/CLI
and I guess you'll find more pages on ovirt.org .
Good luck, Oved
----- Original Message -----
From: "Marco Mornati" < mornatim@gmail.com > To: users@ovirt.org Sent: Thursday, October 11, 2012 12:09:53 PM Subject: [Users] Virtual Machine Provisiong
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
Thanks a lot Marco _______________________________________________ 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

On 10/11/2012 08:28 AM, Marco Mornati wrote:
I tried but it does not work. For what I understood (but I didn't find lot of doc about this) the 3 parameters are used to specify kernel information but for an already installed machine. Means for example that the Kernel and Initd location should already be on the vm disk. I tried putting a remote location but my machine wouldn't start up... So I think I can't use the kernel parameters in oVirt
the initrd/kernel can also reside on the iso domain iirc (iso:// prefix or something like that)

On Thu, Oct 11, 2012 at 12:09 PM, Marco Mornati <mornatim@gmail.com> wrote:
Hello guys,
I'm trying to integrate an automatic provisioning to my oVirt installation. Something like: API to create VM, NIC and Disk, tool to install SO (??).
I'm actually working around aeolus (after a useless test with koan), but I'm not sure I can do what I want. I prefer not to use a PXE to get all things really automatic (something cloud style).
Have you got any idea, suggestion and/or guide about it?
You might consider using foreman [1] which has a pretty good integration with oVirt and can be used to: Provision your OS (redhat, debian, suse, solairs etc and their clones). Manage things like DNS, DHCP etc Configure your instances (using puppet) ... You can have a look how it might look like (via foreman ui) at [2], its libvirt based, but really is nearly the same for ovirt. Its currently using PXE based solutions (but image/template based alternatives would be available in the near future) Ohad [1] theforeman.org [2] http://www.youtube.com/watch?v=FYsHZbCQzH8
Thanks a lot Marco
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (5)
-
Itamar Heim
-
Marco Mornati
-
Michal Skrivanek
-
Ohad Levy
-
Oved Ourfalli