<div dir="ltr">Just curious...<div>Will this run in OpenStack infrastructure or is it a third part CI ?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 11, 2013 at 2:43 PM, Mate Lakat <span dir="ltr"><<a href="mailto:mate.lakat@citrix.com" target="_blank">mate.lakat@citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
We are working to get test coverage for XenServer, and wanted to share<br>
the ideas, to see if we are on the right path. The goal would be to use<br>
the official CI to run tests on XenServer.<br>
<br>
1 - Installation<br>
<br>
So the issue, is that there is no XenServer image available in the RS<br>
cloud. In order to install an XS instance, we can take a standard image,<br>
execute a script on it, and end up with a running XS. The only issue,<br>
that during this install phase, several reboots are performed. To add<br>
support for the install phase in nodepool, see this change:<br>
<br>
<a href="https://review.openstack.org/61463" target="_blank">https://review.openstack.org/61463</a><br>
<br>
2 - Prepare your system for imaging<br>
<br>
After nodepool finished with the installation, it should be able to<br>
access a standard distribution on the public IP, so it will happily<br>
execute the setup script. However, before creating a snapshot from the<br>
instance, we would need to tell the hypervisor, that it'll be<br>
snapshotted - so during the next boot, it will be able to pick up new IP<br>
addresses, etc (sort of Windows' sysprep)<br>
<br>
We haven't committed any patch for this yet<br>
<br>
After these bits solved, several instances could be launched from the<br>
snapshot, and we expect that with a proper localrc, they will be<br>
well-behaving nodes.<br>
<br>
3 - Wire up to the system<br>
<br>
Our understanding, is that we'll need to:<br>
<br>
Add the install, and prepare scripts to:<br>
config/modules/openstack_project/files/nodepool/scripts<br>
Configure the images in:<br>
config/modules/openstack_project/templates/nodepool/nodepool.yaml.erb<br>
Add localrc tweaks here:<br>
devstack-gate/devstack-vm-gate.sh<br>
Add jobs here:<br>
config/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml<br>
And ask zuul to trigger them here:<br>
config/modules/openstack_project/files/zuul/layout.yaml<br>
<br>
The wip changes to these are proposed by John:<br>
<a href="https://review.openstack.org/#/c/60900/" target="_blank">https://review.openstack.org/#/c/60900/</a><br>
<a href="https://review.openstack.org/#/c/60902/" target="_blank">https://review.openstack.org/#/c/60902/</a><br>
<a href="https://review.openstack.org/#/c/60903/" target="_blank">https://review.openstack.org/#/c/60903/</a><br>
<br>
Any suggestions regarding to these changes?<br>
<br>
Thanks,<br>
Mate<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Mate Lakat<br>
<br>
_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br>
</font></span></blockquote></div><br></div>