[Engine-devel] Please review: All In One Feature page

Hi All I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup. Please review and provide feedback :-) Thanks [1] http://www.ovirt.org/wiki/Feature/AllInOne

On 04/01/2012 12:09 PM, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
1. "Plugin will wait to allow JBoss to start correctly. This is done because other steps involve using REST API (with ovirtsdk), which requires JBoss to be up. " how are you planning to perform this check? 2. "Plugin will create a local host and add it to host list." worth mentioning bootstrapping code was changed to allow to not reboot a host for this. 3. "The plugin works by providing parameters, group and sequences and adding them into the Controller object (the main object of the setup flow), which will invoke appropriate logic during the setup operation. " nice - I like it is modular code.

----- Original Message -----
From: "Itamar Heim" <iheim@redhat.com> To: "Alex Lourie" <alourie@redhat.com> Cc: engine-devel@ovirt.org Sent: Sunday, April 1, 2012 4:26:57 PM Subject: Re: [Engine-devel] Please review: All In One Feature page
On 04/01/2012 12:09 PM, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
1. "Plugin will wait to allow JBoss to start correctly. This is done because other steps involve using REST API (with ovirtsdk), which requires JBoss to be up. "
how are you planning to perform this check?
2. "Plugin will create a local host and add it to host list." worth mentioning bootstrapping code was changed to allow to not reboot a host for this.
3. "The plugin works by providing parameters, group and sequences and adding them into the Controller object (the main object of the setup flow), which will invoke appropriate logic during the setup operation. "
nice - I like it is modular code. Sounds indeed modular. Not really familiar with the architecture of the setup process today, so I have a one question: How easy will it be in the future to write a plugin that performs different actions?
I'm asking because of the gluster integration. They might also want such a "all in one" feature, and in their case the CPU type is irrelevant, some of the steps are similar, and some other steps will have to be performed, such as format partition, create bricks, volumes and etc. We should think about this today, as they might need this tomorrow :-) Thank you, Oved
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

On 04/01/2012 07:01 PM, Oved Ourfalli wrote:
----- Original Message -----
From: "Itamar Heim"<iheim@redhat.com> To: "Alex Lourie"<alourie@redhat.com> Cc: engine-devel@ovirt.org Sent: Sunday, April 1, 2012 4:26:57 PM Subject: Re: [Engine-devel] Please review: All In One Feature page
On 04/01/2012 12:09 PM, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
1. "Plugin will wait to allow JBoss to start correctly. This is done because other steps involve using REST API (with ovirtsdk), which requires JBoss to be up. "
how are you planning to perform this check?
2. "Plugin will create a local host and add it to host list." worth mentioning bootstrapping code was changed to allow to not reboot a host for this.
3. "The plugin works by providing parameters, group and sequences and adding them into the Controller object (the main object of the setup flow), which will invoke appropriate logic during the setup operation. "
nice - I like it is modular code. Sounds indeed modular. Not really familiar with the architecture of the setup process today, so I have a one question: How easy will it be in the future to write a plugin that performs different actions?
It's quite modular and it's very easy to create another plugin.
I'm asking because of the gluster integration. They might also want such a "all in one" feature, and in their case the CPU type is irrelevant, some of the steps are similar, and some other steps will have to be performed, such as format partition, create bricks, volumes and etc.
We should think about this today, as they might need this tomorrow :-)
Thank you, Oved
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- Alex Lourie.

On 04/01/2012 12:09 PM, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
Please review and provide feedback :-)
- If the code is in code review, it's worth linking to relevant gerrit link. - How is this supported with silent installation? - What limitations, if any, exist in an all-in-one installation (for example, fencing). Y.
Thanks
[1] http://www.ovirt.org/wiki/Feature/AllInOne _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

This is a multi-part message in MIME format. --------------020909030307070103040403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/01/2012 07:14 PM, Yaniv Kaul wrote:
On 04/01/2012 12:09 PM, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
Please review and provide feedback :-)
- If the code is in code review, it's worth linking to relevant gerrit link. http://gerrit.ovirt.org/#change,2221 - How is this supported with silent installation? Fully. You'll have to create a new answer file, but with that it will work fine. - What limitations, if any, exist in an all-in-one installation (for example, fencing).
Not that I know of, maybe Ofer/Barak would know?
Y.
Thanks
[1] http://www.ovirt.org/wiki/Feature/AllInOne _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- Alex Lourie. --------------020909030307070103040403 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> On 04/01/2012 07:14 PM, Yaniv Kaul wrote: <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">On 04/01/2012 12:09 PM, Alex Lourie wrote: <br> <blockquote type="cite">Hi All <br> <br> I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup. <br> <br> Please review and provide feedback :-) <br> </blockquote> <br> - If the code is in code review, it's worth linking to relevant gerrit link. <br> </blockquote> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <a href="http://gerrit.ovirt.org/#change,2221">http://gerrit.ovirt.org/#change,2221</a> <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">- How is this supported with silent installation? <br> </blockquote> Fully. You'll have to create a new answer file, but with that it will work fine.<br> <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">- What limitations, if any, exist in an all-in-one installation (for example, fencing). <br> <br> </blockquote> <br> Not that I know of, maybe Ofer/Barak would know?<br> <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">Y. <br> <br> <blockquote type="cite"> <br> Thanks <br> <br> [1] <a class="moz-txt-link-freetext" href="http://www.ovirt.org/wiki/Feature/AllInOne">http://www.ovirt.org/wiki/Feature/AllInOne</a> <br> _______________________________________________ <br> Engine-devel mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a> <br> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> <br> </blockquote> <br> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Alex Lourie.</pre> </body> </html> --------------020909030307070103040403--

On 04/02/2012 12:02 AM, Alex Lourie wrote:
On 04/01/2012 07:14 PM, Yaniv Kaul wrote:
On 04/01/2012 12:09 PM, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
Please review and provide feedback :-)
- If the code is in code review, it's worth linking to relevant gerrit link. http://gerrit.ovirt.org/#change,2221 - How is this supported with silent installation? Fully. You'll have to create a new answer file, but with that it will work fine. - What limitations, if any, exist in an all-in-one installation (for example, fencing).
Not that I know of, maybe Ofer/Barak would know?
from the description in the wiki, it will by default create a local storage DC/cluster and configure the host in it. fencing is not relevant for local storage, as they can currently have only a single host per DC.

This is a multi-part message in MIME format. --------------040206010106090509020000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/02/2012 12:02 AM, Alex Lourie wrote:
On 04/01/2012 07:14 PM, Yaniv Kaul wrote:
On 04/01/2012 12:09 PM, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
Please review and provide feedback :-)
- If the code is in code review, it's worth linking to relevant gerrit link. http://gerrit.ovirt.org/#change,2221
Link in the wiki, next to 'Currently in code review'.
- How is this supported with silent installation? Fully. You'll have to create a new answer file, but with that it will work fine.
Any new item that we need to add to the answer file? Y.
- What limitations, if any, exist in an all-in-one installation (for example, fencing).
Not that I know of, maybe Ofer/Barak would know?
Y.
Thanks
[1] http://www.ovirt.org/wiki/Feature/AllInOne _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- Alex Lourie.
--------------040206010106090509020000 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> On 04/02/2012 12:02 AM, Alex Lourie wrote: <blockquote cite="mid:4F78C268.5030705@redhat.com" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> On 04/01/2012 07:14 PM, Yaniv Kaul wrote: <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">On 04/01/2012 12:09 PM, Alex Lourie wrote: <br> <blockquote type="cite">Hi All <br> <br> I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup. <br> <br> Please review and provide feedback :-) <br> </blockquote> <br> - If the code is in code review, it's worth linking to relevant gerrit link. <br> </blockquote> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <a moz-do-not-send="true" href="http://gerrit.ovirt.org/#change,2221">http://gerrit.ovirt.org/#change,2221</a></blockquote> <br> Link in the wiki, next to 'Currently in code review'.<br> <br> <br> <br> <blockquote cite="mid:4F78C268.5030705@redhat.com" type="cite"> <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">- How is this supported with silent installation? <br> </blockquote> Fully. You'll have to create a new answer file, but with that it will work fine.<br> </blockquote> <br> Any new item that we need to add to the answer file?<br> Y.<br> <br> <blockquote cite="mid:4F78C268.5030705@redhat.com" type="cite"> <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">- What limitations, if any, exist in an all-in-one installation (for example, fencing). <br> <br> </blockquote> <br> Not that I know of, maybe Ofer/Barak would know?<br> <blockquote cite="mid:4F787ED0.6030203@redhat.com" type="cite">Y. <br> <br> <blockquote type="cite"> <br> Thanks <br> <br> [1] <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.ovirt.org/wiki/Feature/AllInOne">http://www.ovirt.org/wiki/Feature/AllInOne</a> <br> _______________________________________________ <br> Engine-devel mailing list <br> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a> <br> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> <br> </blockquote> <br> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Alex Lourie.</pre> </blockquote> <br> </body> </html> --------------040206010106090509020000--

On 01/04/12 12:09, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
Please review and provide feedback :-)
Thanks
[1] http://www.ovirt.org/wiki/Feature/AllInOne _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
One thing I noticed is that you plan to install engine-core, and then add the host using REST (sdk). Please note that prior to starting JBoss you need to create the ovirtmgmt bridge. If it doesn't exist when you add the host, then it'll be created and network may be corrupted, especially with JBoss up & running over it.

On Tue 03 Apr 2012 06:10:44 PM IDT, Doron Fediuck wrote:
On 01/04/12 12:09, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
Please review and provide feedback :-)
Thanks
[1] http://www.ovirt.org/wiki/Feature/AllInOne _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
One thing I noticed is that you plan to install engine-core, and then add the host using REST (sdk). Please note that prior to starting JBoss you need to create the ovirtmgmt bridge. If it doesn't exist when you add the host, then it'll be created and network may be corrupted, especially with JBoss up& running over it.
As far as I've seen in testing, the creation of the bridge was working fine. And why would it be different between automatic and manual creation of the host? -- Alex Lourie.

So far, no one created a bridge under JBoss' legs while it's up & running. Bridge creation happens on hosts and not in the engine-core machine. So up until now we had JBoss up & running in his machine, and when it installed a new host, a script would run on that new host to change networking for the new bridge to be created. During this time JBoss is monitoring the process from a (safe) distance. Now, an web-app running on top of JBoss (you may know it as engine-core) is doing network changes while the app-server (JBoss...) is running and listens to 0.0.0.0 and maybe locally as well to specific ports. In this situation network changes should happen only if you /know/ it's safe, or even better- do it /before/ starting JBoss. So when JBoss starts network should be stable. On 04/04/12 11:00, Alex Lourie wrote:
On Tue 03 Apr 2012 06:10:44 PM IDT, Doron Fediuck wrote:
On 01/04/12 12:09, Alex Lourie wrote:
Hi All
I've written a new wiki page [1] for a feature we've developed, called All in One. This allows configuring VDSM on the same host with rhevm (ovirt) automatically during setup.
Please review and provide feedback :-)
Thanks
[1] http://www.ovirt.org/wiki/Feature/AllInOne _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
One thing I noticed is that you plan to install engine-core, and then add the host using REST (sdk). Please note that prior to starting JBoss you need to create the ovirtmgmt bridge. If it doesn't exist when you add the host, then it'll be created and network may be corrupted, especially with JBoss up& running over it.
As far as I've seen in testing, the creation of the bridge was working fine. And why would it be different between automatic and manual creation of the host?
-- Alex Lourie. _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- /d Why doesn't DOS ever say "EXCELLENT command or filename!"
participants (5)
-
Alex Lourie
-
Doron Fediuck
-
Itamar Heim
-
Oved Ourfalli
-
Yaniv Kaul