summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_elasticsearch/tasks/main.yaml
Commit message (Collapse)AuthorAgeFilesLines
* Whenever we create a new es node ignore health checks, changing prometheus ↵Eric Wolinetz2018-02-131-7/+14
| | | | pw gen for increased secret idempotency
* Fix indentation to make yamllint happyVadim Rutkovsky2018-02-101-160/+160
| | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* Verify that requested services have schedulable nodes matching the selectorsVadim Rutkovsky2018-02-101-0/+7
| | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* changed oc to {{ openshift_client_binary }}datarace2018-02-081-1/+1
|
* Adding support for ES 5.x tech preview opt inEric Wolinetz2018-02-051-54/+79
|
* bug 1537857. Fix retrieving prometheus metricsJeff Cantrill2018-01-261-0/+13
|
* Merge pull request #6602 from ewolinetz/es_full_cluster_restartOpenShift Merge Robot2018-01-101-0/+12
|\ | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Adding logic to do a full cluster restart if we are incrementing our … …major versions of ES This will help with the upgrade from 2.x to 5.x for ES, it also fixes something I came across with the handler on 3.7 where it checks the prior deployed version of the ES pod rather than the new one.
| * Adding logic to disable and reenable external communication to ES during ↵Eric Wolinetz2018-01-051-2/+0
| | | | | | | | full restart
| * Adding logic to do a full cluster restart if we are incrementing our major ↵Eric Wolinetz2018-01-031-0/+14
| | | | | | | | versions of ES
* | Fix: change import_role to include_roleMichael Gugino2018-01-081-1/+3
| | | | | | | | | | | | | | | | | | It appears that when one role dynamically imports another, usage of import_role inside the dynamically included role is not possible. If something is included with include_role (dynamic), all tasks therein must also use include_role (dynamic).
* | Migrate to import_role for static role inclusionScott Dodson2018-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-17/+15
|/ | | | files, use diffs to keep custom changes, white list certain settings when creating diffs
* Remove references to deployment_typeMichael Gugino2017-12-211-2/+2
| | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-1/+1
| | | | | 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-1/+1
| | | | | | | | | | | | | | 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.
* Removing config trigger for ES DC, updating to use a handler to rollout ES ↵Eric Wolinetz2017-12-141-0/+21
| | | | at the end of a deployment, allowing for override with variable
* Include Deprecation: Convert to include_tasksRussell Teague2017-12-061-1/+1
|
* fix the logging-es-prometheus selectorJeff Cantrill2017-11-161-1/+1
|
* Updating logging components image defaulting pattern to match ↵Eric Wolinetz2017-11-061-4/+8
| | | | openshift_logging pattern
* bug 1506073. Lower cpu request for logging when it exceeds limitJeff Cantrill2017-10-271-1/+1
|
* Merge pull request #5748 from portante/fix-cpu-limitsScott Dodson2017-10-201-1/+2
|\ | | | | Use "requests" for CPU resources instead of limits
| * Use "requests" for CPU resources instead of limitsPeter Portante2017-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-201-2/+6
|\ \ | |/ |/| bug 1489498. preserve replica and shard settings
| * bug 1489498. preserve replica and shard settingsJeff Cantrill2017-10-171-2/+6
| |
* | Making travis happyEric Wolinetz2017-10-161-83/+83
| |
* | Updating pattern for elasticsearch_proxy imagesEric Wolinetz2017-10-131-0/+11
| |
* | Updating ES proxy image prefix and version to match other componentsEric Wolinetz2017-10-131-0/+1
|/
* Merge pull request #5637 from wozniakjan/1496271_fixOpenShift Merge Robot2017-10-051-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+1
| | | | | | | | | | | | | | | | | | | | 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-0/+1
| | | | | | | | (cherry picked from commit 601e35cbf4410972c7fa0a1d3d5c6327b82353ac)
* | Add logging es prometheus endpointJeff Cantrill2017-10-031-1/+60
|/
* Merge pull request #5184 from jcantrill/bz1480878_default_logging_pvc_sizeScott Dodson2017-08-291-2/+2
|\ | | | | bug 1480878. Default pvc for logging
| * bug 1480878. Default pvc for loggingJeff Cantrill2017-08-231-2/+2
| |
* | Merge pull request #5044 from wozniakjan/logging_role_based_image_versionsOpenShift Bot2017-08-251-1/+1
|\ \ | |/ |/| Merged by openshift-bot
| * Bug 1471322: logging roles based image versionsJan Wozniak2017-08-181-1/+1
| | | | | | | | | | | | Allowing to specify an image version for each logging component https://bugzilla.redhat.com/show_bug.cgi?id=1471322
* | fix missing console appending in loggingJeff Cantrill2017-08-171-0/+7
| |
* | configure kibana index modeJeff Cantrill2017-08-101-0/+7
|/
* Updating PVC generation to only be done if the pvc does not already exist to ↵ewolinetz2017-08-041-36/+47
| | | | avoid idempotent issues
* Updating template parameter replica to be more unique to avoid var scope ↵ewolinetz2017-07-271-1/+1
| | | | creeping
* Updating how storage type is determined, adding bool filter in ↵ewolinetz2017-07-241-2/+2
| | | | openshift_logging_elasticsearch
* Adding labels for elasticsearch and kibana servicesewolinetz2017-06-291-6/+4
|
* Fixing quote issue.Kenny Woodson2017-06-211-1/+1
|
* Fix for dynamic pvs when using storageclasses.Kenny Woodson2017-06-211-4/+6
|
* Merge pull request #4294 from richm/fix-es-routes-for-new-logging-rolesOpenShift Bot2017-06-161-0/+69
|\ | | | | Merged by openshift-bot
| * fix es routes for new logging rolesRich Megginson2017-06-071-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Use volume.beta.kubernetes.io annotation for storage-classesPer Carlson2017-06-081-1/+1
|/
* Fixing tux warnings and some final clean upewolinetz2017-05-231-5/+6
|
* Appease travisScott Dodson2017-05-221-2/+2
|
* Create logging deployments with non-zero replica countsSteve Kuznetsov2017-05-221-8/+1
| | | | | | | | | | | | When we currently create the set of logging `DeploymentConfig`s, we create them with zero desired replicas. This causes the deployment to immediately succeed as there is no work to be done. This inhibits our ability to use nice CLI UX features like `oc rollout status` to monitor the logging stack deployments. Instead, we should can create the configs with the correct number of replicas in the first place and stop using `oc scale` to bring them up after the fact. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* Pulling changes from master branchewolinetz2017-05-221-0/+2
|