summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
Commit message (Collapse)AuthorAgeFilesLines
* Add switch to enable/disable container engine's audit log being stored in ES.Josef Karasek2017-10-111-0/+3
| | | | If enabled, tho logs are stored in ES' operations index, accesible only by cluster admins.
* Merge pull request #5637 from wozniakjan/1496271_fixOpenShift Merge Robot2017-10-053-11/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1496271 - Perserve SCC for ES local persistent storage ES can be modified to use node local persistent storage. This requires changing SCC and is described in docs: https://docs.openshift.com/container-platform/3.6/install_config/aggregate_logging.html During an upgrade, SCC defined by the user is ignored. This fix fetches SCC user defined as a fact and adds it to the ES DC which is later used. Also includes cherrypicked fix for - Bug 1482661 - Preserve ES dc nodeSelector and supplementalGroups cc @jcantrill
| * Bug 1496271 - Perserve SCC for ES local persistent storageJeff Cantrill2017-10-033-6/+6
| | | | | | | | | | | | | | | | | | | | ES can be modified to use node local persistent storage. This requires changing SCC and is described in docs: https://docs.openshift.com/container-platform/3.6/install_config/aggregate_logging.html During an upgrade, SCC defined by the user is ignored. This fix fetches SCC user defined as a fact and adds it to the ES DC which is later used.
| * bug 1482661. Preserve ES dc nodeSelector and supplementalGroupsJeff Cantrill2017-09-292-5/+13
| | | | | | | | (cherry picked from commit 601e35cbf4410972c7fa0a1d3d5c6327b82353ac)
* | Merge pull request #5564 from jcantrill/es_promOpenShift Merge Robot2017-10-053-3/+21
|\ \ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add logging es prometheus endpoint This PR adds changes to add a prometheus endpoint to the logging elasticsearch pod
| * | Add logging es prometheus endpointJeff Cantrill2017-10-033-3/+21
| | |
* | | Merge pull request #5543 from ewolinetz/bz1495150OpenShift Merge Robot2017-10-041-4/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Removing setting pvc size and dynamic to remove looped var setting If we don't set openshift_logging_es_pvc_size but have `openshift_logging_es_pvc_dynamic=True` we see the variable openshift_logging_elasticsearch_pvc_size is set recursively as itself. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1495150 https://bugzilla.redhat.com/show_bug.cgi?id=1496202
| * | | Removing setting pvc size and dynamic to remove looped var settingEric Wolinetz2017-09-261-4/+0
| | | |
* | | | bug 1497401. Default logging and metrics images to 3.7Jeff Cantrill2017-10-031-1/+1
| | | |
* | | | Merge pull request #5600 from ewolinetz/bz1496352OpenShift Merge Robot2017-10-022-2/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Reverting using uninstall variables for logging and metrics Reverting using `uninstall` variables for logging and metrics. Addresses bug and comments in https://bugzilla.redhat.com/show_bug.cgi?id=1496352
| * | | Reverting using uninstall variables for logging and metricsEric Wolinetz2017-09-292-2/+1
| | |/ | |/|
* | | Quick formatting updates to the logging README.stran2017-09-281-22/+22
|/ / | | | | | | This is just markup formatting changes, no content was updated.
* | minor update to README and removed dead filestran2017-09-271-6/+18
| |
* | Added new variables for logging role for remote-syslog pluginstran2017-09-271-0/+11
| | | | | | | | | | | | | | | | Includes the following code review fixes, and a rebase with upstream/master - mux.j2 template needed mux specific parameters for syslog configs - fixed bug in IF condition not checking for true-ness - updated README wording to remove ambiguity of payload_key's datatype
* | Merge pull request #4973 from wozniakjan/logging_eventrouterOpenShift Merge Robot2017-09-273-2/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue logging: introducing event router Initial concept integrating kubernetes events to EFK stack using [eventrouter](https://github.com/heptio/eventrouter) - **eventrouter** is deployed to logging project, has a service account and its own role to read events - **eventrouter** watches kubernetes events, marshalls them to JSON and outputs to its STDOUT - **fluentd** picks them up and inserts to elastic search logging project index Kubernetes events could be easily stored into different index. Among other ways, it could be achieved either by a fluentd filter plugin or custom eventrouter sink. Pending actions: - [x] - get our downstream and upstream images for eventrouter, don't use heptio's cc: @josefkarasek , @jcantrill , @richm
| * | logging: introducing event routerJan Wozniak2017-09-263-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | - eventrouter has its own role 'openshift_logging_eventrouter' written as a template - 'openshift_logging_install_eventrouter' controls whether it gets included in the playbook or not - deployed by default to 'default' namespace
* | | Merge pull request #5358 from wozniakjan/logging_kibana_ops/default_memoryOpenShift Merge Robot2017-09-261-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue logging: fix kibana and kibana-ops defaults - move kibana-ops defaults to `openshift_logging_kibana` role - set kibana-ops memory limit to 256Mi to match kibana memory limit **additional steps:** - [ ] backport to 3.6 - [ ] backport to 3.5 - [x] wait for PR #5176 to merge and rebase cc: @jcantrill
| * | logging: fix kibana and kibana-ops defaultsJan Wozniak2017-09-251-2/+2
| |/
* | Merge pull request #5494 from jcantrill/deprecate_escopyOpenShift Merge Robot2017-09-262-2/+0
|\ \ | |/ |/| | | | | | | | | Automatic merge from submit-queue Remove logging ES_COPY feature This PR removes the ES_COPY feature that has been deprecated since 3.3
| * Remove logging ES_COPY featureJeff Cantrill2017-09-222-2/+0
| |
* | Updating default behavior for installing metrics and logging. Separating out ↵Eric Wolinetz2017-09-222-5/+7
|/ | | | uninstall to own variable
* Creating structure to warn for use of deprecated variables and set them in a ↵Eric Wolinetz2017-09-201-29/+30
| | | | single location before they are no longer honored
* Bug 1491636 - honor openshift_logging_es_ops_nodeselectorJan Wozniak2017-09-141-0/+2
|
* Adding deprecation checks to ansible_syntaxRussell Teague2017-09-011-1/+1
|
* Merge pull request #5189 from wozniakjan/logging_purge_uninstallOpenShift Bot2017-08-313-3/+13
|\ | | | | Merged by openshift-bot
| * Bug 1467265 - logging: add 'purge' option with uninstallJan Wozniak2017-08-243-3/+13
| | | | | | | | | | | | | | | | | | | | | | The common uninstall would keep PVC around to prevent unwanted data loss during reinstalls. There is a scenario where the user may want complete removal of EFK stack including PVC. This change adds an optional `openshift_logging_purge_logging` variable to completely remove the EFK stack. By default, this is set to 'False' and only works if user sets `openshift_logging_install_logging` to 'False' to initiate the uninstallation process.
* | Merge pull request #5219 from jcantrill/bz1480988_kibana_ops_linksScott Dodson2017-08-293-0/+20
|\ \ | | | | | | annotate the infra projects for logging to fix bz1480988
| * | annotate the infra projects for logging to fix bz1480988Jeff Cantrill2017-08-283-0/+20
| | |
* | | Merge pull request #5044 from wozniakjan/logging_role_based_image_versionsOpenShift Bot2017-08-252-12/+12
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | Bug 1471322: logging roles based image versionsJan Wozniak2017-08-182-12/+12
| | | | | | | | | | | | | | | | | | Allowing to specify an image version for each logging component https://bugzilla.redhat.com/show_bug.cgi?id=1471322
* | | fix #5206. Default ES cpu limitJeff Cantrill2017-08-251-2/+2
| | |
* | | Passing memory and cpu limit for ops ES installEric Wolinetz2017-08-221-0/+4
| |/ |/|
* | 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