Go to file
Egon Rijpkema 0b92467965 Bind mounting /var/run/netns
After reading:
https://www.slideshare.net/clayton_oneill/dockerizing-the-hard-services-neutron-amp-nova
2018-07-16 16:38:34 +02:00
group_vars Should be group_vars 2018-07-06 10:48:29 +02:00
meta Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
roles Bind mounting /var/run/netns 2018-07-16 16:38:34 +02:00
.gitignore Added a dockerregistry docker. 2017-05-09 09:17:04 +02:00
README.md Small expansion of readme 2017-08-29 14:06:34 +02:00
ansible.cfg added reference to secrets file 2018-06-20 13:44:55 +02:00
cassandra.yml Removed inclusion of docker everywhere 2017-07-10 09:52:12 +02:00
cinder-controller.yml Added cinder block storage. 2017-08-28 11:50:57 +02:00
cinder-storage.yml Added cinder block storage. 2017-08-28 11:50:57 +02:00
common.yml Made separate files for different services. 2017-05-30 16:37:57 +02:00
dockerregistry.yml Made separate files for different services. 2017-05-30 16:37:57 +02:00
gcc-post-install.yml Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
gcc-site.yml Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
generate_secrets.py Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
glance-controller.yml Made settings in glance and nova flexible. 2017-07-12 16:32:58 +02:00
heat.yml Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
horizon.yml Added nova compute 2017-07-14 10:02:55 +02:00
hosts Sanitized inventory examples 2018-01-19 09:24:28 +01:00
hosts-openstack03 git push --set-upstream origin merlin 2018-04-13 16:19:17 +02:00
keystone.yml Added dummy task to gather facts. 2017-07-10 14:50:09 +02:00
mariadb.yml Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
memcached.yml Added memcached role 2017-06-21 13:38:55 +02:00
merlin changed inventory file, removed vlan-tag for physical interface 2018-07-13 15:01:40 +02:00
merlinsdn git push --set-upstream origin merlin 2018-04-13 16:19:17 +02:00
neutron-controller.yml added neutron-controller 2017-07-26 09:59:59 +02:00
nova-compute.yml Added nova compute 2017-07-14 10:02:55 +02:00
nova-controller.yml Made settings in glance and nova flexible. 2017-07-12 16:32:58 +02:00
nuke.yml git push --set-upstream origin merlin 2018-04-13 16:19:17 +02:00
openstack03 Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
os-test Sanitized inventory examples 2018-01-19 09:24:28 +01:00
post-install.yml current state merlin 2018-02-22 16:32:40 +01:00
rabbitmq.yml Made rabbitmq use host variables. 2017-07-07 16:14:38 +02:00
secrets.yml Added variables for ceph and nova compute 2018-06-20 15:48:31 +02:00
secrets.yml.topol Fixes made while testing the playbooks. 2018-01-19 09:17:50 +01:00
settings.yml some ceph changes 2018-07-06 09:56:05 +02:00
site.yml current state merlin 2018-02-22 16:32:40 +01:00
test_hosts using the proper test machines 2018-02-05 15:23:33 +01:00
ubuntucloudrepo.yml trew in update cache 2018-06-12 14:15:12 +02:00

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