In this video we will decommission our testing node. Then install juju and openstack.
To shutdown and halt a node use this command:
$ sudo shutdown -h now
Clear out the known hosts after the node is down.
$ ssh-keygen -f "/home/chris/.ssh/known_hosts" -R 10.1.1.151
Install OpenStack:
$ sudo apt install openstack
Install Juju:
$ sudo apt install juju
Link to the Ubuntu MAAS Juju quick start guide.
Make a .juju directory in your home directory. DO NOT USE SUDO:
$ mkdir ~/.juju
$ cd ~/.juju
Create the environments.yaml file:
$ nano environments.yaml
Our environments file will look like this use your own server IP and API key:
environments: maas: type: maas maas-server: 'http://10.1.1.100:80/MAAS' maas-oauth: 'Z6XdwXkTATptDhuzuZ:QsDKKt5LRk6maX3Nks:D2vbX9ad84qZddWu5wgYFVzuyTSQj9H3' admin-secret: 'jensen' default-series: trusty
To check juju’s status:
$ juju status
Start the openstack install:
$ sudo openstack-install
If the install fails or you have to backout run this command to uninstall it.
$ sudo openstack-install -u
If this -u command fails, delete the .cloud-install directory:
$ sudo rm -R ~/.cloud-install
Now you can retry the openstack install.
While juju and landscape are installing, the bootstrap goes to about 400 seconds and the landscape download runs to about 1600 seconds, just let it run.
Before you can access any 10.1.x.x address from your local machine you will either need to add a route statement to your router or to your PC to tell the traffic how to get there.
To add a persistent route to Windows:
Destination | Netmask | Internet facing card on the maas server
$ route add -p 10.1.1.0 255.255.255.0 192.168.1.150
Link to the landscape interface gui.