<p dir="ltr">Hey Sebastian, </p>
<p dir="ltr">This looks awesome. Does it matter what configuration management engine I'm using? I've been experimenting with The Foreman and Chef and this looks like the exact direction my brain was headed. </p>
<p dir="ltr">Thanks! <br>
Jon A</p>
<div class="gmail_quote">On May 16, 2014 2:55 AM, "Sebastian Saemann" <<a href="mailto:Sebastian.Saemann@netways.de">Sebastian.Saemann@netways.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
<br>
we at Netways implemented a compute resource functionality for the foreman project. It can be used to deploy virtual machines within OpenNebula using the foreman interface which configures DNS,DHCP,PXE,Puppet and so on as well. The functionality is covered by using and extending the ruby fog library. The pull requests can be found on github:<br>
<br>
<a href="https://github.com/theforeman/foreman/pull/1443" target="_blank">https://github.com/theforeman/foreman/pull/1443</a><br>
<a href="https://github.com/fog/fog/pull/2919" target="_blank">https://github.com/fog/fog/pull/2919</a><br>
<br>
a quick demo can be found here:<br>
<a href="https://blog.netways.de/2014/05/13/videoblog-unser-foreman-opennebula-setup/" target="_blank">https://blog.netways.de/2014/05/13/videoblog-unser-foreman-opennebula-setup/</a><br>
<br>
The idea is to create a blank (empty image) VM via Foreman in OpenNebula, which then will be fully deployed from scratch. Installation will be done with a PXE-Boot and Kickstart/Preseed installation. Additional software on top like Apache and stuff like that will be installed and configured with puppet. Everything can be chosen via the foreman interface which interacts with all infrastructure elements. Also it would be possible to use contextualized prepared images, but we did not implemented it yet.<br>
<br>
We are using this feature for some days right now in production and it is really cool. It definitely will and should not replace the sunstone interface, its just a interaction via the RPC API of OpenNebula.<br>
<br>
Please let me know what you guys think of this approach. Every feedback is very welcome and contribution or help for getting it pushed to the master branch of the projects (foreman, fog) is of course appreciated.<br>
<br>
Regards,<br>
<br>
Sebastian<br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Sebastian Saemann<br>
Senior Systems Engineer<br>
<br>
NETWAYS Managed Services GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg<br>
Tel: <a href="tel:%2B49%20911%2092885-0" value="+49911928850">+49 911 92885-0</a> | Fax: <a href="tel:%2B49%20911%2092885-77" value="+499119288577">+49 911 92885-77</a><br>
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB25207<br>
<a href="http://www.netways.de" target="_blank">http://www.netways.de</a> | <a href="mailto:sebastian.saemann@netways.de">sebastian.saemann@netways.de</a><br>
<br>
** Open Source Backup Conference 2014 - September - <a href="http://osbconf.org" target="_blank">osbconf.org</a> **<br>
** Puppet Camp Duesseldorf 2014 - Oktober - <a href="http://netways.de/puppetcamp" target="_blank">netways.de/puppetcamp</a> **<br>
** OSMC 2014 - November - <a href="http://netways.de/osmc" target="_blank">netways.de/osmc</a> **<br>
** OpenNebula Conf 2014 - Dezember - <a href="http://opennebulaconf.com" target="_blank">opennebulaconf.com</a> **<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div>