summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
Commit message (Collapse)AuthorAgeFilesLines
* Fix yamllint problemsScott Dodson2017-05-191-8/+8
| | | | I should've noticed before merging...
* add ability to expose Elasticsearch as an external routeRich Megginson2017-05-185-0/+205
| | | | | | | | | | | | | | This adds the ability to expose Elastisearch as a route outside of the cluster. - `openshift_logging_es_allow_external`: True (default is False) - if this is True, Elasticsearch will be exposed as a Route - `openshift_logging_es_ops_hostname`: The external facing hostname to use for the route and the TLS server certificate (default is "es." + `openshift_master_default_subdomain`) There are other similar parameters for the TLS server cert, key, and CA cert. There are other similar parameters for when the OPS cluster is deployed e.g. `openshift_logging_es_ops_allow_external`, etc.
* Merge pull request #4205 from stevekuznetsov/skuznets/logging-tmpdirScott Dodson2017-05-181-0/+1
|\ | | | | Don't escalate privileges in local tmpdir creation
| * Don't escalate privileges in local tmpdir creationSteve Kuznetsov2017-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | When running `ansible-playbook` as a non-root user, if a local temporary directory is created without explicitly not escalating privileges, the directory will not be readable to the user running the playbook on the controller host, which will lead to tasks like `fetch` failing to place files into the directory. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* | Fixed for python3 with Fedora 25 AtomicDonny Davis2017-05-141-1/+1
|/ | | This is not the only required fix, but this does fix one of the many issues.
* Merge pull request #4113 from ↵OpenShift Bot2017-05-133-14/+6
|\ | | | | | | | | jcantrill/bz1448860_make_recovery_after_nodes_to_node_quorum Merged by openshift-bot
| * bug 1448860. Change recovery_after_nodes to match node_quorumJeff Cantrill2017-05-113-14/+6
| |
* | bug 1441369. Kibana memory limitsJeff Cantrill2017-05-112-10/+33
|/ | | | | | bug 1439451. Kibana crash (cherry picked from commit 66315ebbfcfda72d6f501c441359d92ec71af7d2)
* use docker_log_driver and /etc/docker/daemon.json to determine log driverRich Megginson2017-05-092-1/+7
| | | | | | | | | | | | | | | We check the following variables, if they are defined, in the order listed below, to see if the journald log driver is set: * openshift_hosted_logging_use_journal * docker_log_driver * openshift.docker.log_driver * openshift.docker.options (look for '--log-driver=journald') If none of these are set, we leave openshift_logging_fluentd_use_journal undefined, and mount both /etc/sysconfig/docker and /etc/docker (for daemon.json) so that fluentd can determine which log driver is being used.
* Merge pull request #4026 from ewolinetz/cherry_picks_15OpenShift Bot2017-05-085-11/+37
|\ | | | | Merged by openshift-bot
| * Updating logging and metrics to restart api, ha and controllers when ↵ewolinetz2017-04-283-4/+16
| | | | | | | | updating master config
| * Adding defaults for es_indicesewolinetz2017-04-271-2/+2
| |
| * Updating logic for generating pvcs and their counts to prevent reuse when ↵ewolinetz2017-04-272-7/+21
| | | | | | | | looping
* | mux startup is broken without this fixRich Megginson2017-05-042-2/+2
| |
* | Correctly setting the primary and replica shard count settingsewolinetz2017-05-035-14/+2
| |
* | Making mux with_items list evaluate as empty if didnt get objects beforeewolinetz2017-05-022-2/+2
| |
* | Merge pull request #4028 from ewolinetz/logging_project_ns_labelsOpenShift Bot2017-05-022-11/+34
|\ \ | | | | | | Merged by openshift-bot
| * | Adding way to add labels and nodeselectors to logging projectewolinetz2017-04-272-11/+34
| |/
* | Don't double quote when conditionsScott Dodson2017-05-015-10/+10
| |
* | Remove jinja template delimeters from when conditionsScott Dodson2017-05-012-4/+4
| | | | | | | | | | | | In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
* | Adding checks for starting mux for 2.2.0ewolinetz2017-04-261-1/+4
|/
* Merge pull request #3911 from ewolinetz/logging_15_picksOpenShift Bot2017-04-255-159/+202
|\ | | | | Merged by openshift-bot
| * Addressing yamllintewolinetz2017-04-131-4/+4
| |
| * Updating kibana-proxy secret key for server-tls entryewolinetz2017-04-131-1/+1
| |
| * Pick from issue3896ewolinetz2017-04-134-154/+197
| |
* | Merge pull request #3932 from richm/muxOpenShift Bot2017-04-2414-0/+413
|\ \ | | | | | | Merged by openshift-bot
| * | cast openshift_logging_use_mux_client to boolRich Megginson2017-04-191-2/+2
| | |
| * | mux does not require privileged, only hostmount-anyuidRich Megginson2017-04-1914-0/+413
| | |
* | | Merge pull request #3733 from lukas-vlcek/es_readiness_probeOpenShift Bot2017-04-191-0/+7
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | Introduce Elasticsearch readiness probeLukáš Vlček2017-04-071-0/+7
| |/
* / Fix default image tag for enterpriseScott Dodson2017-04-131-1/+1
|/ | | | | We're just going to hardcode this for now until we can verify that a tag like v3.6 will always exist in the future
* Merge pull request #3818 from etsauer/openshift_logging_ansible_2.3OpenShift Bot2017-04-042-16/+23
|\ | | | | Merged by openshift-bot
| * Addressing py27-yamllintEric Sauer2017-04-031-4/+4
| |
| * Compatibility updates to openshift_logging role for ansible 2.2.2.0+Eric Sauer2017-03-312-13/+20
| |
* | Merge pull request #3777 from jcantrill/es_loggingOpenShift Bot2017-03-315-14/+38
|\ \ | |/ |/| Merged by openshift-bot
| * bug 1432607. Allow configuration of ES log destinationJeff Cantrill2017-03-305-14/+38
| |
* | fix es config merge so template does not need quoting. gen then mergeJeff Cantrill2017-03-282-9/+9
|/
* Fix overriding openshift_{logging,metrics}_image_prefixScott Dodson2017-03-243-4/+9
|
* Make linter happyScott Dodson2017-03-242-0/+2
|
* Specify enterprise defaults for logging and metrics imagesScott Dodson2017-03-244-2/+10
|
* Merge pull request #3730 from richm/bug-1434300OpenShift Bot2017-03-241-0/+2
|\ | | | | Merged by openshift-bot
| * Bug 1434300 - Log entries are generated in ES after deployed logging stacks ↵Rich Megginson2017-03-211-0/+2
| | | | | | | | | | | | | | | | | | | | via ansible, but can not be found in kibana. https://bugzilla.redhat.com/show_bug.cgi?id=1434300 Add support for common data model index pattern files. Depends on https://github.com/ViaQ/elasticsearch-templates/pull/36 and https://github.com/openshift/origin-aggregated-logging/pull/357
* | Do not use auto_expand_replicasLukáš Vlček2017-03-234-3/+14
| |
* | Merge pull request #3713 from ewolinetz/kibana_ops_cherrypickOpenShift Bot2017-03-232-10/+59
|\ \ | | | | | | Merged by openshift-bot
| * | Cherry picking from #3711ewolinetz2017-03-202-10/+59
| | |
* | | openshift_logging calculate min_masters to fail early on split brainJeff Cantrill2017-03-222-0/+3
| |/ |/|
* | Merge pull request #3647 from jcantrill/logging_specify_es_configOpenShift Bot2017-03-215-12/+26
|\ \ | |/ |/| Merged by openshift-bot
| * Allow user to specify additions to ES configJeff Cantrill2017-03-145-12/+26
| |
* | Merge pull request #3477 from lmello/fix-generate_jks.shOpenShift Bot2017-03-171-1/+1
|\ \ | | | | | | Merged by openshift-bot
| * | change shell to bash in generate_jks.shLeonardo Rodrigues de Mello2017-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generate_jks.sh script uses non-posix standard shell features, this breaks the openshift_logging installation if the controller node is running debian or ubuntu. This problem was not spot before because probably all the developers use fedora or redhat/centos and in redhat based distributions the /bin/sh is a symlink to bash. Debian and ubuntu adopted dash a long time ago and in debian/ubuntu controller nodes /bin/sh is a symlink to dash, that does not support the extended feature set required by this script. This commit changes the shell to bash to ensure it is run with a shell interpreter that supports the extended feature. https://www.shellcheck.net/ https://wiki.ubuntu.com/DashAsBinSh