aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/common
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake58-789/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-15Revert "corrects invalid logrotate option maxsize"Jeffrey Zhang1-1/+1
maxsize do exist and is better than size. need another approach to solve the issue. This reverts commit c4107ed723354336427afb30bc3e25cd5303baf5. Change-Id: I76eb00a9771907b071d974db33c15accd404e9ec
2016-11-08corrects invalid logrotate option maxsizeSean Mooney1-1/+1
- logrotate does not have a maxsize option. while logrotate supports a minsize option its couterpart is size. - This chage replaces the use of maxsize with size in cron-logrotate-global.conf.j2 Change-Id: I381c52e8a866b74b5f2c3b38a2c87f74c48c05e1 Closes-Bug: #1640196
2016-11-06Adding logrotate configuration for ceilometerprameswar5-1/+19
Closes-bug: #1635316 Change-Id: I3195518f1ee52249bc6259d3cab0f479f5522df1
2016-11-04Merge "add grafana log in heka"Jenkins5-0/+31
2016-11-04Add OS_CACERT in openrc when it is configuredJeffrey Zhang1-0/+3
TrivialFix Change-Id: I5750645d63c27d3778df27ca090ceccbc08d5eef
2016-11-03Move precheck into its own roleJeffrey Zhang1-0/+1
* Merge prechecks.yml and site.yml playbook * Create empty precheck.yml into all roles. Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd Implements: blueprint condition-pre-check
2016-10-21Merge "Add logrotate configuration for elasticsearch"Jenkins3-1/+6
2016-10-19Add logrotate configuration for elasticsearchChristian Berendt3-1/+6
Change-Id: I6af9935e46dcd3c2f9ea18545e059e055b840d90 Closes-bug: #1634223
2016-10-19Merge "Support searchlight ansible role"Jenkins4-1/+6
2016-10-19Support searchlight ansible roleliyingjun4-1/+6
Searchlight is an Openstack search and index service, this patch implements the ansible role for searchlight. Implement blueprint: support-searchlight-deployment Change-Id: Ibf42d5b259a6740d6596041f896e1009657b7388
2016-10-19Fix wrong log permission for services collected through syslogJeffrey Zhang1-0/+15
Change-Id: I3b1ddffde2ffd9a2b777d99c552550cda324c570 Partial-Bug: #1631503
2016-10-18Adding kubetoolbox imageSerguei Bezverkhi1-0/+4
This PS adds kubetoolbox image which is required for Kubernetes fencing pod. This image includes, kubectl binary, ceph-common and ipmi. Change-Id: I17b2a47b95ed7dea391f1427a41c92b15c97986d Partially-Implements: blueprint kubernetes-toolbox
2016-10-18Merge "Adds Fluentd docker image required for kolla-kube"Jenkins1-0/+4
2016-10-17Merge "Fix common role upgrade permission issue"Jenkins2-1/+19
2016-10-17Merge "Fix stale namespace removal issue"Jenkins1-1/+1
2016-10-17Fix common role upgrade permission issueJeffrey Zhang2-1/+19
Change-Id: I0f989b8a0ebd30424f71619981775d75ff1db691 Partial-Bug: #1631503
2016-10-16fix cron logrotate for saharabjolo1-0/+1
sahara.conf was not copied over to target nodes. Prevented cron container from starting Change-Id: I98ad65ad1541e1a64fb5762571556e2661611ff2 Closes-Bug: #1631944
2016-10-15Fix stale namespace removal issueJeffrey Zhang1-1/+1
When using both /run and /run/netns in docker container, mount propagation won't work when delete namespace after the containers are restarted. This PS makes /run mount as shared. Closes-Bug: #1616268 Change-Id: Ie16699e1b193b2bf1263d89ea634e89ea69add9e
2016-10-13Merge "copy iscsid logrotate config"Jenkins1-0/+1
2016-10-13Merge "Remove do_reconfigure.yml file for all roles"Jenkins2-43/+41
2016-10-13copy iscsid logrotate configWaldemar Znoinski1-0/+1
This change adds copying iscsid logrotate conf file for config task in common role. Closes-bug: #1633127 Change-Id: I7da1f9ff794ed62f1baf70c04a2f6d0ca8d426aa
2016-10-13Merge "set basic kolla structures for iscsid"Jenkins2-0/+4
2016-10-13set basic kolla structures for iscsidWaldemar Znoinski2-0/+4
* enable iscsid when ironic is enabled * update sample inventory files with above * add logrotate conf template for iscsid * add 'common' role dependency for iscsi role Change-Id: I3054b9139a43542febf26c3ce9a71b65f2fcdd84 Closes-bug: #1632850
2016-10-12Adds Fluentd docker image required for kolla-kubeSerguei Bezverkhi1-0/+4
This PS adds Fluentd docker image to Kolla. Kolla currently does not use Fluentd for log collection, but this image is required for Kubernetes centralized logging solution. Change-Id: I719661d75f5044239a1fd52080d322c77490ecae Partially_Implements: blueprint kubernetes-images
2016-10-10add grafana log in hekazhubingbing5-0/+31
Change-Id: I38b57cc43411b703dbb0639a600aaef58e01bc38 Closes-Bug: #1631818
2016-10-08Remove unneeded Heka bootstrapping codeRyan Hallisey1-19/+0
The Heka bookstrap doesn't do anything different then the start code. Remove the boostrap step since it isn't needed. Change-Id: Id9906c6e2cef83fd6d1fcbcbef7a32d9948d07a3 Closes-bug: #1631651
2016-10-08Merge "fix can't collect horizon log in heka"Jenkins1-2/+2
2016-10-08Merge "add sahara log in heka"Jenkins3-1/+5
2016-10-07add sahara log in hekazhubingbing3-1/+5
Closes-Bug: #1631286 Change-Id: I874913a08e932766d9517bf4740de94146d7b5fb
2016-10-07fix can't collect horizon log in hekazhubingbing1-2/+2
Change-Id: Idecb70e90ae560d1c41756e3617225556087dd19 Closes-Bug: #1631048
2016-10-05Heka template missing optional paramsPaul Bourke1-2/+4
If enable_rabbitmq or enable_keystone are false, the configs will not be copied to target nodes for these. This resulted in Heka failing to start. Change-Id: I93d15534802b671f1f42e8b2dfb523a17526ffb7 Closes-Bug: #1630613
2016-10-03Merge "Remove redundant common play and add haproxy hosts"Jenkins1-0/+2
2016-09-30Remove redundant common play and add haproxy hostsAndrew Widdersheim1-0/+2
In cf0c25c37 [0] a play was added to run the common role against all hosts. This ends up being redundant since every role includes the common role as a dependancy. The reasoning behind this change as pointed out by the author in the review comments [1] was so that an operator could run with '--tags common' and just have the common role applied. To avoid redundancy, the common play has been removed and tags have been added to the common role. This allows for just the common role to run when another role is including it while reducing redundancy. A side affect of removing the common playbook which runs against all hosts is that not all facts on all hosts are gathered at the beginning of the site.yml. This breaks the haproxy role since it relies heavily on facts to build out the haproxy.cfg file. Previously, the haproxy role would include several hosts purely for fact gathering purposes as pointed out in c68c9d95 [2] and a guard was put in place so that the tasks would only run against the 'haproxy' group. In 423e3f3f [3] these hosts were removed. After reading the review [4], this seems to have been done without fully understanding why the hosts were there in the first place. This change did not break anything however since the common role that ran on all hosts mentioned previously would gather all of the facts necessary. To fix this fact gathering issue replace the common role play with a play that will simply gather facts with an 'always' tag to ensure it is run regardless of what might be passed in the '--tags' argument by the operator. Kudos to Paul Bourke for helping identify many of these issues. [0] https://github.com/openstack/kolla/commit/cf0c25c37d4dd901a839a12247212c22493e1409 [1] https://review.openstack.org/#/c/369212/ [2] https://github.com/openstack/kolla/commit/c68c9d95fca6485c79a607b3716a88e284c7a64e [3] https://github.com/openstack/kolla/commit/423e3f3fdf07f40b46fed1125076880660d14c53 [4] https://review.openstack.org/#/c/355861 TrivialFix Closes-Bug: #1628472 Change-Id: Ia94146579e743935501f1ff4b4c1bf6cb7c43aa3
2016-09-27Remove do_reconfigure.yml file for all rolesJeffrey Zhang2-43/+41
do_reconfigure.yml is introduced to use serial directive. But we use it in wrong. Now serial has moved to playbook file. So it is time to remove the do_reconfigure.yml file Closes-Bug: #1628152 Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
2016-09-27add aodh gnocchi barbican in heka.json.j2zhubingbing1-0/+21
TrivialFix Change-Id: I956a1d535493e1b6d81ffdf71326f56e81568665
2016-09-22Fix idempotent for initializing toolbox container taskJeffrey Zhang1-0/+1
TrivialFix Change-Id: I643940d04ec0c2ffeb95816dde5d1438829c7464
2016-09-18Only enabled services log filesEduardo Gonzalez2-48/+49
Only enabled services logs should be added to cron container and be inclued in cron.json. This PS adds logic to only copy enabled services cron files. Change-Id: Id6303a4c77a0230599e11be165489ba46dba65e0 Closes-bug: #1623712
2016-09-15Add cloudkitty to heka-openstack.toml.j2Christian Berendt1-1/+1
TrivialFix Change-Id: If995f08d5cc131498739afb48a2406438e806d2a
2016-09-14Merge "Add Senlin Ansible role"Jenkins4-1/+6
2016-09-14Merge "Fix missing cloudkitty config file for cron container"Jenkins1-0/+1
2016-09-14Add Senlin Ansible roleEduardo Gonzalez4-1/+6
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a Implements: bp senlin-container
2016-09-14Merge "fix the common upgrade"Jenkins1-1/+4
2016-09-14Fix missing cloudkitty config file for cron containerHui Kang1-0/+1
Change-Id: I6a2c158ae9bad9a824d04056b70a2d0cbe765a55 closes-bug: #1623314
2016-09-14fix the common upgradeJeffrey Zhang1-1/+4
Closes-Bug: #1623305 Change-Id: I21ca191cb5a45b0beb97dfe67a209999b9033cb0 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-13Merge "Add logrotate configuration for cloudkitty"Jenkins2-1/+25
2016-09-13Add logrotate configuration for cloudkittyChristian Berendt2-1/+25
TrivialFix Change-Id: I7cd8133b7677e67ea650163a5e56e157276eb9b8
2016-09-13Added serial option to site.yml.Mick Thompson1-1/+0
Useful for upgrade etc., which is preferablly done serially. Example usage: tools/kolla-ansible deploy OR tools/kolla-ansible upgrade Closes-Bug: #1576708 DocImpact Change-Id: I34b2e16f8ce53e472a4682a4738c4ac0f5abf00c
2016-09-13Add Barbican ansible rolezhubingbing4-1/+19
Partially-Implements: blueprint barbican-ansible Change-Id: Id6be35b1d0527d5c38d4ea8576b233ebcc404718
2016-09-06Add gnocchi ansible rolezhubingbing4-1/+19
Partially-Implements: blueprint ansible-gnocchi Change-Id: I8dd0460bd21ac0a233fab0142ec7b6079459bdc2