Commit Graph

65 Commits

Author SHA1 Message Date
Egon Rijpkema 929b542410 Make PHYSICAL_INTERFACE_MAPPINGS variable...
instead of just one provuider interface.
it should contain something like:
physnet2:eth1,physnet3:eth2
2017-09-21 16:20:32 +02:00
Egon Rijpkema 213064ed2d map to different port to avoid clashes. 2017-09-21 15:18:13 +02:00
Egon Rijpkema 44077aade9 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
2017-09-21 15:17:54 +02:00
Egon Rijpkema 30c453e32b make a loop for more flexibility. 2017-09-19 17:11:34 +02:00
Egon Rijpkema d0a2a7fc41 Updated url of docker registry. 2017-09-19 11:57:20 +02:00
Egon Rijpkema 95ef38a3ba Cinder needs memcached host 2017-08-29 15:44:22 +02:00
Egon Rijpkema 29c0634bc1 Cinder storage role 2017-08-28 11:52:02 +02:00
Egon Rijpkema 5571858b23 Added cinder block storage. 2017-08-28 11:50:57 +02:00
Egon Rijpkema 233a9debc7 Seems necessary for host networking. 2017-08-25 15:12:29 +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 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 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 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 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
Egon Rijpkema cebd9b7a9c Added installation of openstack horizon.
The image needs to be available on the target host. It can be built from:
ssh://git@git.webhosting.rug.nl:222/HPC/docker-horizon.git
2017-07-05 09:03:45 +02:00
Egon Rijpkema 9072279aa7 contaimer will be removed after use 2017-07-03 11:54:47 +02:00
Egon Rijpkema 57ad87a793 Changed to ubuntu 16.04 base
.. like the other components.
2017-07-03 11:30:24 +02:00
Egon Rijpkema be8e476e3e Added playbook for hpc/nova-controller docker 2017-06-23 11:00:21 +02:00
Egon Rijpkema aa535dc3d4 Added my.cnf with openstack recommended settings. 2017-06-22 09:33:01 +02:00
Egon Rijpkema 13064a8e7e Added memcached role 2017-06-21 13:38:55 +02:00
Egon Rijpkema 0f10a61ae8 Added a glance role
This role builds and installs a docker image from

ssh://git@git.webhosting.rug.nl:222/P<t_CO>174/docker-glance.git
2017-06-20 14:41:01 +02:00
Egon Rijpkema d7e3d4f661 Maybe it wuill work now?? 2017-06-20 11:17:13 +02:00
Egon Rijpkema b6a439291f Make openstack management commands work inside
keystone docker.
2017-06-20 11:16:00 +02:00
Egon Rijpkema 1f88030c87 Make keystone more generic 2017-06-16 16:33:45 +02:00
Egon Rijpkema cb6b389bc6 changed docker repo 2017-06-16 15:21:44 +02:00
Egon Rijpkema 1d40976a6d Let map keystone to default port 2017-06-14 15:08:49 +02:00
Egon Rijpkema c17c6388a7 made ip of db host dynamic. 2017-06-14 10:58:38 +02:00