aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/common/tasks/config.yml
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake1-101/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-06Adding logrotate configuration for ceilometerprameswar1-0/+1
Closes-bug: #1635316 Change-Id: I3195518f1ee52249bc6259d3cab0f479f5522df1
2016-11-04Merge "add grafana log in heka"Jenkins1-0/+2
2016-10-21Merge "Add logrotate configuration for elasticsearch"Jenkins1-1/+2
2016-10-19Add logrotate configuration for elasticsearchChristian Berendt1-1/+2
Change-Id: I6af9935e46dcd3c2f9ea18545e059e055b840d90 Closes-bug: #1634223
2016-10-19Support searchlight ansible roleliyingjun1-0/+1
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-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-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-10add grafana log in hekazhubingbing1-0/+2
Change-Id: I38b57cc43411b703dbb0639a600aaef58e01bc38 Closes-Bug: #1631818
2016-09-18Only enabled services log filesEduardo Gonzalez1-25/+26
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-14Merge "Add Senlin Ansible role"Jenkins1-0/+1
2016-09-14Merge "Fix missing cloudkitty config file for cron container"Jenkins1-0/+1
2016-09-14Add Senlin Ansible roleEduardo Gonzalez1-0/+1
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a Implements: bp senlin-container
2016-09-14Fix missing cloudkitty config file for cron containerHui Kang1-0/+1
Change-Id: I6a2c158ae9bad9a824d04056b70a2d0cbe765a55 closes-bug: #1623314
2016-09-13Add Barbican ansible rolezhubingbing1-0/+2
Partially-Implements: blueprint barbican-ansible Change-Id: Id6be35b1d0527d5c38d4ea8576b233ebcc404718
2016-09-06Add gnocchi ansible rolezhubingbing1-0/+2
Partially-Implements: blueprint ansible-gnocchi Change-Id: I8dd0460bd21ac0a233fab0142ec7b6079459bdc2
2016-09-02Use the standard start method for kolla-toolbox containerJeffrey Zhang1-0/+2
TrivialFix Change-Id: Icb092e47713e0b89859747d6ed4c02b3950d7ced Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-08-31Merge "Add aodh role"Jenkins1-0/+2
2016-08-31Add aodh rolezhubingbing1-0/+2
Partially-Implements: blueprint ansible-aodh Change-Id: I9e20f4bf5e7d8f37f243ae15746e2b7bb49eb20c
2016-08-08Add heka custom config to define user's log piplinejackning1-0/+10
Kolla's default heka pipline may not satisfy user's requirements, for example, sending openstack log to outer log analyze system. So it is necessary to add heka custom configuration for define user's encoders, outputs and other plugins. Change-Id: I48bd8d7e0afbc2d023c49c83041f87a04970bbb6 Closes-Bug: #1611164
2016-07-22Add Watcher ansible roles and templatesDave Walker (Daviey)1-0/+1
Previous work on Watcher added the Docker images, this change adds the ansible configuration. There is support for HA, via haproxy to balance across the Watcher API hosts. There is also a hook into nova.conf to conditionally add Nova compute Host metrics via Ceilometer if Watcher is enabled. This defaults to enabled false. Change-Id: I8763528bb6ff12943b810212c71396d2d7cf6836 Partial-bug: #1598929 Partially-implements: bp watcher Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-04-03Make Heka write Keepalived logs to dedicated directoryCarlos Cesario1-0/+1
Currently Heka writes the keepalived logs in /var/log/kolla/haproxy/keepalived.log. This commit changes this to /var/log/kolla/keepalived/keepalived.log. Closes-Bug: #1565499 Change-Id: I3033097bd77ddbf72948697b34a6a499ea903083
2016-03-23Merge "MariaDB is not copied if enable_rabitmq is disabled"Jenkins1-1/+1
2016-03-23MariaDB is not copied if enable_rabitmq is disabledSteven Dake1-1/+1
Eric spotted this on IRC. Submitted a bug and patch on his behalf since he isn't available to work on Kolla in the next few hours. Co-Authored-By: Eric Lemoine <elemoine@mirantis.com> Change-Id: I91efdd540170a391228d247c2e6e533e6c87b951 Closes-Bug: #1560819
2016-03-22Changes horizon log location to kolla_logs volumeSerguei Bezverkhi1-0/+1
Changes location of Horizon log, they will be stored on common log volume kolla_logs. Change-Id: Ie9d56999a83efd05ab7c3dcb00b4dc42c9bce8f8 Closes-Bug: 1560250
2016-03-19Rework heka log copyingSamYaple1-38/+25
Now that we have reconfigure we dont have to copy over all config files at the same time. TrivialFix Change-Id: I866be0f05e604151e081974a64f17bf65787f604
2016-03-10Merge "Add cron image and playbook"Jenkins1-0/+26
2016-03-09Add cron image and playbookÉric Lemoine1-0/+26
Add cron image and playbook for logrotate. The "common" Ansible playbook includes configuration files for logrotate. At this point the operator cannot customize/override the logrotate configuration. Closes-Bug: #1553244 Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
2016-03-09Remove storage_hostnameSamYaple1-9/+0
This was an attempt to get storage_interface to work properly but that work will not be completed and functional this cycle. There are design topics that need to be discussed about it that were brought to light by the RAX gate failing for it. TrivialFix Change-Id: I65579f9e0e0dcf3fa51c0ea031ff474145457c40
2016-03-08Add "heka-elasticsearch.toml" to /etc/heka in heka bootstrap container.Rodolfo Alonso1-0/+1
Missing file during the config procces of bootstrap container. Change-Id: I600c0ca9c60bddae16310be1fcb65f3be482a599 Closes-Bug: #1554449
2016-03-07Merge "Move hostname registration to common"Jenkins1-0/+9
2016-03-05Make Heka send logs to ElasticsearchÉric Lemoine1-0/+8
This patch includes changes relative to integrating Heka with Elasticsearch and Kibana. The main change is the addition of an Heka ElasticSearchOutput plugin to make Heka send the logs it collects to Elasticsearch. Since Logstash is not used the enable_elk deploy variable is renamed to enable_central_logging. If enable_central_logging is false then Elasticsearch and Kibana are not started, and Heka won't attempt to send logs to Elasticsearch. By default enable_central_logging is set to false. If enable_central_logging is set to true after deployment then the Heka container needs to be recreated (for Heka to get the new configuration). The Kibana configuration used property names that are deprecated in Kibana 4.2. This is changed to use non-deprecated property names. Previously logs read from files and from Syslog had a different Type in Heka. This is changed to always use "log" for the Type. In this way just one index instead of two is used in Elasticsearch, making things easier to the user on the visualization side. The HAProxy configuration is changed to add entries for Kibana. Kibana server is now accessible via the internal VIP, and also via the external VIP if there's one configured. The HAProxy configuration is changed to add an entry for Elasticsearch. So Elasticsearch is now accessible via the internal VIP. Heka uses that channel for communicating with Elasticsearch. Note that currently the Heka logs include "Plugin elasticsearch_output" errors when Heka starts. This occurs when Heka starts processing logs while Elasticsearch is not yet started. These are transient errors that go away when Elasticsearch is ready. And with buffering enabled on the ElasticSearchOuput plugin logs will be buffered and then retransmitted when Elasticsearch is ready. Change-Id: I6ff7a4f0ad04c4c666e174693a35ff49914280bb Implements: blueprint central-logging-service
2016-03-03Move hostname registration to commonSamYaple1-0/+9
The storage hostname is used in many conf files all over the place and should be registered upon each run for every service TrivialFix Change-Id: I1d5a20cb6d51cee9f529cf2e1fb144158f7718a9
2016-02-23Remove Rsyslog entirelyÉric Lemoine1-9/+0
Partially implements: blueprint heka Change-Id: I1322d2dc870e6f8fe052926995d993e8a08a25db
2016-02-19Make Heka collect Swift logsÉric Lemoine1-0/+21
Partially implements: blueprint heka Change-Id: I893a0c4a4cab9d4d98821634ddd2ff67015c4e3f
2016-02-19Make Heka collect Keystone logsÉric Lemoine1-0/+1
Partially implements: blueprint heka Change-Id: I940143876981a04464af67aff65c09a06926701d
2016-02-19Make Heka collect MariaDB logsÉric Lemoine1-0/+1
Partially implements: blueprint heka Change-Id: Ib5e740683cee296bcac69228f525594850d62a27
2016-02-19Make Heka collect Nova logsÉric Lemoine1-0/+1
Partially implements: blueprint heka Change-Id: I67dfc5d762d74454e4a852dd61c57fe9cd4b78c8
2016-02-19Make Heka collect RabbitMQ logsÉric Lemoine1-0/+1
Partially implements: blueprint heka Change-Id: I8fd3324daf15e52712591c2b3cbec613d82b73b3
2016-02-19Make Heka collect HAProxy and Keepalived logsÉric Lemoine1-0/+1
Partially implements: blueprint heka Change-Id: I7e2bf4e520fa14fd40e3b329f3b2998ae6ea47f4
2016-02-19Add Heka to common roleÉric Lemoine1-0/+9
Partially implements: blueprint heka Change-Id: I9ddad09b3f16b323c7ed535243458b0de6620cdb
2016-01-19Consistency changes in configsMaciej Szankin1-2/+4
TrivialFix Change-Id: Iafd92e4e962dec5a225582ff058ab3603e5a50bb
2015-12-26Fix file permissionsSamYaple1-0/+0
Throughout the project overtime some of these file permissions have changed to have an executable bit. They should not have this bit set. TrivialFix Change-Id: I1748b5bde813a0fcac36aeecdfd83245b8ee5be3
2015-12-22Simplify config creationSamYaple1-7/+11
Convert config creation from a playbook to an action_plugin. This reduces the complexity and confusion while retaining the same augment structure and flexibility. This allows us to remove the 0-byte files as requirements. They will still be used if they are present (this means we require additional documentation around them). DocImpact Closes-Bug: #1528430 Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
2015-09-27Replace config-external - rsyslogSam Yaple1-0/+5
Change-Id: Ic19c1a0e975f6097813cad52f880042e33730ff8 Partially-Implements: blueprint replace-config-external
2015-09-24Ansible bits to rsysloginc01-0/+11
Ansible installation of rsyslog container Change-Id: I17a7ee679f72e8fe667012d7eb6e07a27098a909 Implements: bp logging-container