App Icon OpenStack Mitaka (DevStack)

Launch Complex Appliance at CHI@UC     Launch Complex Appliance at CHI@TACC

Description

This appliance deploys OpenStack Mitaka with DevStack over one controller node and a configurable number of compute nodes.

It accepts the following parameters:

  • compute_node_count: number of compute nodes in this OpenStack deployment (defaults to 2)
  • key_name: name of a key pair to enable SSH access to the instance (defaults to "default")
  • reservation_id: ID of the Blazar reservation to use for launching instances

The appliance will take about 30 minutes to fully deploy (including devstack installation). Once finished, attach a floating IP to the control node and log in as the cc user. DevStack is installed under the stack user, switch to it with:

sudo su - stack

Change to the DevStack directory and source the openrc file:

cd devstack
source openrc

Launch an instance:

nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.small my-first-devstack-instance

Run nova show my-devstack-instance to find its private IP, e.g. 192.168.1.3.

We do not yet support attaching Chameleon floating IPs to DevStack virtual machines. As such, to SSH to your instance, you need the name of the router IP namespace allocated for the private network:

$ ip netns
qrouter-33818dff-8e46-45d2-8a5e-22dd0315127c
qdhcp-630c2c7e-aac6-4fdc-b5dc-8f93069658a1
sudo ip netns exec qrouter-33818dff-8e46-45d2-8a5e-22dd0315127c ssh cirros@192.168.1.3
The authenticity of host '192.168.1.3 (192.168.1.3)' can't be established.
RSA key fingerprint is 41:b4:23:9e:d0:1d:31:a4:df:00:93:65:0d:88:4a:9c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.3' (RSA) to the list of known hosts.
cirros@192.168.1.3's password: 
$ hostname
my-devstack-instance

Keywords

DevStack OpenStack
Project Supported  Chameleon Supported

Template

Get Template

Author

Name: Chameleon Project
Contact:  help@chameleoncloud.org

Support

Name: Chameleon Project
Contact:  help@chameleoncloud.org

Version: 1.0
Created By:  priteau on Oct. 31, 2016, 3:44 p.m.
Updated By:  priteau on March 8, 2017, 6:33 a.m.