Skip to content

OpenStack Ansible AiO @ 14.04

maschler edited this page May 12, 2016 · 8 revisions

Progress

2016-05-10 Created Ubuntu 14.04 Vagrantfile

2016-05-11 Installation successful

2016-05-11 Configure forwarding of the dashboard to host via iptables in Provision script

Installation Steps

Steps required to install the official openstack-ansible project on Ubuntu 14.04 LTS automatically via Vagrant.

The scripts follow the All-in-One Quick Start Guide best practices.

  1. Setup a fresh Ubuntu 14.4.

  2. Make sure you have an internet connection.

  3. Install VirtualBox and Vagrant

     $ sudo apt-get install virtualbox
     $ sudo apt-get install vagrant
    
  4. Install git and Clone this Repository

     $ sudo apt-get -y install git
     $ git clone https://github.com/MasterprojectOpenStack2016/sourcecode.git
    
  5. Enter the Repository and Start the Installation.

     $ cd sourcecode/multinode-installation
     $ vagrant up
    

    Vagrant then automatically creates an Ubuntu 14.04 VM and starts the OpenStack-Ansible AiO installation. This takes about 2 hours.

Administration

  1. Login to the OpenStack VM

     $ cd DIRECTORY_CONTAINING_YOUR_VAGRANTFILE
     $ vagrant ssh
    

    If the VM has stopped, you can safely restart via

     $ vagrant up
    
  2. List the OpenStack LXC Conatiners

     $ sudo lxc-ls --fancy
    

    After a successful installation 25 containers should be visible and running. When the VM is restarted, the containers take up to 5 minutes to boot.

  3. Find User Credentials

     $ sudo cat /etc/openstack_deploy/user_secets.yml
    

    Use keystone_auth_admin_password to login as admin.

  4. Open Horizon Dashboard

     https://192.168.124.101
    

    You can verify the IP of your Horizon container via

     ip -f inet -o addr show eth1|cut -d\  -f 7 | cut -d/ -f 1
    

Clone this wiki locally