Jump to: navigation, search

Meteos/Devstack

< Meteos
Revision as of 02:48, 29 November 2016 by HiroyukiEguchi (talk | contribs) (Created page with "== Setup DevStack == DevStack can be installed on Fedora, Ubuntu, and CentOS. For supported versions see [http://devstack.org/ DevStack documentation] This documentation based...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Setup DevStack

DevStack can be installed on Fedora, Ubuntu, and CentOS. For supported versions see DevStack documentation This documentation based on Setup Sahara on Devstack

We recommend that you install DevStack in a VM, rather than on your main system.

1. Install DevStack

$ sudo apt-get install git-core
$ git clone https://git.openstack.org/openstack-dev/devstack.git

2. Create the file local.conf

Create the file local.conf in devstack directory with the following content

[[localrc]]
ADMIN_PASSWORD=nova
MYSQL_PASSWORD=nova
RABBIT_PASSWORD=nova
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=nova

HOST_IP=<YOUR_IP_ADDRESS>

# Enable Swift
enable_service s-proxy s-object s-container s-account

SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data

# Force checkout prerequisites
# FORCE_PREREQ=1

# keystone is now configured by default to use PKI as the token format
# which produces huge tokens.
# set UUID as keystone token format which is much shorter and easier to
# work with.
KEYSTONE_TOKEN_FORMAT=UUID

# Change the FLOATING_RANGE to whatever IPs VM is working in.
# In NAT mode it is the subnet VMware Fusion provides, in bridged mode
# it is your local network. But only use the top end of the network by
# using a /27 and starting at the 224 octet.
FLOATING_RANGE=192.168.55.224/27

# Enable logging
SCREEN_LOGDIR=$DEST/logs/screen

# Set ``OFFLINE`` to ``True`` to configure ``stack.sh`` to run cleanly
# without Internet access. ``stack.sh`` must have been previously run
# with Internet access to install prerequisites and fetch repositories.
# OFFLINE=True

# Enable sahara
enable_plugin sahara git://git.openstack.org/openstack/sahara
enable_plugin meteos git://git.openstack.org/openstack/meteos

3. Stark DevStack

$ ./stack.sh