You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Egon Rijpkema 1b7eb26a75 Merge branch 'feature/add-variables' 3 years ago
meta Fixes made while testing the playbooks. 3 years ago
roles Added mtu size variable 3 years ago
.gitignore Added a dockerregistry docker. 4 years ago
README.md Small expansion of readme 4 years ago
ansible.cfg Rearanged the playbook to use ansible roles: 4 years ago
cassandra.yml Removed inclusion of docker everywhere 4 years ago
cinder-controller.yml Added cinder block storage. 4 years ago
cinder-storage.yml Added cinder block storage. 4 years ago
common.yml Made separate files for different services. 4 years ago
dockerregistry.yml Made separate files for different services. 4 years ago
gcc-post-install.yml Fixes made while testing the playbooks. 3 years ago
gcc-site.yml Fixes made while testing the playbooks. 3 years ago
generate_secrets.py Fixes made while testing the playbooks. 3 years ago
glance-controller.yml Made settings in glance and nova flexible. 4 years ago
heat.yml Fixes made while testing the playbooks. 3 years ago
horizon.yml Added nova compute 4 years ago
hosts Sanitized inventory examples 3 years ago
keystone.yml Added dummy task to gather facts. 4 years ago
mariadb.yml Fixes made while testing the playbooks. 3 years ago
memcached.yml Added memcached role 4 years ago
neutron-controller.yml Added mtu size variable 3 years ago
nova-compute.yml Added mtu size variable 3 years ago
nova-controller.yml Made settings in glance and nova flexible. 4 years ago
openstack03 Fixes made while testing the playbooks. 3 years ago
os-test Sanitized inventory examples 3 years ago
post-install.yml Added configure_networks bool and mtu_size var 3 years ago
rabbitmq.yml Made rabbitmq use host variables. 4 years ago
secrets.yml Fixes made while testing the playbooks. 3 years ago
secrets.yml.topol Fixes made while testing the playbooks. 3 years ago
settings.yml Added configure_networks bool and mtu_size var 3 years ago
site.yml Fixes made while testing the playbooks. 3 years ago
test_hosts Fixes made while testing the playbooks. 3 years ago

README.md

hpc-cloud

This repository contains playbooks to bring up openstack components inside docker containers.
It makes use of ansible roles for the openstack components and the supporting infrastructure.
The following roles are installed.

Openstack components.

  • keystone
  • glance-controller
  • horizon
  • neutron-controller
  • nova-controller
  • nova-compute
  • cinder-controller
  • cinder-storage

Auxilary components:

  • database (mariadb)
  • rabbitmq (cluster of three nodes)
  • memcached

Getting started:

Prerequisites:

  • A cluster of servers to install the components on.
    • The machines running nova-compute and neutron-controller need a separate interface for neutron to use.
  • ubuntu 16.04 with python installed (usually already present).
  • Access to the webhost12.service.rug.nl docker repository.

Settings:

Passwords need be added to secrets.yml.topol and it needs to be saved as secrets.yml.
This can be done by running ./generate_secrets.py.
Optionally, one can encrypt the secrtets by running ansible-vault encrypt secrets.yml.

Secrets:

The roles can be set in the inventory file (hosts)

To bring up one role, for instance keystone, use:

$ ansible-playbook keystone.yml

To bring up all roles, use

$ ansible-playbook site.yml