Jump to: navigation, search

Difference between revisions of "Meteos/Devstack"

(1. Install DevStack)
(2. Create the file local.conf)
Line 17: Line 17:
 
Create the file local.conf in devstack directory with the following content
 
Create the file local.conf in devstack directory with the following content
  
[[[[local|localrc]]]]
+
<pre>
ADMIN_PASSWORD=nova
+
[[local|localrc]]
MYSQL_PASSWORD=nova
+
ADMIN_PASSWORD=nova
RABBIT_PASSWORD=nova
+
MYSQL_PASSWORD=nova
SERVICE_PASSWORD=$ADMIN_PASSWORD
+
RABBIT_PASSWORD=nova
SERVICE_TOKEN=nova
+
SERVICE_PASSWORD=$ADMIN_PASSWORD
+
SERVICE_TOKEN=nova
HOST_IP=<YOUR_IP_ADDRESS>
+
 
+
HOST_IP=<YOUR_IP_ADDRESS>
# Enable Swift
+
 
enable_service s-proxy s-object s-container s-account
+
# Enable Swift
+
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
+
 
SWIFT_REPLICAS=1
+
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_DATA_DIR=$DEST/data
+
SWIFT_REPLICAS=1
+
SWIFT_DATA_DIR=$DEST/data
# Force checkout prerequisites
+
 
# FORCE_PREREQ=1
+
# Force checkout prerequisites
+
# FORCE_PREREQ=1
# keystone is now configured by default to use PKI as the token format
+
 
# which produces huge tokens.
+
# keystone is now configured by default to use PKI as the token format
# set UUID as keystone token format which is much shorter and easier to
+
# which produces huge tokens.
# work with.
+
# set UUID as keystone token format which is much shorter and easier to
KEYSTONE_TOKEN_FORMAT=UUID
+
# 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
+
# Change the FLOATING_RANGE to whatever IPs VM is working in.
# it is your local network. But only use the top end of the network by
+
# In NAT mode it is the subnet VMware Fusion provides, in bridged mode
# using a /27 and starting at the 224 octet.
+
# it is your local network. But only use the top end of the network by
FLOATING_RANGE=192.168.55.224/27
+
# using a /27 and starting at the 224 octet.
+
FLOATING_RANGE=192.168.55.224/27
# Enable logging
+
 
SCREEN_LOGDIR=$DEST/logs/screen
+
# 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
+
# Set ``OFFLINE`` to ``True`` to configure ``stack.sh`` to run cleanly
# with Internet access to install prerequisites and fetch repositories.
+
# without Internet access. ``stack.sh`` must have been previously run
# OFFLINE=True
+
# with Internet access to install prerequisites and fetch repositories.
+
# OFFLINE=True
# Enable sahara and meteos
+
 
enable_plugin sahara git://git.openstack.org/openstack/sahara
+
# Enable sahara and meteos
enable_plugin meteos git://git.openstack.org/openstack/meteos
+
enable_plugin sahara git://git.openstack.org/openstack/sahara
 +
enable_plugin meteos git://git.openstack.org/openstack/meteos
 +
</pre>
  
 
=== 3. Stark DevStack ===
 
=== 3. Stark DevStack ===
  
 
  $ ./stack.sh
 
  $ ./stack.sh

Revision as of 05:37, 30 November 2016

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

[[local|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 and meteos
enable_plugin sahara git://git.openstack.org/openstack/sahara
enable_plugin meteos git://git.openstack.org/openstack/meteos

3. Stark DevStack

$ ./stack.sh