Jump to: navigation, search

Difference between revisions of "XenServer/DevStackJeOS"

(Created page with "= Speeding up DevStack with a JeOS template = As XenServer runs all the OpenStack services in a separate VM, DevStack needs to install a new operating system during its first...")
 
(Fix script download link)
 
Line 3: Line 3:
 
As XenServer runs all the OpenStack services in a separate VM, DevStack needs to install a new operating system during its first run. This is achieved by performing a netinstall with a preseed file. If you use DevStack in a CI environment, you most probably start each DevStack execution with an empty hypervisor. To speed up such scenarios, you can re-use a JeOS template from a previous DevStack run.
 
As XenServer runs all the OpenStack services in a separate VM, DevStack needs to install a new operating system during its first run. This is achieved by performing a netinstall with a preseed file. If you use DevStack in a CI environment, you most probably start each DevStack execution with an empty hypervisor. To speed up such scenarios, you can re-use a JeOS template from a previous DevStack run.
  
To achieve this, we provide a [[https://github.com/citrix-openstack/qa/blob/master/install-devstack-xen.sh|script, that could be downloaded from github]].
+
To achieve this, we provide a [https://github.com/citrix-openstack/qa/blob/master/install-devstack-xen.sh script that can be downloaded from GitHub].
  
 
To export the JeOS template after a successful DevStack run, use:
 
To export the JeOS template after a successful DevStack run, use:

Latest revision as of 09:06, 5 March 2014

Speeding up DevStack with a JeOS template

As XenServer runs all the OpenStack services in a separate VM, DevStack needs to install a new operating system during its first run. This is achieved by performing a netinstall with a preseed file. If you use DevStack in a CI environment, you most probably start each DevStack execution with an empty hypervisor. To speed up such scenarios, you can re-use a JeOS template from a previous DevStack run.

To achieve this, we provide a script that can be downloaded from GitHub.

To export the JeOS template after a successful DevStack run, use:

   ./install-devstack-xen.sh $HOST $XenServerPassword devstack_key.priv -e external-precise.xva

The exported xva could be shared on a webserver, and it could be re-used later. As an example, in our CI, we use this command line to execute devstack:

   ./install-devstack-xen.sh $HOST $XenServerPassword devstack_key.priv -j http://[path-to-webserver]/external-precise.xva

This significantly speeds up the devstack execution.