Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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 485ddb3147 Renamed main.yml and updated README 2017-06-02 12:03:22 +02:00
Egon Rijpkema 53d83c1bde Made separate files for different services.
Not sure if i'll keep going this way or find some other solution.
2017-05-30 16:37:57 +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 f74bd927e3 systemd should not run detached dockers 2017-05-23 15:20:58 +02:00
Egon Rijpkema e2198c8afb Fixed fail when certain users not present. 2017-05-23 14:55:54 +02:00
Egon Rijpkema d7a9312682 Docker and settings file for horizon 2017-05-16 16:18:13 +02:00
Egon Rijpkema 5a81413b3a Added rabbitMQ and keystone with wim
Work in progress...
2017-05-16 15:52:22 +02:00
Egon Rijpkema a4e62607a3 Needed to add the -i flag
otherise EOF trick doesn't work.
2017-05-15 09:18:54 +02:00
Egon Rijpkema 8a1bee4087 Made the adress of the database dynamic
With dynamic, i mean that it is retreived from the database host
2017-05-11 16:47:03 +02:00
Egon Rijpkema d3f131e58f Added initialization steps for keystone 2017-05-11 15:55:05 +02:00
Egon Rijpkema cdfa53ec37 Moved database initialization to its own script 2017-05-10 11:54:40 +02:00
Egon Rijpkema 2401fb2135 Keystone is now based on ubuntu zesty 2017-05-10 11:21:17 +02:00
Egon Rijpkema be4c1a774c Merge branch 'feature/dockerregistry' into develop 2017-05-09 09:18:12 +02:00
Egon Rijpkema a058cadcf5 Added a dockerregistry docker.
We should roll out our dockers from here.

Changed password

(I failed to save it somewhere)

Reencrypted htpasswd using docker's htpasswd

see: 33a74ba9af/registry/part-3.md
2017-05-09 09:17:04 +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
erijpkema de87cd66f2 Working on a Dockerfile for keystone.
After seeing many keystone dockers on dockerhub but not a recent good
one. Decided to make my own...
2017-04-21 16:28:59 +02:00
erijpkema 729f7909d0 Add vim swap files 2017-04-21 16:28:12 +02:00
Egon Rijpkema a087b1fd50 Added docker itself. 2017-04-18 14:10:41 +02:00
Egon Rijpkema e51384e956 added gitignore 2017-04-18 13:35:35 +02:00
Egon Rijpkema e0a7bdb45d initial commit 2017-04-18 13:17:32 +02:00