Jump to: navigation, search

Difference between revisions of "XenServer/GateIntegration"

 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Backround for Nodepool ==
+
== Last Status Update ==
 +
As this page contains statuses, which will vary in time, so the latest update should follow this line:
 +
 
 +
--[[User:Mate Lakat|mate-lakat]] ([[User talk:Mate Lakat|talk]]) 10:23, 7 February 2014 (UTC)
 +
 
 +
== Background for Nodepool ==
 
The standard Nodepool population looks like:
 
The standard Nodepool population looks like:
 
* Launch server
 
* Launch server
Line 6: Line 11:
 
* Populate pool from snapshot
 
* Populate pool from snapshot
 
* Node is ready when it's accessible through SSH
 
* Node is ready when it's accessible through SSH
 +
 
Whereas, we need some additional entry points:
 
Whereas, we need some additional entry points:
* <span style="color:silver;">Launch server</span>
+
* Launch server
 
* <span style="color:orange;">&#10026;</span> 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.
 
* <span style="color:orange;">&#10026;</span> 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.
* <span style="color:silver;">Bootstrap instance</span>
+
* Bootstrap instance
* <span style="color:orange;">&#10026;</span> Pre-snapshot script and timeout - Before taking a snapshot, we need to halt the server. Therefore we execute a halt in dom0, and ask nodepool to wait for a specified timeout. The timeout should be enough for the server to halt.
+
* Snapshot server
* <span style="color:silver;">Snapshot server</span>
+
* Populate pool from snapshot
* <span style="color:silver;">Populate pool from snapshot</span>
 
 
* <span style="color:orange;">&#10026;</span> 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.
 
* <span style="color:orange;">&#10026;</span> 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.
* <span style="color:silver;">Node is ready when it's accessible through SSH</span>
+
* Node is ready when it's accessible through SSH
 
 
  
 
== Changes to Requirements ==
 
== Changes to Requirements ==
* <span style="color:orange;font-size:20pt">&#8987;</span> - WAITING - https://review.openstack.org/68181 - Add XenAPI package to requirements - this way, it will be cached by Openstack's PyPi mirror.
+
* <span style="color:green;font-size:20pt">&#10004;</span> - 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 ==
 
== Changes to DevStack ==
 
* <span style="color:green;font-size:20pt">&#10004;</span> - MERGED - https://review.openstack.org/68136 - modify devstack, so gate will pre-cache the image (cirros vhd tgz)  
 
* <span style="color:green;font-size:20pt">&#10004;</span> - MERGED - https://review.openstack.org/68136 - modify devstack, so gate will pre-cache the image (cirros vhd tgz)  
* <span style="color:red;font-size:20pt">&#10008;</span> - MISSING - Move dom0 modifications to stack.sh
+
* <span style="color:orange;font-size:20pt">&#8987;</span> - WAITING - https://review.openstack.org/70999 - Move dom0 modifications to stack.sh - part 1
 +
* <span style="color:red;font-size:20pt">&#10008;</span> - 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:<pre>SSH_DOM0</pre> to find dom zero modifications.
 
** The incubator for the modifications is here: https://github.com/citrix-openstack/xenapi-os-testing/blob/master/launch-node.sh Search for the string:<pre>SSH_DOM0</pre> to find dom zero modifications.
 +
** We need to pull the block-device and network creation to domU
  
 
== Changes to Config ==
 
== Changes to Config ==
* <span style="color:red;font-size:20pt">&#10008;</span> - OUTDATED - https://review.openstack.org/60581 - Script to convert an image to a XenServer
+
* <span style="color:orange;font-size:20pt">&#8987;</span> - 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
 
** The incubator for this script is here: https://github.com/citrix-openstack/xenapi-in-the-cloud
** The incubator needs to be tagged, and released, the changeset should be updated
+
** version 2.0.1 has been pushed to openstack-infra/config
 
* <span style="color:red;font-size:20pt">&#10008;</span> - OUTDATED - https://review.openstack.org/60902 - Add node type of devstack-xenserver
 
* <span style="color:red;font-size:20pt">&#10008;</span> - OUTDATED - https://review.openstack.org/60902 - Add node type of devstack-xenserver
 
* <span style="color:red;font-size:20pt">&#10008;</span> - OUTDATED - https://review.openstack.org/60903 - Add in a new job to run tests on XenServer
 
* <span style="color:red;font-size:20pt">&#10008;</span> - OUTDATED - https://review.openstack.org/60903 - Add in a new job to run tests on XenServer
Line 34: Line 40:
 
== Changes to Nodepool ==
 
== Changes to Nodepool ==
 
* <span style="color:orange;font-size:20pt">&#8987;</span> - 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
 
* <span style="color:orange;font-size:20pt">&#8987;</span> - 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
* <span style="color:red;font-size:20pt">&#10008;</span> - MISSING - Pre-snapshot script and timeout - The script will halt the node, and the wait will make sure, that the machine has enough time to halt. It's safe to snapshot a halted server.
 
 
* <span style="color:orange;font-size:20pt">&#8987;</span> - WAITING - Support status file polling on node launch: https://review.openstack.org/65261
 
* <span style="color:orange;font-size:20pt">&#8987;</span> - WAITING - Support status file polling on node launch: https://review.openstack.org/65261
  
 
== Changes to DevStack-Gate ==
 
== Changes to DevStack-Gate ==
 
* <span style="color:red;font-size:20pt">&#10008;</span> - 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
 
* <span style="color:red;font-size:20pt">&#10008;</span> - 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 ==
 +
--[[User:Mate Lakat|mate-lakat]] ([[User talk:Mate Lakat|talk]]) 10:23, 7 February 2014 (UTC)
 +
* pull changes up to domU has been split into two work items
 +
 +
--[[User:Mate Lakat|mate-lakat]] ([[User talk:Mate Lakat|talk]]) 18:13, 6 February 2014 (UTC)
 +
* Status ox XenAPI package caching has changed to Merged
 +
 +
--[[User:Mate Lakat|mate-lakat]] ([[User talk:Mate Lakat|talk]]) 11:46, 30 January 2014 (UTC)
 +
* Removed leftovers from pre-snapshot and timeout script, updated installer's status.
 +
 +
--[[User:Mate Lakat|mate-lakat]] ([[User talk: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

Latest revision as of 10:23, 7 February 2014

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
  • 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
  • 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

Changes to DevStack

Changes to Config

Changes to Nodepool

Changes to DevStack-Gate

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)