App Icon OpenStack Ocata (Devstack) + Swift

Thank you for your contribution. Your appliance is under review. If it all looks good we will publish it straight away, otherwise we will be in touch with you to make the necessary changes.

 Documentation Go to Horizon to launch at CHI@UC     Go to Horizon to launch at CHI@TACC

Description

This appliance deploys OpenStack Ocata 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. The default password for the CirrOS image is cubswin:)

$ 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 Ocata Swift

Template

Get Template

Author

Name: Gonzalo De La Torre
Contact:  gonzalo_delatorre@live.com

Support

Name: Gonzalo De La Torre
Contact:  gonzalo_delatorre@live.com

Version: 1.0
Created By:  gonzalo on March 22, 2017, 1:17 p.m.
Updated By:  ntimkovi on June 3, 2019, 9:48 a.m.