summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6679 from vrutkovs/logging-py3-dictsOpenShift Merge Robot2018-01-111-2/+2
|\ | | | | | | | | Automatic merge from submit-queue. logging: fix jinja filters to support py3
| * logging: fix jinja filters to support py3Vadim Rutkovsky2018-01-101-2/+2
| | | | | | | | | | | | | | Since py3 returns `dict_items` for dict.keys() call instead of a list, it should be converted into a list for compatibility Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | Chmod temp dirs created on localhostMichael Gugino2018-01-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After remove become:no statements on local_action tasks, we need to ensure that the proper file permssions are applied to local temp directories. This reason for this is that the 'fetch' module does not use 'become' for the localhost, just the remote host. Additionally, users may not wish for the localhost to become during a fetch. local_action will execute with whatever permissions are specified in inventory or via cli.
* | Remove become statementsMichael Gugino2018-01-092-8/+0
|/ | | | | This commit removes become:no statements that break the installer in various ways.
* Switch back to dynamic include_role in logging loopsScott Dodson2018-01-071-4/+4
| | | | | We'd switched to import_role to avoid increased memory consumption but we must use include_role whenever we loop.
* Merge pull request #6359 from spadgett/web-console-serverScott Dodson2018-01-063-0/+24
|\ | | | | Install web console server
| * Install web console serverSamuel Padgett2018-01-053-0/+24
| |
* | Migrate to import_role for static role inclusionScott Dodson2018-01-052-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.2, the include_role directive came into existence as a Tech Preview. It is still a Tech Preview through Ansible 2.4 (and in current devel branch), but with a noteable change. The default behavior switched from static: true to static: false because that functionality moved to the newly introduced import_role directive (in order to stay consistent with include* being dynamic in nature and `import* being static in nature). The dynamic include is considerably more memory intensive as it will dynamically create a role import for every host in the inventory list to be used. (Also worth noting, there is at the time of this writing an object allocation inefficiency in the dynamic include that can in certain situations amplify this effect considerably) This change is meant to mitigate the pressure on memory for the Ansible control host. We need to evaluate where it makes sense to dynamically include roles and revert back to dynamic inclusion if and where it makes sense to do so.
* | Updating logging_facts to be able to pull values from config maps yaml ↵Eric Wolinetz2018-01-024-0/+103
|/ | | | files, use diffs to keep custom changes, white list certain settings when creating diffs
* 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-181-2/+2
| | | | | | | | | | | | | | 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
| |
* | Include Deprecation: Convert to include_tasksRussell Teague2017-12-063-14/+14
|/
* Do not escalate privileges in jks generation tasksirozzo2017-11-301-0/+6
|
* Merge pull request #6029 from boeboe/masterOpenShift Merge Robot2017-11-161-0/+4
|\ | | | | | | | | | | | | 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-061-0/+4
| |
* | Merge pull request #6088 from wozniakjan/bug_1510496_es_pvc_sizeOpenShift Merge Robot2017-11-161-0/+2
|\ \ | | | | | | | | | | | | | | | | | | 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-101-0/+2
| |/
* | Removing setting prefix and version facts in openshift_logging to let the ↵Eric Wolinetz2017-11-131-13/+0
| | | | | | | | component roles set their defaults
* | Updating logging components image defaulting pattern to match ↵Eric Wolinetz2017-11-061-1/+3
|/ | | | openshift_logging pattern
* 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
| |
* | 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.
* Merge pull request #5748 from portante/fix-cpu-limitsScott Dodson2017-10-201-0/+5
|\ | | | | Use "requests" for CPU resources instead of limits
| * Use "requests" for CPU resources instead of limitsPeter Portante2017-10-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | bug 1489498. preserve replica and shard settingsJeff Cantrill2017-10-171-0/+4
|/
* Merge pull request #5637 from wozniakjan/1496271_fixOpenShift Merge Robot2017-10-051-5/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-0/+2
| | | | | | | | | | | | | | | | | | | | 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-291-5/+8
| | | | | | | | (cherry picked from commit 601e35cbf4410972c7fa0a1d3d5c6327b82353ac)
* | Merge pull request #5564 from jcantrill/es_promOpenShift Merge Robot2017-10-052-2/+3
|\ \ | | | | | | | | | | | | | | | | | | 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-032-2/+3
| |/
* | 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
| | |
* | | Reverting using uninstall variables for logging and metricsEric Wolinetz2017-09-291-1/+1
| |/ |/|
* | logging: introducing event routerJan Wozniak2017-09-262-0/+14
|/ | | | | | | | - 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
* Updating default behavior for installing metrics and logging. Separating out ↵Eric Wolinetz2017-09-221-4/+5
| | | | uninstall to own variable
* 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-311-0/+10
|\ | | | | Merged by openshift-bot
| * Bug 1467265 - logging: add 'purge' option with uninstallJan Wozniak2017-08-241-0/+10
| | | | | | | | | | | | | | | | | | | | | | 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-292-0/+18
|\ \ | | | | | | annotate the infra projects for logging to fix bz1480988
| * | annotate the infra projects for logging to fix bz1480988Jeff Cantrill2017-08-282-0/+18
| | |
* | | Merge pull request #5044 from wozniakjan/logging_role_based_image_versionsOpenShift Bot2017-08-251-12/+0
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | Bug 1471322: logging roles based image versionsJan Wozniak2017-08-181-12/+0
| | | | | | | | | | | | | | | | | | Allowing to specify an image version for each logging component https://bugzilla.redhat.com/show_bug.cgi?id=1471322
* | | 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
|/