XenServer/GateIntegration

Last Status Update
As this page contains statuses, which will vary in time, so the latest update should follow this line:

--mate-lakat (talk) 10:23, 7 February 2014 (UTC)

Background for Nodepool
The standard Nodepool population looks like:
 * Launch server
 * Bootstrap server
 * Snapshot server
 * Populate pool from snapshot
 * Node is ready when it's accessible through SSH

Whereas, we need some additional entry points:
 * Launch server
 * &#10026; Install server and poll status file - This phase will install XenServer on the server. As installing XenServer includes rebooting the server, the best way to figure out when the installation is finished, is to try to connect to the server through ssh, and check if a specific status file exists.
 * Bootstrap instance
 * Snapshot server
 * Populate pool from snapshot
 * &#10026; Poll status file on node launch - As starting the image invlolves an automatic reboot, we again need a proper way to make sure, that XenServer is up and running. This could be achieved with the same polling mechanism that we used for Poll install status.
 * Node is ready when it's accessible through SSH

Changes to Requirements

 * &#10004; - MERGED - https://review.openstack.org/68181 - Add XenAPI package to requirements - this way, it will be cached by Openstack's PyPi mirror.

Changes to DevStack

 * &#10004; - MERGED - https://review.openstack.org/68136 - modify devstack, so gate will pre-cache the image (cirros vhd tgz)
 * &#8987; - WAITING - https://review.openstack.org/70999 - Move dom0 modifications to stack.sh - part 1
 * &#10008; - MISSING - ??? - Move dom0 modifications to stack.sh - part 2
 * The incubator for the modifications is here: https://github.com/citrix-openstack/xenapi-os-testing/blob/master/launch-node.sh Search for the string: SSH_DOM0 to find dom zero modifications.
 * We need to pull the block-device and network creation to domU

Changes to Config

 * &#8987; - WAITING - https://review.openstack.org/60581 - Script to convert an image to a XenServer
 * The incubator for this script is here: https://github.com/citrix-openstack/xenapi-in-the-cloud
 * version 2.0.1 has been pushed to openstack-infra/config
 * &#10008; - OUTDATED - https://review.openstack.org/60902 - Add node type of devstack-xenserver
 * &#10008; - OUTDATED - https://review.openstack.org/60903 - Add in a new job to run tests on XenServer

Changes to Nodepool

 * &#8987; - WAITING - Install phase - execute a script, that converts the node to a XenServer, and use polling to find out when it's finished: https://review.openstack.org/61463
 * &#8987; - WAITING - Support status file polling on node launch: https://review.openstack.org/65261

Changes to DevStack-Gate

 * &#10008; - OUTDATED - https://review.openstack.org/60900 - Support XenAPI driver in gate: localrc generation. - The incubator for these changes is here: https://github.com/matelakat/devstack-gate/tree/xenserver-integration

History
--mate-lakat (talk) 10:23, 7 February 2014 (UTC)
 * pull changes up to domU has been split into two work items

--mate-lakat (talk) 18:13, 6 February 2014 (UTC)
 * Status ox XenAPI package caching has changed to Merged

--mate-lakat (talk) 11:46, 30 January 2014 (UTC)
 * Removed leftovers from pre-snapshot and timeout script, updated installer's status.

--mate-lakat (talk) 08:18, 30 January 2014 (UTC)
 * Removed pre-snapshot timeout and script - it's fixed by: https://github.com/citrix-openstack/xenapi-in-the-cloud/pull/52/files
 * Marked XenServer installer as outdated