Commit Graph

16 Commits

Author SHA1 Message Date
Egon Rijpkema
646e02ca9c Sanitized inventory examples 2018-01-19 09:24:28 +01:00
Egon Rijpkema
30567679a2 Fixes made while testing the playbooks.
Updated url of docker registry.

make a loop for more flexibility.

Introducing listen_ip variable that overrides

the default listen_ip.

make a loop for more flexibility.

Get a listen ip specifically for that host.

see if components have listen_ip defined before using ansible_default_ipv4

Make service files look for listen_ip variable.

implemented listen_ip variable here too

map to different port to avoid clashes.

Make PHYSICAL_INTERFACE_MAPPINGS variable...

instead of just one provuider interface.
it should contain something like:
physnet2:eth1,physnet3:eth2

add openstack client on machine that is running keystone

Added delay to check.

enable all services are started at boot

Inventory for gcc openstack03 all in one.

added volume for glance images

Added gcc all in one specific config.

Prevent an error when there is no secrets.yml..

to back up

removed reference to empty dir.

added empty meta/main.yml

And now with a list of roles

..and removed the list

removed reference to empty dir.

Added galera cluster support

When at least three database nodes are installed, the playbook will
install a galera cluster across them.

The galera cnf can be the same template across...

nodes.

made environment file for the service.

I am unable to reproduce systemctl set-environment to work as
advertized.

Reverted to updating init file by ansible.

entrypoint.sh of the mariadb container seems unable to cope when a blank
variable is passed by systemd.

give the galera master node some time

It seems to be nessecary to run in host mode..

for galera to work.

I misunderstood pause. need sleep.

Inventory for physical test cluster.

Added CINDER_PASSWORD

Make sure docker is started.

If docker was already installed but not running
it was not started.

fixed refernce to neutron controller

Added heat

Added port for metadata service

Passed metadata secret to be used in config.

Listen ip should be the machine's ip...

Added openstack client from repo.

changed name of subnet

added horizon

Changed rabbitmq default user to openstack.

This makes it no longer nesseccary to create a separate openstack user,
which is lost on rabbitmq restart.

Added sleep because hosts were usually..

not discovered.

Removed unnessecary port mapping

Making /dev/lvm available to container.

fixed os-test inventory

Make iscsi devices available

(needed to attach cinder volumes to machines)

command module no longer works with &&

add cinder to test setup
2018-01-19 09:17:50 +01:00
Egon Rijpkema
5571858b23 Added cinder block storage. 2017-08-28 11:50:57 +02:00
Egon Rijpkema
7a6c9ac360 Made Roles use repo wide secrets file.
Made keystone use repo wide secrets file.

Made glance-controller use repo wide secrets file.

kill and then remove image

Made neutron-controller use repo wide secrets file.

Made nova-controller use repo wide secrets file

Made nova-compute use repo wide secrets file.

 Made rabbitmq use repo wide secrets file.

Allow creation of admin-openrc.sh in docker.

added provider_interfaces.

added persistent root folder.

make each dir explicitely

added missing env vars.

mapped kvm machine-id from host
2017-08-17 10:41:01 +02:00
Egon Rijpkema
4db6499419 add robustness after testing site.yml 2017-08-02 15:22:10 +02:00
Egon Rijpkema
741ba512bc added neutron-controller 2017-07-26 09:59:59 +02:00
Egon Rijpkema
d42d1495e9 Added nova compute
Also configured horizon to display hypervisors.
2017-07-14 10:02:55 +02:00
Egon Rijpkema
70814e1a77 Made settings in glance and nova flexible. 2017-07-12 16:32:58 +02:00
Egon Rijpkema
a25852b39e Removed hardcoded ips for glance
Also added domain, projects, users creation for keystone.
This guide was followed:
https://docs.openstack.org/ocata/install-guide-ubuntu/keystone-us
2017-07-12 10:19:45 +02:00
Egon Rijpkema
062fabd4b6 replaced hardcoded ips with env vars 2017-07-11 09:17:53 +02:00
Egon Rijpkema
ac78a1a272 Added cassandra together with Wim 2017-06-13 12:08:41 +02:00
Egon Rijpkema
4c219eafc2 MAde registry less secure.
Probably not going to use it though...
2017-06-08 16:51:50 +02:00
Egon Rijpkema
29b4f06ac7 Got clustering working
Together with Wim
Albeit a bit dirty: we need to make the node names variable..
2017-05-23 16:55:18 +02:00
Egon Rijpkema
5a81413b3a Added rabbitMQ and keystone with wim
Work in progress...
2017-05-16 15:52:22 +02:00
Egon Rijpkema
2401fb2135 Keystone is now based on ubuntu zesty 2017-05-10 11:21:17 +02:00
erijpkema
90b25a6d6c Rearanged the playbook to use ansible roles:
http://docs.ansible.com/ansible/playbooks_roles.html

also made keystone run
2017-04-25 14:47:04 +02:00