Difference between revisions of "Meteos/Devstack"
< Meteos
(→1. Install DevStack) |
Nishad.shah (talk | contribs) m (→3. Stark DevStack) |
||
Line 65: | Line 65: | ||
</pre> | </pre> | ||
− | === 3. | + | === 3. Start DevStack === |
<pre> | <pre> |
Latest revision as of 00:56, 28 June 2017
Contents
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
[[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 heat, sahara and meteos 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
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