summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
Commit message (Collapse)AuthorAgeFilesLines
* Remove additional 'restart master' handler references.Andrew Butcher2017-08-091-1/+0
|
* Remove the origin-master.service and associated filesClayton Coleman2017-08-081-7/+2
| | | | | | From now on, all master configurations use the api / controller split, regardless of HA mode or previous configuration. This will be our only supported configuration starting in 3.7 or 3.8.
* Merge pull request #4958 from sdodson/logging-metrics-imagetagScott Dodson2017-08-021-1/+1
|\ | | | | Switch logging and metrics OCP image tag from 3.6.0 to v3.6
| * Switch logging and metrics OCP image tag from 3.6.0 to v3.6Scott Dodson2017-08-011-1/+1
| |
* | use mux_client_mode instead of use_mux_clientRich Megginson2017-08-012-6/+11
|/ | | | | | | | | | | | | | | | | | | | | Instead of the `openshift_logging_use_mux_client` boolean parameter, use `openshift_logging_mux_client_mode` which will allow us to support different mux client use cases: The value `maximal` will cause Fluentd to perform as much of the processing as possible at the local node. This currently means all of the processing *except* for the Kubernetes metadata processing, which will be done by mux. This is the currently recommended mode to use due to current scaling issues. The value `minimal` means that Fluentd will do *no* processing at all, and send the raw logs to mux for processing. This is currently not recommended to use due to current scaling issues. Ansible will warn you if you try to use this mode. `MUX_ALLOW_EXTERNAL` is no longer needed in the mux dc. mux now always operates to process external logs. The ansible setting `openshift_logging_mux_allow_external` is still required in order to set up the mux service to accept connections from outside of the cluster.
* Impl fluentd file bufferNoriko Hosoi2017-07-281-0/+16
| | | | (cherry picked from commit 231a7c4ce27ff944d9e14169062f487f57c94dd6)
* Updating how storage type is determined, adding bool filter in ↵ewolinetz2017-07-241-4/+12
| | | | openshift_logging_elasticsearch
* Bug 1466152 - Json-file log driver: Neither ↵Rich Megginson2017-07-063-3/+1
| | | | | | | | | | "openshift_logging_fluentd_use_journal=false" nor omitted collects the log entries https://bugzilla.redhat.com/show_bug.cgi?id=1466152 Do not set openshift_logging_fluentd_use_journal or USE_JOURNAL at all unless it is explicitly set as an ansible param. It is almost always better to let fluentd figure out which log driver docker is using.
* fix 1466680. Fix logging deploying to the specified namespaceJeff Cantrill2017-06-301-0/+4
|
* Fixing ops storage options being passed to openshift_logging_elasticsearch ↵ewolinetz2017-06-292-11/+13
| | | | role fixing default ops pv selector
* openshift_logging: use empty default for storage labelsFederico Simoncelli2017-06-231-1/+1
| | | | Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
* Merge pull request #4294 from richm/fix-es-routes-for-new-logging-rolesOpenShift Bot2017-06-161-0/+12
|\ | | | | Merged by openshift-bot
| * fix es routes for new logging rolesRich Megginson2017-06-071-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | port the code that creates the external Elasticsearch routes to the new logging roles Have to suppress this error message: SSL Problem illegal change cipher spec msg, conn state = 6, handshake state = 1 which is coming from the router health check, until https://github.com/openshift/origin/issues/14515 is fixed - otherwise, the es log is spammed relentlessly
* | Merge pull request #4356 from nhosoi/mux_params-0OpenShift Bot2017-06-152-0/+7
|\ \ | | | | | | Merged by openshift-bot
| * | Reverted most of this pr 4356 except:Noriko Hosoi2017-06-052-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | adding openshift_logging_fluentd_buffer_queue_limit: 1024 openshift_logging_fluentd_buffer_size_limit: 1m openshift_logging_mux_buffer_queue_limit: 1024 openshift_logging_mux_buffer_size_limit: 1m and setting the matched environment variables.
| * | Introducing fluentd/mux buffer_queue_limit, buffer_size_limit, cpu_limit, ↵Noriko Hosoi2017-06-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and memory_limit. Default values: openshift_logging_fluentd_cpu_limit: 100m openshift_logging_fluentd_memory_limit: 512Mi openshift_logging_fluentd_buffer_queue_limit: 1024 openshift_logging_fluentd_buffer_size_limit: 16m openshift_logging_fluentd_buffer_size_limit: 1m openshift_logging_mux_cpu_limit: 500m openshift_logging_mux_memory_limit: 1Gi openshift_logging_mux_buffer_queue_limit: 1024 openshift_logging_mux_buffer_size_limit: 1m
* | | Merge pull request #4302 from ewolinetz/pv_node_selectorsOpenShift Bot2017-06-131-2/+2
|\ \ \ | |_|/ |/| | Merged by openshift-bot
| * | Allowing openshift_metrics to specify PV selectors and allow way to define ↵ewolinetz2017-05-261-2/+2
| | | | | | | | | | | | selectors when creating pv
* | | fix up openshift-ansible for use with 'oc cluster up'Jeff Cantrill2017-06-062-2/+2
| | |
* | | Merge pull request #4327 from ewolinetz/fix_logging_secretOpenShift Bot2017-06-062-4/+6
|\ \ \ | |_|/ |/| | Merged by openshift-bot
| * | Updating Kibana-proxy secret key name, fixing deleting secrets, fixed extra ↵ewolinetz2017-05-312-4/+6
| | | | | | | | | | | | ES dc creation
* | | Merge pull request #4232 from richm/mux-namespaces-docsOpenShift Bot2017-06-023-3/+39
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | add mux docs; allow to specify mux namespacesRich Megginson2017-05-313-3/+39
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the necessary documentation for the mux parameters and behavior. This also adds new parameters which allow to specify the namespaces mux must create by default, and which can be optionally added. This casts openshift_logging_use_mux to bool wherever it is used as a boolean. Also - use oc_service `labels` and `external_ips` which are now available.
* | | fix curator host, port params; remove curator es volumesRich Megginson2017-05-311-0/+4
| | |
* | | Revert "Merge pull request #4271 from DG-i/master"Steve Kuznetsov2017-05-312-2/+0
|/ / | | | | | | | | | | | | This reverts commit 6b9e05d16a935d632b83eda601538bff2353e4fb, reversing changes made to 240b923c95e04e9467c607c502c857dd86d14179. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* | Adding default value for openshift_hosted_logging_storage_kindewolinetz2017-05-301-4/+4
| |
* | Merge pull request #4280 from ewolinetz/logging_pvc_fixOpenShift Bot2017-05-301-4/+7
|\ \ | | | | | | Merged by openshift-bot
| * | Updating to generate PVC when storage type is passed in as nfsewolinetz2017-05-251-4/+7
| | |
* | | Merge pull request #4271 from DG-i/masterOpenShift Bot2017-05-302-0/+2
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | disable become for local actionsMathias Merscher2017-05-242-0/+2
| |/ /
* | | Merge pull request #4242 from jarrpa/map-pairs-fixOpenShift Bot2017-05-241-1/+1
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | filter_plugins: Allow for multiple pairs in map_from_pairs()Jose A. Rivera2017-05-191-1/+1
| |/ | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Fixing tux warnings and some final clean upewolinetz2017-05-231-7/+9
| |
* | fixing available variables for 2.3.0ewolinetz2017-05-221-0/+8
| |
* | Updating pvc generation namesewolinetz2017-05-221-3/+20
| |
* | updating delete_logging to use modulesewolinetz2017-05-221-62/+47
| |
* | Pulling in changes from masterewolinetz2017-05-2250-2830/+46
| |
* | Decomposing openshift_logging role into subcomponent rolesewolinetz2017-05-225-120/+162
|/
* 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
| |