Commit Graph
100 Commits
Author SHA1 Message Date
Egon Rijpkema fa66218193 Removing old vxlan interfaces in nuke. 2018-08-09 13:52:04 +02:00
Egon Rijpkema ca112f6977 Added floating ip for interface machine. 2018-07-31 15:11:36 +02:00
Egon Rijpkema 0796ce6311 Syntax fixes: launched a cluster.. 2018-07-31 14:36:15 +02:00
Egon Rijpkema 5b3e950e70 See
https://ask.openstack.org/en/question/110271/error-unicode-object-has-no-attribute-get-heat/
2018-07-31 13:44:25 +02:00
Egon Rijpkema aca5d696ad Made more things variable. 2018-07-31 13:36:31 +02:00
Egon Rijpkema 4885b488fd Template for small cluster with its own network. 2018-07-30 15:03:58 +02:00
Egon Rijpkema a66adc2524 Now it shoudl work... really... 2018-07-26 14:50:30 +02:00
Egon Rijpkema c6b640febd Double source 2018-07-26 13:26:54 +02:00
Egon Rijpkema 4614ef373c Forgot hyphen 2018-07-26 13:26:10 +02:00
Egon Rijpkema 26670534a6 adding cirros image 2018-07-25 14:47:07 +02:00
Egon Rijpkema ca1dae370e Added missing undefine 2018-07-23 15:20:16 +02:00
Egon Rijpkema 2bcbd452e6 Copy the required ceph.xml. 2018-07-23 13:38:04 +02:00
Egon Rijpkema 1f1679fef1 Crude playbook to set virsh ceph secrets. 2018-07-23 13:32:52 +02:00
Egon Rijpkema 624326aaef Get rid of deprication warnings 2018-07-20 11:49:20 +02:00
Egon Rijpkema 4933956416 re-enabled post install 2018-07-20 11:02:10 +02:00
Egon Rijpkema 38936554bd We actually need the merlin images
It's needed for ceph, for instance

Revert "Reverting to standard docker images"

This reverts commit 3083a84b19.
2018-07-20 10:07:15 +02:00
Egon Rijpkema 3083a84b19 Reverting to standard docker images 2018-07-19 16:35:07 +02:00
Egon Rijpkema c49db46a4d Create vlan985 subnet like in gearshift 2018-07-19 15:42:19 +02:00
Egon Rijpkema b4d9eed775 This step sometimes fails inexplicably
..and succeeds on retry.
2018-07-19 15:06:12 +02:00
Egon Rijpkema 50d5c672d0 This makes a neutron net-list possible
as well as a openstack network list.
2018-07-19 13:59:55 +02:00
Egon Rijpkema e9c62529ad Cleanup network namespaces (vxlans) 2018-07-19 13:19:25 +02:00
Egon Rijpkema 3369b5d9d9 added virsh destroy to nuke 2018-07-18 14:05:27 +02:00
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
Egon Rijpkema b692f83b61 Should be group_vars 2018-07-06 10:48:29 +02:00
Egon Rijpkema d447413dee Grouovars for ceph setup 2018-06-29 13:41:58 +02:00
Egon Rijpkema 75f384c579 Added variables ceph for glance and cinder. 2018-06-20 16:39:18 +02:00
Egon Rijpkema c0555cdcfa Fixes for variable ceph use 2018-06-20 16:01:30 +02:00
Egon Rijpkema 7cc4e17189 Added variables for ceph and nova compute 2018-06-20 15:48:31 +02:00
Egon Rijpkema 06db21ef4c added reference to secrets file 2018-06-20 13:44:55 +02:00
Egon Rijpkema 3f8e213bbc Speed up 2018-06-12 15:01:07 +02:00
Egon Rijpkema 2c6f89a6c3 trew in update cache 2018-06-12 14:15:12 +02:00
Egon Rijpkema 594edf728f Added storage nodes here, too
might dissappear again and moved to ceph-ansible repo.
2018-06-04 16:21:03 +02:00
Egon Rijpkema 056f2bb9fd Playbook to add the ubuntu cloud repoo on all hosts. 2018-06-04 16:06:23 +02:00
Egon Rijpkema 9af8291517 Removed app armor 2018-05-04 15:40:38 +02:00
Egon Rijpkema 2effda6f58 setting debug to true 2018-05-02 19:37:18 +02:00
Egon Rijpkema a150b58aaa Added more nodes 2018-03-14 08:54:18 +01:00
Egon Rijpkema cc18e247c4 Using half the cluster for linuxbridge. 2018-03-01 15:17:50 +01:00
Egon Rijpkema 7114509697 More sleep for cluster 2018-02-28 10:36:17 +01:00
Egon Rijpkema 6a6ebd0c60 current state merlin 2018-02-22 16:32:40 +01:00
Egon Rijpkema 7a41ca4187 iEnsure installation of same openstack client 2018-02-22 16:31:18 +01:00
Egon Rijpkema 469bcd769c Added local_ip 2018-02-20 16:24:26 +01:00
Egon Rijpkema 598cbeec9d hope retries will work this way. 2018-02-20 15:29:14 +01:00
Egon Rijpkema 20ce7bcfc3 set overlay ip 2018-02-20 15:28:54 +01:00
Egon Rijpkema 1bbf1e4270 added retry 2018-02-20 14:24:41 +01:00
Egon Rijpkema 84b901c8b3 make keystone install more resiliant... 2018-02-16 13:39:21 +01:00
Egon Rijpkema e3f3d5d3b7 Fix syntax error. 2018-02-16 11:45:53 +01:00
Egon Rijpkema 68ac7a0a6d Added some explanations. 2018-02-06 13:34:56 +01:00
Egon Rijpkema 8da96590ac It's horizon not glance. 2018-02-05 16:29:12 +01:00
Egon Rijpkema fea7aaaff6 using the proper test machines 2018-02-05 15:23:33 +01:00
Egon Rijpkema fb2bdfe543 added missing secrets 2018-01-30 14:50:08 +01:00
Egon Rijpkema 3347fa7c25 switched to nuclear fusion 2018-01-30 14:49:39 +01:00
Egon Rijpkema f776756205 fixed interface mappings 2018-01-30 14:48:52 +01:00
Egon Rijpkema 59233d8019 playbook to reset a cluster 2018-01-30 09:57:11 +01:00
Egon Rijpkema 35551f69c1 inventory for the merlin cluster 2018-01-30 09:56:45 +01:00
Egon Rijpkema 85dcae1baf added heat password 2018-01-30 09:55:27 +01:00
Egon Rijpkema 99eba86794 removed depricated hosts key 2018-01-30 09:55:06 +01:00
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 95ef38a3ba Cinder needs memcached host 2017-08-29 15:44:22 +02:00
Egon Rijpkema a3ee754ddb Small expansion of readme 2017-08-29 14:06:34 +02:00
Egon Rijpkema 1cefcaac0d Have secrets scriot generate from topology file. 2017-08-29 09:29:53 +02:00
Egon Rijpkema 29c0634bc1 Cinder storage role 2017-08-28 11:52:02 +02:00
Egon Rijpkema 0c28f889b3 script to generate secrets file 2017-08-28 11:51:35 +02:00
Egon Rijpkema 5571858b23 Added cinder block storage. 2017-08-28 11:50:57 +02:00
Egon Rijpkema b148b04a0b added post install settings 2017-08-28 11:50:27 +02:00
Egon Rijpkema 233a9debc7 Seems necessary for host networking. 2017-08-25 15:12:29 +02:00
Egon Rijpkema 1010930171 Seccond set of hosts to test deployment. 2017-08-24 16:27:14 +02:00
Egon Rijpkema 2c6a09d079 Added secrets.yml.
it is encrypted with a default password...
2017-08-24 16:20:11 +02:00
Egon Rijpkema 7f58d25b58 Added a cinder controller node. 2017-08-21 11:36:43 +02:00
Egon Rijpkema 803451d490 Give neutron the nova credentials...
it needs. And also force re downloading of all docker images.
2017-08-17 15:50:39 +02:00
Egon Rijpkema d964c29c06 Let the new compute host be discovered. 2017-08-17 12:14:41 +02:00
Egon Rijpkema e59d2c1c98 Merge branch 'feature/encrypted-paswords' into develop 2017-08-17 10:41:17 +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 f06a943916 small fixes mostly variable names 2017-08-10 11:17:24 +02:00
Egon Rijpkema 4db6499419 add robustness after testing site.yml 2017-08-02 15:22:10 +02:00
Egon Rijpkema d907ec4969 now using ips in endpoint urls 2017-08-01 13:02:01 +02:00
Egon Rijpkema 0ac27dcc0d Port mapping for glance controller..
was accidentially removed
2017-08-01 10:52:37 +02:00
Egon Rijpkema 8a3fbd557d Tweaks to make install run idempotent 2017-08-01 10:19:54 +02:00
Egon Rijpkema 1a78f649e8 added docker repo 2017-07-31 13:21:03 +02:00
Egon Rijpkema 2b3e8cebae added some services 2017-07-28 11:43:03 +02:00
Egon Rijpkema e974eac443 Small fixes on teh neutron config. 2017-07-26 16:31:31 +02:00
Egon Rijpkema 8300652079 Moved env vars to a single variable. 2017-07-26 16:30:19 +02:00
Egon Rijpkema 741ba512bc added neutron-controller 2017-07-26 09:59:59 +02:00
Egon Rijpkema 482333215a Merge branch 'feature/keystone-to-docker-repo' into develop 2017-07-24 13:47:46 +02:00
Egon Rijpkema b727857dae Previously the keystone image was build here
But we since switched to separate repo's for the dockerfiles.
These are built with jenkins.
2017-07-24 13:47:31 +02:00
Egon Rijpkema d42d1495e9 Added nova compute
Also configured horizon to display hypervisors.
2017-07-14 10:02:55 +02:00
Egon Rijpkema 1b7fa48714 nova needs the --privileged flag to use iptables 2017-07-13 10:01:58 +02:00
Egon Rijpkema 91ace4d87d add openstack rabbitmq user 2017-07-13 09:42:10 +02:00
Egon Rijpkema 70814e1a77 Made settings in glance and nova flexible. 2017-07-12 16:32:58 +02:00
Egon Rijpkema dc8a75f6cb fixed joining of cluster 2017-07-12 11:40:37 +02:00
Egon Rijpkema 588a32b450 prevent hanging upon service restart 2017-07-12 11:07:36 +02:00
Egon Rijpkema 056b383723 service would often hang 2017-07-12 10:24:46 +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 f5d240a7f5 Added dummy task to gather facts.
see https://serverfault.com/questions/638507/how-to-access-host-variable-of-a-different-host-with-ansible
2017-07-10 14:50:09 +02:00
Egon Rijpkema 86cd68e465 Removed inclusion of docker everywhere
It is now included in the common role itself, which is applied to all.
2017-07-10 09:52:12 +02:00
Egon Rijpkema ecbd592440 Trailing slash needed to prevent creation of subdir 2017-07-07 17:06:55 +02:00
Egon Rijpkema 19a9d1d75e Made rabbitmq use host variables. 2017-07-07 16:14:38 +02:00
Egon Rijpkema ef2360f814 Made rabbitmq hostnames variable 2017-07-07 14:40:20 +02:00
Egon Rijpkema d9f6028848 Removed bogus char in my.cnf 2017-07-07 11:12:53 +02:00