Categories
OpenStack Ubuntu 14 Installation

Openstack quick install

In this video we did a quick install of the newest version of openstack, MAAS and JUJU that is available with 14.04 Ubuntu.

These are all the commands that it took to get the install to complete the boot strap. Remember, install Ubuntu server with the eth1 nic removed. It will make life easier. Also, remember to use a route statement to be able to get to the private network from you laptop.

$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo reboot now
$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:maas/stable
$ sudo add-apt-repository ppa:cloud-installer/stable
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo nano /etc/network/interfaces
$ sudo reboot now
$ ifconfig -a
$ ifconfig -a
$ sudo apt-get install maas
$ sudo maas-region-admin createadmin
$ ssh-keygen -t rsa
$ cat ~/.ssh/id_rsa.pub
$ sudo apt install etherwake
$ ll
$ mkdir .juju
$ cd .juju
$ nano environments.yaml
$ sudo nano /etc/maas/templates/power/ether_wake.template
$ sudo nano /etc/sudoers.d/99-maas-sudoers
$ sudo reboot now
$ sudo etherwake -i eth1 b8:ac:6f:45:db:18
$ cat /var/log/maas/clusterd.log
$ sudo apt install openstack
$ sudo dpkg-reconfigure maas-cluster-controller
$ sudo dpkg-reconfigure maas-region-controller
$ sudo openstack-install

If you need to start over clean up openstack installer with:

$ sudo openstack-install -u
$ sudo rm -R ~/.cloud-install