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.
 
 
Go to file
Egon Rijpkema 1b7eb26a75
Merge branch 'feature/add-variables'
5 years ago
meta Fixes made while testing the playbooks. 5 years ago
roles Added mtu size variable 5 years ago
.gitignore Added a dockerregistry docker. 6 years ago
README.md Small expansion of readme 6 years ago
ansible.cfg Rearanged the playbook to use ansible roles: 6 years ago
cassandra.yml Removed inclusion of docker everywhere 6 years ago
cinder-controller.yml Added cinder block storage. 6 years ago
cinder-storage.yml Added cinder block storage. 6 years ago
common.yml Made separate files for different services. 6 years ago
dockerregistry.yml Made separate files for different services. 6 years ago
gcc-post-install.yml Fixes made while testing the playbooks. 5 years ago
gcc-site.yml Fixes made while testing the playbooks. 5 years ago
generate_secrets.py Fixes made while testing the playbooks. 5 years ago
glance-controller.yml Made settings in glance and nova flexible. 6 years ago
heat.yml Fixes made while testing the playbooks. 5 years ago
horizon.yml Added nova compute 6 years ago
hosts Sanitized inventory examples 5 years ago
keystone.yml Added dummy task to gather facts. 6 years ago
mariadb.yml Fixes made while testing the playbooks. 5 years ago
memcached.yml Added memcached role 6 years ago
neutron-controller.yml Added mtu size variable 5 years ago
nova-compute.yml Added mtu size variable 5 years ago
nova-controller.yml Made settings in glance and nova flexible. 6 years ago
openstack03 Fixes made while testing the playbooks. 5 years ago
os-test Sanitized inventory examples 5 years ago
post-install.yml Added configure_networks bool and mtu_size var 5 years ago
rabbitmq.yml Made rabbitmq use host variables. 6 years ago
secrets.yml Fixes made while testing the playbooks. 5 years ago
secrets.yml.topol Fixes made while testing the playbooks. 5 years ago
settings.yml Added configure_networks bool and mtu_size var 5 years ago
site.yml Fixes made while testing the playbooks. 5 years ago
test_hosts Fixes made while testing the playbooks. 5 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