RETIRED, Deploy multi node OpenStack on Virtual Machines.
Go to file
OpenDev Sysadmins 3e6305d24c OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:31:42 +00:00
doc Replace openstack.org git:// URLs with https:// 2019-03-24 20:36:16 +00:00
labs Revert "Add temporary DNS entry for download.cirros-cloud.net" 2017-08-28 15:14:44 +00:00
tools Making the generate labs script more nicer. 2016-06-09 04:27:38 +00:00
.gitignore Python port of osbash 2016-12-18 11:47:44 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:31:42 +00:00
CONTRIBUTING.rst Refactors the architecture of osbash 2015-09-29 11:23:32 +02:00
HACKING.rst Refactors the architecture of osbash 2015-09-29 11:23:32 +02:00
LICENSE Refactors the architecture of osbash 2015-09-29 11:23:32 +02:00
README.rst Replace openstack.org git:// URLs with https:// 2019-03-24 20:36:16 +00:00
babel.cfg Refactors the architecture of osbash 2015-09-29 11:23:32 +02:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 21:18:23 +02:00
labs.py Refactors the architecture of osbash 2015-09-29 11:23:32 +02:00
openstack-common.conf Refactors the architecture of osbash 2015-09-29 11:23:32 +02:00
requirements.txt Remove upper cap on pbr 2017-03-23 14:21:09 +08:00
setup.cfg Changed the home-page link 2016-10-23 20:35:41 +05:30
setup.py Refactors the architecture of osbash 2015-09-29 11:23:32 +02:00
test-requirements.txt Removes unused dependencies and jobs 2016-12-19 22:16:11 +00:00
tox.ini Removes unused dependencies and jobs 2016-12-19 22:16:11 +00:00

README.rst

Team and repository tags

image

Training labs

About

Provide an automated way to deploy Vanilla OpenStack and closely follow OpenStack Install Guide.

We strove to give easy way to setup OpenStack cluster which should be a good starting point for beginners to learn OpenStack, and for advanced users to test out new features, check out different capabilities of OpenStack. On top of that training-labs will also be a good way to test the install guides on a regular basis.

Training-labs is a project under OpenStack Documentation. For more information see the OpenStack wiki.

Note: Please note that the python port is optionally available, but only works with

python2.7 at present. Running the python scripts is recommended as it is more stable than the BASH version and also under active development.

OpenStack Release

The current release is master which usually means that we are developing for the next OpenStack release. The current one is OpenStack Newton. For non-development purposes (training etc.) please checkout the stable branches. Assuming that $remote is your remote branch (usually origin) and $release is the release version.

$ git checkout $remote/stable/$release

Pre-requisite

How to run the scripts

Clone the training-labs repository:

$ git clone https://git.openstack.org/openstack/training-labs.git

Change directory:

$ cd training-labs/labs/osbash/

Run the script by:

$ ./osbash.sh -g gui -b cluster

What the script installs

Running this will automatically spin up 3 virtual machines in VirtualBox/KVM:

  • Controller node
  • Network node
  • Compute node

Now you have a multi-node deployment of OpenStack running with the below services installed.

OpenStack services installed on Controller node:

  • Keystone
  • Horizon
  • Glance
  • Nova
    • nova-api
    • nova-scheduler
    • nova-consoleauth
    • nova-cert
    • nova-novncproxy
    • python-novaclient
  • Neutron
    • neutron-server
  • Cinder

Openstack services installed on Network node:

  • Neutron
    • neutron-plugin-openvswitch-agent
    • neutron-l3-agent
    • neutron-dhcp-agent
    • neutron-metadata-agent

Openstack Services installed on Compute node:

  • Nova
    • nova-compute
  • Neutron
    • neutron-plugin-openvswitch-agent

How to access the services

There are two ways to access the services:

  • OpenStack Dashboard (horizon)

You can access the dashboard at: http://192.168.100.51/horizon

Admin Login:

  • Username: admin
  • Password: admin_pass

Demo User Login:

  • Username: demo
  • Password: demo_pass

You can ssh to each of the nodes by:

# Controller node
$ ssh osbash@10.0.0.11

# Network node
$ ssh osbash@10.0.0.21

# Compute node
$ ssh osbash@10.0.0.31

Credentials for all nodes:

  • Username: osbash
  • Password: osbash

After you have ssh access, you need to source the OpenStack credentials in order to access the services.

Two credential files are present on each of the nodes:

  • demo-openstackrc.sh
  • admin-openstackrc.sh

Source the following credential files

For Admin user privileges:

$ source admin-openstackrc.sh

For Demo user privileges:

$ source demo-openstackrc.sh

Now you can access the OpenStack services via CLI.

Specs

To review specifications, see http://specs.openstack.org/openstack/docs-specs/specs/liberty/traininglabs.html

Mailing lists, IRC

To contribute, join the IRC channel, #openstack-doc, on IRC freenode or write an e-mail to the OpenStack Documentation Mailing List openstack-docs@lists.openstack.org. Please use [training-labs] tag in the subject of the email message.

You might consider registering on the OpenStack Documentation Mailing List if you want to post your e-mail instantly. It may take some time for unregistered users, as it requires an administrator's approval.

Sub-team leads

Feel free to ping Roger or Pranav on the IRC channel #openstack-doc regarding any queries about the Labs section.

  • Roger Luethi
    • Email: rl@patchworkscience.org
    • IRC: rluethi
  • Pranav Salunke
    • Email: dguitarbite@gmail.com
    • IRC: dguitarbite

Meetings

Team meeting for training-labs is on alternating Thursdays on Google Hangouts. https://wiki.openstack.org/wiki/Documentation/training-labs#Meeting_Information

Wiki

Follow various links on training-labs here: https://wiki.openstack.org/wiki/Documentation/training-labs#Meeting_Information