User:Tsu2/openstack-install

Jump to: navigation, search


Tested on openSUSE

Recommended articles

Related articles


Preliminary

The Author's personal experience is that although the current OpenStack documents are good, they will not guarantee a successful install

The current recommended approach with ease and high degree of success is to install Devstack, which is a project and configuration that installs Openstack ostensibly for research, educational and testing but can be deployed as a robust, production quality solution. The initial, basic install is based on a "single machine" with Nova networking architecture but should be adaptable to all other described architectures. See for more explanation Openstack Project - Overview



Install

Three scripts are provided for your use

  • A base script that checks your system and installs all prerequisties
  • A script for installing only Devstack
  • A script for installing Devstack with support for Docker containers

Quickstart

NOTE - As of today, there is only one known, unaddressed extremely minor bug. When you install docker, you will need to affirm the install. Other than that, if you configure your answer file as described, the installs should be uninterrupted from beginning to finish.

Once downloaded,
1. Edit the first script to enable only your version of openSUSE and disable others
2. Edit the second script of your choosing, specifying the passwords you intend to use for both sub-components and your initial login.
3. Invoke the first and either of the two second scripts as one command as follows
Basic Devstack

sudo ./devstack_on_openSUSE.sh && ./devstack_on_openSUSE.2.sh

Devstack with Docker

sudo ./devstack_on_openSUSE.sh && ./devstack_on_openSUSE.2_docker.sh

Install Details

You can download the scripts by downloading directly from the following links
[Install Devstack - Script 1]
[Install Devstack - Script 2]
[Install Devstack with docker - Script 2]
or various other means typical of github (clone repo, download zip, etc)

Scripts location

After downloading the scripts, you can run them from any location. If you downloaded using a web browser, they will be in your Downloads folder which is fine.

Edit your scripts for your install

  • The first script

Remove the comment hash to enable the line for your OS.
Although should run on all supported openSUSE versions, main testing has been on 13.2 and LEAP.
Insert a comment hash to disable other OS which are not yours

  • Choose a second script for installing either basic Devstack or Devstack with docker.

Edit your choice script, modifying the words "password" with the text strings you wish to set for your OpenStack components and account logins.

Executing the scripts

You can run each script individually or invoke a combination of scripts as a single command (see Quickstart above).

If you run each script individually, the first script should be run with root permissions(su or sudo).
The second script without Docker should be installed using a normal (not root) console.
The second script with Docker should be installed using sudo.


Post-Install

When completed (as long as slightly more than an hour), the last few lines displayed are important and should be copied somewhere for your reference.



Additional Useful information

This Author's Wiki Pages

Openstack is a solution that allows deployment of virtualized instances. This Author has written a number of articles that are specific to KVM, Docker, LXC and more.
TSU2 Wiki pages

Installing Devstack in a Docker Container

This page isn't about installing Docker containers using Devstack/Openstack, but installing Devstack in a Docker container
Devstack in a Docker container

Using Devstack to install Docker containersr

This is about using Devstack/Openstack to manage and instantiate docker containers
Openstack and Docker


Communication

Mailing list

Template:Cloud Mailinglist



-->