aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2015-08-19Remove Ansible abstraction for NeutronSwapnil Kulkarni3-92/+184
Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I19ae5c2d58b94cd95b969e5c4e65ef1670a78b7e Partially-Implements: blueprint remove-abstraction-ansible
2015-08-19Fix small typo in task nameSam Yaple1-1/+1
Change-Id: I80e183985560404455443e6fa22e661bea3c0fa3 Closes-Bug: #1486516
2015-08-19Merge "Move lots of global.yml options"Jenkins1-16/+85
2015-08-19Merge "Move defaults.yml to group_vars/all.yml"Jenkins1-0/+75
2015-08-18Use one data container for all data volumesSteven Dake8-9/+21
The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container
2015-08-19Merge "Cinder bootstrap container is not initializing the DB"Jenkins1-2/+2
2015-08-19Move lots of global.yml optionsSam Yaple1-16/+85
This moves the remaining global.yml options into the all.yml file Change-Id: I9795b924e3e1882d20ba8f16ef3c5fe5c0193ef3 Partially-Implements: blueprint update-configs
2015-08-19Move defaults.yml to group_vars/all.ymlSam Yaple1-0/+75
The purpose for having defaults.yml on the command line was originally for variable inheritance. Over the past month we have slowly changed how things are inherited (like ports) allowing us to place these 'defaults' into the group_vars/all.yml location as they should be values that go unchanged (but can be overridden). Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70 Partially-Implements: blueprint update-configs
2015-08-19Remove start.yml abstraction for kolla-ansibleSam Yaple2-15/+19
Change-Id: If2e6d5cd5530c1e17f34415e169f82465f8362a1 Partially-Implements: blueprint remove-abstraction-ansible
2015-08-18Cinder bootstrap container is not initializing the DBrthallisey1-2/+2
When running cinder-ansible, the cinder db is never being initialized. The bootstrap task needs to be fixed in order for cinder to run the db sync. Change-Id: I01c5f5c34773ffc4e4f7fc7088a7277115db94dc Closes-Bug: #1485745
2015-08-18Remove Ansible abstraction for NovaSwapnil Kulkarni3-111/+201
Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: Iad9fd7010eaf112f169feb54d9a0e97fd693e5f1 Partially-Implements: blueprint remove-abstraction-ansible
2015-08-16Fix volumes_from for the ansible playbooksSam Yaple3-3/+6
Change-Id: Ib4b563d20d8e5ea5b81fb89e9ee4943487d7e6cd Closes-Bug: #1485297
2015-08-14Register neutron as the network serviceSteven Dake1-1/+1
Change-Id: Id0af297e29c2751c7da1f19742f764ccac56d723 Closes-Bug: #1485142
2015-08-13Remove bootstrap.yml abstraction for rabbitmqSam Yaple3-37/+56
Change-Id: I5b163b6a5c0e084deec5937e4fbf04d11fdde01f Partially-Implements: blueprint remove-abstraction-ansible
2015-08-13All the Cinder services need to reference the correct configrthallisey1-1/+1
Every service except cinder-api was looking for the file '/opt/kolla/cinder/cinder-<service>.conf' when the config file in place was named 'cinder.conf'. Change the rest of the services to look for cinder.conf or the config file will never be copied over to into '/etc/cinder/'. Change-Id: I1cd59f1da09e6f3bc7e7b3a4f45f9da2b8247479 Closes-Bug: #1481928 Closes-Bug: #1484248
2015-08-13Merge "Update mariadb confs and ports"Jenkins6-12/+18
2015-08-13Merge "Remove bootstrap.yml abstraction for mariadb"Jenkins4-51/+57
2015-08-13Merge "Remove bootstrap.yml abstraction for haproxy"Jenkins2-32/+40
2015-08-13Remove bootstrap.yml abstraction for mariadbSam Yaple4-51/+57
Change-Id: Icfd41d6cf5e4813d82a304233e784e8cb49fe3fb Partially-Implements: blueprint remove-abstraction-ansible
2015-08-13Remove bootstrap.yml abstraction for haproxySam Yaple2-32/+40
Change-Id: Ia7328ff96ba22db1b132bfefaa433af9dc666cbf Partially-Implements: blueprint remove-abstraction-ansible
2015-08-13Fixes typo in nova.confSam Yaple1-1/+1
Change-Id: Idba2f4a0f2a0e57b5e0d80d4a31a24808db6a14d Closes-Bug: #1484357
2015-08-13Merge "Ansible Cinder needs to create the v2 endpoint"Jenkins1-4/+24
2015-08-13Update mariadb confs and portsSam Yaple6-12/+18
Cleanup all options in galera.cnf. Bind to all interfaces and ports appropriately. Change-Id: I516613d09673ba61aadda2c7bbb4abbbe4ea47ac Partially-Implements: blueprint update-configs Closes-Bug: #1478330
2015-08-12Ansible Cinder needs to create the v2 endpointrthallisey1-4/+24
The Cinder v1 API is deprecated. We need to use the v2 API. Change-Id: I54cbcbd9ad8e07f5e18441dff31df570cc8c21da Closes-bug: #1484228
2015-08-12Merge "Update nova.conf and ports"Jenkins3-17/+28
2015-08-12Merge "Update rabbitmq confs and ports"Jenkins3-6/+13
2015-08-12Merge "Update glance confs and ports"Jenkins2-6/+5
2015-08-12Merge "Update neutron confs and ports"Jenkins5-26/+8
2015-08-12Merge "Glance-registry is missing a messaging config"Jenkins1-0/+2
2015-08-12Merge "Add ansible support for Cinder"Jenkins11-0/+425
2015-08-12Glance cannot store images due to incomplete configurationVladislav Belogrudov1-0/+4
Glance api refuses to store images with error "Error in store configuration. Adding images to store is disabled. (HTTP N/A)" This happens due to missing configuration of store in glance-api.conf Change-Id: I50696671d10ffc56189d3aa08c1e73bb307bc800 Closes-Bug: #1484123
2015-08-12Glance-registry is missing a messaging configRyan Hallisey1-0/+2
Change-Id: Ibf20d74f2ea5583bc1c183d14329e37661c20721 Closes-Bug: #1483793
2015-08-12Add ansible support for CinderSwapnil Kulkarni11-0/+425
Change-Id: I0694e5ad95aa7f924ebd3a29dff1f85e6307b7ae Partially-implements: blueprint ansible-cinder Partially-Implements: blueprint remove-abstraction-ansible Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
2015-08-11Glance bootstrap container mounts wrong config folderVladislav Belogrudov1-1/+1
Glance bootstrap container is based on glance-api. Ansible playbook incorrectly mounts "{{ node_config_directory }}/glance" to "/opt/kolla/glance" where it should mount "{{ node_config_directory }}/glance-api" to "/opt/kolla/glance-api". After start bootstrap container fails to find configuration and exits. Change-Id: Id2e5ddb2191cfee7db57dd0aec2f06fc617aa9d6 Closes-Bug: #1483757
2015-08-11Update neutron confs and portsSam Yaple5-26/+8
Cleanup all options in the minimal neutron confs. Remove options where the default value was specified explicitly. Updated ports and bindings to be configurable. Partially-Implements: blueprint update-configs Change-Id: I420ea1469e7bbe87aca0754cd3507098501f1de5
2015-08-11Glance bootstrap container does not create tables and runs foreverVladislav Belogrudov1-1/+1
Due to typo in ansible/roles/glance/tasks/bootstrap.yml container misses database initialization block and starts service instead. Ansible hangs on waiting for bootstrap container exit. Change-Id: Icf5ba68b47d65b22d6869e4b7b2d93e7edb8ed3b Closes-Bug: #1483647
2015-08-10Update nova.conf and portsSam Yaple3-17/+28
Cleanup all options in the minimal nova.conf. Remove options where the default value was specified explicitly. Updated ports and bindings to be configurable. Partially-Implements: blueprint update-configs Change-Id: I0bca7a8f9c4c6fa40145d66a95de7e98edc0edce
2015-08-10Ansible should wait bootstrap container on first hostVladislav Belogrudov2-0/+2
Bootstrapping of Keystone/Glance happens on first host via 'run_once'. After running bootstrap containers we should wait for them also on the same host. Currently waiting is done on all hosts what gives task error on other hosts. Change-Id: I6eac928d405ea819982118d9b567988074be4ed2 Closes-Bug: #1483224
2015-08-10Merge "Remove Ansible abstraction for Glance"Jenkins3-50/+116
2015-08-10Update rabbitmq confs and portsSam Yaple3-6/+13
Cleanup all options in the rabbitmq confs. Allow all ports to be configurable. Change-Id: I9b3b485a4f3a25d20c0f19d13638f717daa169dc Partially-Implements: blueprint update-configs
2015-08-10Update glance confs and portsSam Yaple2-6/+5
Cleanup all options in the minimal glance confs. Remove options where the default value was specified explicitly. Updated ports and bindings to be configurable. For rabbitmq, those options will only be needed once ceilometer is implemented. At that point they will exist in an 'if' block. Change-Id: Idcf0ebc625a5ef3a83181bce10281596a5f1d684 Partially-Implements: blueprint update-configs
2015-08-09Merge "Remove Ansible abstraction for Keystone"Jenkins3-33/+77
2015-08-08Remove Ansible abstraction for KeystoneSam Yaple3-33/+77
Change-Id: I0daf8b78f39b919d2b88336322203f1d643fc54b Partial-Bug: #1482214 Partially-Implements: blueprint remove-abstraction-ansible
2015-08-08Remove Ansible abstraction for GlanceSam Yaple3-50/+116
Change-Id: I9e2fe6c5e7396d6fb3ce348f30f1d5ea81b6dcf6 Partially-Implements: blueprint remove-abstraction-ansible
2015-08-08Fixes group name for keepalived.confSam Yaple2-1/+1
Also included is removing the executable bit on haproxy.cfg.j2 as it should not have those permissions in the repo. It has no affect on the templating process. Change-Id: I9c76e528896bdf1799b8eeb62ae77bc4ad0b4449 Closes-Bug: #1482832
2015-08-07Merge "Add check_script for haproxy in keepalived"Jenkins3-2/+5
2015-08-06Glance api and Glance registry shouldn't share tagsRyan Hallisey1-1/+1
In the ansible tool, both the Glance api and registry share the same release tag and they shouldn't. Change-Id: I5f5f288d192586b84963d59d94567371d28b76a0 Closes-bug: #1482374
2015-08-06Reduce dependencies on the dest nodesSam Yaple21-247/+197
Currently we require a slew of deps on each destination node, this includes a gcc compiler and installing things via pip. We can remove these dependencies by containerizing them and running and Ansible inside the container itself. The container would then report back facts about idempotency. DocImpact Closes-Bug: #1481495 Implements: blueprint containerize-dependencies Change-Id: I3dfccbf9fafc06ffc36e78f3006fe5d3367891df
2015-08-05Add check_script for haproxy in keepalivedSam Yaple3-2/+5
This patch checks that haproxy is alive and running. It does this by using socat to talk to the haproxy socket. That socket will only respond successfully when haproxy is active and functional. Change-Id: I528588d5742071103c28109a69842a6f935232c2 Closes-Bug: #1478570
2015-08-04Fixes tags and when conditional for HAProxySam Yaple1-1/+1
A missing comma after the second tag prevented the when conditional from being evaluated correctly. Change-Id: Ic18462212452a22ad556bed114e0a99440abe1ff Closes-Bug: #1481130