DevStack on Ubuntu 11.04 (x64)

information  This guide assumes your eth0 is 192.168.56.100 and you use AMG.net proxy
If needed use other values.

1. Add in /etc/bash.bashrc

export http_proxy=http://w3cache.amg.net.pl:8080
export https_proxy=http://w3cache.amg.net.pl:8080
export no_proxy=localhost,127.0.0.1,192.168.56.100

2. After you checkout devstack from master

git clone https://github.com/openstack-dev/devstack.git

3. Add localrc to ~/devstack/

echo "" > /devstack/localrc

Edit localrc and put those values (these are example values!)

MYSQL_PASSWORD=mysql
RABBIT_PASSWORD=rabbit
SERVICE_TOKEN=token
SERVICE_PASSWORD=password
ADMIN_PASSWORD=password
MYSQL_PASSWORD=mysql
RABBIT_PASSWORD=rabbit
SERVICE_TOKEN=token
SERVICE_PASSWORD=password
ADMIN_PASSWORD=password
ENABLED_SERVICES="$ENABLED_SERVICES,swift,heat,h-api,h-api-cfn,h-api-cw,h-eng"
HOST_IP=127.0.0.1
SWIFT_HASH=password
IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F16-x86_64-cfntools.qcow2"

Run stack.sh

/devstack/stack.sh

This may take a while.

To use CLI command for example 'nova list', 'heat-cfn list' and other OpenStack-realted create openrc.sh in your $HOME

information Remeber to set OS_TENANT_ID the same as 'admin' project ID
You can obtain this logging on horizon dashboard as admin/$ADMIN_PASSWORD, then find project 'admin' and copy this as OS_TENANT_ID

#!/bin/bash
export OS_AUTH_URL="http://127.0.0.1:5000/v2.0"
export OS_TENANT_ID="XXXXXXXXXXXX"
export OS_TENANT_NAME="admin"
export OS_USERNAME="admin"
echo "Please enter your openstack password: "
read -s OS_PASSWORD_INPUT
export OS_PASSWORD=$OS_PASSWORD_INPUT

Then use source

source openrc.sh


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 5.4.6 - Documentation - Legal Notice

Site maintained by