<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">Hi Ramy,</div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000"><br></div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">I got the following you mentioned, so as per my understanding here are the points:</div><div class="gmail_default" style=""><ul style=""><li style=""><font color="#000000" face="monospace, monospace">We need to install CI master on a VM (<b>Using Ubuntu 14.04 in my case</b>).</font></li><li style=""><font color="#000000" face="monospace, monospace">The Master VM should have properties like 8 GB RAM, 100 GB HD.</font></li><li style=""><font color="#000000" face="monospace, monospace">Nodepool, Jenkins and Zull will be installed in the master VM.</font></li><li style=""><font color="#000000" face="monospace, monospace">We had to create slaves images and configure it to nodepool (<b>Creating Ubuntu 14.04 images</b>).</font></li><li style=""><font color="#000000" face="monospace, monospace">Nodepool will create it automatically later.</font></li></ul><div><font color="#000000" face="monospace, monospace">Please guide me if I am wrong at any point. Also, your valuable suggestions are also welcome.</font></div></div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 19, 2015 at 7:24 PM, Asselin, Ramy <span dir="ltr"><<a href="mailto:ramy.asselin@hp.com" target="_blank">ramy.asselin@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Xies, Abhi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It works a bit differently.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Nodepool is responsible to launch VMs which it then registers as Jenkins Slaves.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">These Jenkins slaves have “labels” which identify certain user-properties such as Operating System, image contents, etc.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">When CI wants to run a test case it submits the job to Jenkins master to be run on any Jenkins slave that matches the desired “label”.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Jenkins will wait until a slave of that ‘label’ is available and assign the job once available.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ramy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Xie, Xianshan [mailto:<a href="mailto:xiexs@cn.fujitsu.com" target="_blank">xiexs@cn.fujitsu.com</a>]
<br>
<b>Sent:</b> Tuesday, August 18, 2015 10:59 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<span class=""><br>
<b>Subject:</b> Re: [openstack-dev] [openstack-infra][third-paty][CI][nodepool]Using Nodepool for creating slaves.<u></u><u></u></span></span></p>
</div>
</div><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Abhi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d">
</span><span style="color:#1f497d">IIUC, you should create and configure slaves(these slaves can be VMs or real physical machine) in Jenkins.<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:6.0pt"><span style="color:#1f497d">And
</span><span style="color:#1f497d">the nodepool is used to create and pool VMs automaticall</span><span style="color:#1f497d">y, and these VMs should be run on the slaves.</span><span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:6.0pt"><span style="color:#1f497d">T</span><span style="color:#1f497d">hen,
</span><span style="color:#1f497d">while</span><span style="color:#1f497d"> CI wants to build and execute a testcase</span><span style="color:#1f497d">,</span><span style="color:#1f497d">
especially which attempt</span><span style="color:#1f497d">s</span><span style="color:#1f497d"> to be run on an isolated host, the nodepool will match a proper VM for this testcase.</span><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:6.0pt"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:6.0pt"><span style="color:#1f497d">Hope this might help you.<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:6.0pt"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:6.0pt"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:6.0pt"><span style="color:#1f497d">Xiexs</span><span><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Abhishek Shrivastava [mailto:<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>]
<br>
<b>Sent:</b> Tuesday, August 18, 2015 1:46 PM<br>
<b>To:</b> <a href="mailto:openstack-infra@lists.openstack.org" target="_blank">openstack-infra@lists.openstack.org</a>; OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [openstack-infra][third-paty][CI][nodepool]Using Nodepool for creating slaves.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black">Also adding the following:<u></u><u></u></span></p>
</div>
<div>
<ul type="disc">
<li class="MsoNormal">
<span style="font-family:"Courier New";color:black"><a href="https://github.com/openstack-infra/project-config/tree/master/nodepool/elements" target="_blank">https://github.com/openstack-infra/project-config/tree/master/nodepool/elements</a></span><span><u></u><u></u></span></li></ul>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">Does this means that we don't have to take care of creating slaves(i.e; installing slave using scripts as we have done in master) and it will be done automatically, and
also we don't have to configure slaves in Jenkins.</span><span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">A bit confusing for me so if anyone can explain it to me then it will be very helpful.</span><span><u></u><u></u></span></p>
</div>
</div>
</div>
</span><div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div><span class="">
<p class="MsoNormal"><span>On Tue, Aug 18, 2015 at 11:11 AM, Abhishek Shrivastava <<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>> wrote:<u></u><u></u></span></p>
</span><div><span class="">
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black">Hi Folks,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black">I was going through Ramy's guide for setting up CI, there I found out the following:<u></u><u></u></span></p>
</div>
<div>
<ul type="disc">
<li class="MsoNormal">
<span style="font-family:"Courier New";color:black"><a href="https://github.com/rasselin/os-ext-testing#setting-up-nodepool-jenkins-slaves" target="_blank">https://github.com/rasselin/os-ext-testing#setting-up-nodepool-jenkins-slaves</a></span><span><u></u><u></u></span></li></ul>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">But I don't get the fact on how to create the image, also what major settings need to be done to make the config perfect for use. Can anyone help me with that?</span><span><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span><span style="color:#888888">--
</span><u></u><u></u></span></p>
</span><div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="color:#0b5394;border:solid windowtext 1.0pt;padding:0in"><img border="0" width="100" height="100" src="cid:~WRD000.jpg" alt="Image removed by sender."></span></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Times New Roman",serif;color:black">Thanks & Regards,</span></b><span style="color:#888888"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Times New Roman",serif;color:black">Abhishek</span></b><span style="color:#888888"><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><span style="color:#888888"><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span><br>
<br clear="all">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span>-- <u></u><u></u></span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="color:#0b5394;border:solid windowtext 1.0pt;padding:0in"><img border="0" width="100" height="100" src="cid:~WRD000.jpg" alt="Image removed by sender."></span></b><span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Times New Roman",serif;color:black">Thanks & Regards,</span></b><span><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Times New Roman",serif;color:black">Abhishek</span></b><span><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><span><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br></b></font></div><div><font color="#000000" size="2" face="times new roman, serif"><b>Thanks & Regards,<br></b></font></div><font color="#000000"><font size="2" face="times new roman, serif"><b>Abhishek</b></font><br></font></div></div><div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></font></u></i></div></div></div></div></div></div></div>
</div>