Categories
OpenStack Ubuntu 14 Installation

Install conjure-up 2.0

Here we are going to stand up openstack cloud using MAAS 2.x JUJU .2.x and Ubuntu 16.04.

Setup your network:

$ sudo nano /etc/network/interfaces

Mine looks like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto ens33
iface ens33 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 10.1.1.1 192.168.1.1

auto enp3s1
iface enp3s1 inet static
address 10.1.1.1
netmask 255.255.255.0

Reboot:

$ sudo reboot now

Update and upgrade first:

$ sudo apt update
$ sudo apt upgrade

Make sure your interfaces look correct as in the interfaces file:

$ ifconfig -a

Install maas:

$ sudo apt install maas

Create admin account:

$ sudo maas createadmin

Create an SSH key to import into the GUI:

On command line generate the ssh key

$ ssh-keygen -t rsa

Just press enter through the prompts.

Copy the key to the gui, display the key with the cat command:

$ cat ~/.ssh/id_rsa.pub

Reboot again:

$ sudo reboot now

Install conjure-up classic with snap:

$ snap install conjure-up --classic

Update and upgrade after the conjure-up install:

$ sudo apt update
$ sudo apt upgrade

Reboot one last time:

$ sudo reboot now

Now set the GUI as in the video

Install etherwake to have some controller over your nodes:

$ sudo apt install etherwake

To use etherwake use the enp3s1 interface and the mac of the node:

$ sudo etherwake -i enp3s1  xx:xx:xx:xx:xx:xx

After you have set the GUI on, run conjure-up, see video: https://youtu.be/Wr7zCKVFtI8?t=21m49s

$ conjure-up