Meteos/Devstack

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 $ cd devstack/

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=

enable_service s-proxy s-object s-container s-account
 * 1) Enable Swift

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


 * 1) Force checkout prerequisites
 * 2) FORCE_PREREQ=1

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

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

SCREEN_LOGDIR=$DEST/logs/screen
 * 1) Enable logging


 * 1) Set ``OFFLINE`` to ``True`` to configure ``stack.sh`` to run cleanly
 * 2) without Internet access. ``stack.sh`` must have been previously run
 * 3) with Internet access to install prerequisites and fetch repositories.
 * 4) OFFLINE=True

enable_plugin heat https://git.openstack.org/openstack/heat enable_plugin sahara https://git.openstack.org/openstack/sahara enable_plugin meteos https://git.openstack.org/openstack/meteos enable_plugin meteos-ui https://git.openstack.org/openstack/meteos-ui
 * 1) Enable heat, sahara and meteos

3. Start DevStack
$ ./stack.sh

4. Upload Meteos Image
Upload Meteos Image to Glance.

This Image is developed based on Sahara Spark Image.

$ wget https://gitlab.com/guchi-hiro/meteos-images/raw/master/meteos-1.6.img $ source ~/devstack/openrc demo $ glance image-create --name meteos --container-format bare --disk-format qcow2 --file meteos-1.6.img