Difference between revisions of "OpenStack via DevStack"

From Xen
m
m (How to)
Line 6: Line 6:
 
''We are going to install the Xen Project Hypervisor then setup devstack.''
 
''We are going to install the Xen Project Hypervisor then setup devstack.''
   
* Install Xen
+
* Install Xen Project
 
sudo apt-get install xen-hypervisor-4.4-amd64
 
sudo apt-get install xen-hypervisor-4.4-amd64
 
sudo reboot
 
sudo reboot
Line 27: Line 27:
 
SCREEN_LOGDIR=$DEST/logs/screen
 
SCREEN_LOGDIR=$DEST/logs/screen
 
 
# This is a Xen host
+
# This is a Xen Project host
 
LIBVIRT_TYPE=xen
 
LIBVIRT_TYPE=xen
   

Revision as of 02:50, 6 February 2015

This page is describing how to quickly deploy an OpenStack by using the development tool DevStack on a single machine. Xen Project via libvirt is going to be used.

This how-to describes the steps took on an Ubuntu 14.04 LTS. Little changes should be required to do the same on the other distribution supported by devstack.

How to

We are going to install the Xen Project Hypervisor then setup devstack.

  • Install Xen Project
sudo apt-get install xen-hypervisor-4.4-amd64
sudo reboot
  • Get devstack
git clone https://git.openstack.org/openstack-dev/devstack
  • Configure devstack

Edit local.conf in the devstack working repository. (For more options, take a look at DevStack Configuration.)

[[local|localrc]]
ADMIN_PASSWORD=secrete
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50

# Usefull logging options for debuging
DEST=/opt/stack
LOGFILE=$DEST/logs/stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen

# This is a Xen Project host
LIBVIRT_TYPE=xen
  • Run devstack

This might take a while.

./stack.sh
  • Done!

Reference