VanillaStack Installation on Noriscloud

1. Setting up the infrastracture

You need to set up the infrastracture on openstack first before you start with vanilla installer. To set up the infrastracture you should use https://gitlab.cloudical.net/msaas/msaas-project.git project where current changes for vanilla installation are on kpabian-vanilla branch.

1.1. Playbook requirements

Playbook you should use to deploy infrastracture is called os_create_vanilla.yml. This is going to set up network, nodes, volumes, security groups, external load balancer, DNS’es and some basic nodes configuration. You should have connection to all the nodes from bastion node after playbook is finished.

Variables that you may want to set up / change:

  • dns names in group_vars/all/dns.yml

  • in group_vars/all/all.yml file:

    • proxy_private_key_path - path for private key to connect with the nodes

    • cert_manager_letsencrypt_email - email for cert issuer for Lets Encrypt

    • master.instance.az - add or remove availbility zone from list to add / remove instances - 3 availbility zones specified in the list, 3 master nodes will be created

    • worker.instance.az - add or remove availbility zone from list to add / remove instances - 3 availbility zones specified in the list, 3 worker nodes will be created

Sample playbook execution:

ansible-playbook \
--private-key=../id_rsa.local \
-i hosts \
-u ansible \
--vault-password-file ../vault.local \
os_create_vanilla.yml -v

2. Vanillastack installer

Steps to deploy Vanilla Installer:

  • connect to bastion node

  • make sure docker is installed

  • pull latest installer with command:

docker pull harbor.cloudical.net/vanillastack/installer:latest

  • run the container with command:

docker run --name vanillastack-installer -p 8080:8080 harbor.cloudical.net/vanillastack/installer

  • forward the port from bastion to your local machine to get installer in your browser. The command you can use to do that:

ssh -L <local_host>:<local_port>:<host_bastion>:<port_bastion> -i <path_to_private_key> ansible@<bastion_ip>

  • after you succesfully forwarded the port, you can go to localhost:8080 and follow quickstart guide to get your vanilla stack running.