summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
Commit message (Collapse)AuthorAgeFilesLines
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-205-6/+6
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-182-2/+3
| | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* Merge pull request #6363 from jcantrill/bz1519808_logging_kibana_annotationScott Dodson2017-12-132-8/+29
|\ | | | | fix 1519808. Only annotate ops projects when openshift_logging_use_op…
| * fix 1519808. Only annotate ops projects when openshift_logging_use_ops=truejcantrill2017-12-122-8/+29
| |
* | Merge pull request #6369 from irozzo-1A/logging-becomeRussell Teague2017-12-131-0/+1
|\ \ | |/ |/| Do not escalate privileges in logging stack deployment task
| * Do not escalate privileges in logging stack deployment taskirozzo2017-12-051-0/+1
| |
* | Remove openshift.common.service_typeMichael Gugino2017-12-071-2/+2
| | | | | | | | | | | | | | | | This commit removes openshift.common.service_type in favor of openshift_service_type. This commit also removes r_openshift_excluder_service_type from plays in favor of using the role's defaults.
* | Include Deprecation: Convert to include_tasksRussell Teague2017-12-063-14/+14
| |
* | Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-051-2/+2
| | | | | | | | | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* | Fix hosted varsMichael Gugino2017-12-051-5/+5
|/ | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* Do not escalate privileges in jks generation tasksirozzo2017-11-301-0/+6
|
* Merge pull request #6029 from boeboe/masterOpenShift Merge Robot2017-11-162-0/+5
|\ | | | | | | | | | | | | Automatic merge from submit-queue. logging with static pvc: allow specifying the storage class name See https://github.com/openshift/openshift-ansible/issues/6028 for more info and motivation.
| * logging with static pvc: allow specifying the storage class nameBart Van Bos2017-11-062-0/+5
| |
* | Merge pull request #6088 from wozniakjan/bug_1510496_es_pvc_sizeOpenShift Merge Robot2017-11-162-1/+3
|\ \ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1510496 - logging: honor ES PVC size fix for https://bugzilla.redhat.com/show_bug.cgi?id=1510496
| * | Bug 1510496 - logging: honor ES PVC sizeJan Wozniak2017-11-102-1/+3
| | |
* | | Merge pull request #6037 from ewolinetz/logging_default_imagesOpenShift Merge Robot2017-11-153-17/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Updating logging components image defaulting pattern Matches openshift_logging pattern and pattern used by other ansible components Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1505681
| * | | Removing setting prefix and version facts in openshift_logging to let the ↵Eric Wolinetz2017-11-133-19/+0
| | | | | | | | | | | | | | | | component roles set their defaults
| * | | Updating logging components image defaulting pattern to match ↵Eric Wolinetz2017-11-061-1/+3
| | |/ | |/| | | | | | | openshift_logging pattern
* | | Removed old version codeMichael Gugino2017-11-141-4/+0
| |/ |/| | | | | | | | | This commit removes any references to versions < 1.5/3.5 We assume the version is always greater than or equal to 1.5/3.5.
* | Correct service restart commandScott Dodson2017-11-081-1/+1
| |
* | Retry restarting master controllersMichael Gugino2017-11-061-1/+6
|/ | | | | | | | | Currently, master controller services may fail to restart if master api services are not fully initialized. This commit enables retry of master controllers. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509837
* Using the currently attached pvc for an ES dc if available, otherwise ↵Eric Wolinetz2017-11-011-2/+2
| | | | falling back to current logic
* Merge pull request #5888 from jcantrill/1501599_allow_project_overcommitOpenShift Merge Robot2017-10-301-0/+8
|\ | | | | | | | | | | | | | | Automatic merge from submit-queue. bug 1501599. Omit logging project from overcommit restrictions This PR: * Annotates the logging project to remove overcommit restrictions
| * bug 1501599. Omit logging project from overcommit restrictionsJeff Cantrill2017-10-251-0/+8
| |
* | bug 1506073. Lower cpu request for logging when it exceeds limitJeff Cantrill2017-10-273-0/+44
| |
* | Merge pull request #5863 from mgugino-upstream-stage/fix-logging-loop-warningsOpenShift Merge Robot2017-10-261-12/+21
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix loop_var warnings during logging install Currently, install_logging.yml in openshift_logging role loops over other roles. This creates a collision with the keyword 'item' in those roles. This commit adds the loop_var as suggested by ansible warnings.
| * Fix loop_var warnings during logging installMichael Gugino2017-10-241-12/+21
| | | | | | | | | | | | | | | | | | Currently, install_logging.yml in openshift_logging role loops over other roles. This creates a collision with the keyword 'item' in those roles. This commit adds the loop_var as suggested by ansible warnings.
* | Bug 1452939 - change Logging & Metrics imagePullPolicyJan Wozniak2017-10-232-1/+76
|/ | | | | - all images logging and metrics change their default imagePullPolicy from Always to IfNotPresent
* Merge pull request #5748 from portante/fix-cpu-limitsScott Dodson2017-10-203-21/+36
|\ | | | | Use "requests" for CPU resources instead of limits
| * Use "requests" for CPU resources instead of limitsPeter Portante2017-10-193-21/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now use a CPU request to ensure logging infrastructure pods are not capped by default for CPU usage. It is still important to ensure we have a minimum amount of CPU. We keep the use of the variables *_cpu_limit so that the existing behavior is maintained. Note that we don't want to cap an infra pod's CPU usage by default, since we want to be able to use the necessary resources to complete it's tasks. Bug 1501960 (https://bugzilla.redhat.com/show_bug.cgi?id=1501960)
* | Merge pull request #5766 from jcantrill/1489498_preserve_replica_countScott Dodson2017-10-205-4/+57
|\ \ | |/ |/| bug 1489498. preserve replica and shard settings
| * bug 1489498. preserve replica and shard settingsJeff Cantrill2017-10-175-4/+57
| |
* | 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
| |/