summaryrefslogtreecommitdiff
path: root/roles/openshift_logging/tasks
AgeCommit message (Collapse)Author
2018-02-14Merge pull request #7155 from enj/enj/i/revert_overwrite_certs/1512825OpenShift Merge Robot
Automatic merge from submit-queue. Revert "Bug 1512825 - add mux pod failed for Serial number 02 has already been issued" @sdodson @nhosoi This reverts #6798 as we are not changing the default in origin https://github.com/openshift/origin/pull/18405. This reverts commit ac23e6e362d8758032c1dd573d0ff6a958445df5. That commit introduced a backwards incompatible change to how the commands run. This undoes that. The original change was not required to prevent overwriting of the serial file. Bug 1512825
2018-02-14Revert "Bug 1512825 - add mux pod failed for Serial number 02 has already ↵Monis Khan
been issued" This reverts commit ac23e6e362d8758032c1dd573d0ff6a958445df5. That commit introduced a backwards incompatible change to how the commands run. This undoes that. The original change was not required to prevent overwriting of the serial file. Bug 1512825
2018-02-13Whenever we create a new es node ignore health checks, changing prometheus ↵Eric Wolinetz
pw gen for increased secret idempotency
2018-02-05Adding support for ES 5.x tech preview opt inEric Wolinetz
2018-01-31Merge pull request #6952 from sdodson/bz1540462OpenShift Merge Robot
Automatic merge from submit-queue. Don't update master-config.yaml with logging/metrics urls >= 3.9 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540462 I thought about refactoring things just to move the assetConfig vs ConfigMap update into update_master_config but the tasks get called on different hosts via plays.
2018-01-31Only perform console configmap ops when >= 3.9Scott Dodson
2018-01-26No longer compare with legacy hosted varEric Wolinetz
2018-01-26Preserving ES dc storage type unless overridden by inventory variableEric Wolinetz
2018-01-25Remove old assetConfig from master-config.yamlSamuel Padgett
The `assetConfig` is no longer used now that the console is split into its own pod. - Remove `assetConfig` on upgrades to 3.9 - Stop writing logging and metrics URLs to assetConfig for 3.9
2018-01-22Merge pull request #6798 from nhosoi/bz1512825OpenShift Merge Robot
Automatic merge from submit-queue. Bug 1512825 - add mux pod failed for Serial number 02 has already been issued According to mkhan@redhat.com, to run the "oc adm ca create-server-cert" command line with --signer-serial option, the following changes need to be made. 1. adding --overwrite=false 2. <ca.serial.txt> should contain only [0-9A-F]*. (no trailing newlines are allowed for now) This patch solves 1.
2018-01-19Bug 1512825 - add mux pod failed for Serial number 02 has already been issuedNoriko Hosoi
According to mkhan@redhat.com, to run the "oc adm ca create-server-cert" command line with --signer-serial option, the following changes need to be made. 1. adding --overwrite=false 2. <ca.serial.txt> should contain only [0-9A-F]*. (no trailing newlines are allowed for now) This patch solves 1.
2018-01-19Remove old console asset configSamuel Padgett
Stop writing deprecated config to the console config map.
2018-01-18Merge pull request #6765 from jcantrill/bz1523047_annotate_logging_prefixOpenShift Merge Robot
Automatic merge from submit-queue. bug 1523047. Annotate ops projects with an .operation prefix
2018-01-18Bug 1535947: Fix missing task in metrics, logging uninstall playbooksSamuel Padgett
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1535947
2018-01-17Merge pull request #6747 from ewolinetz/logging_fix_pvc_storageclassOpenShift Merge Robot
Automatic merge from submit-queue. Setting default storage_class_names for when calling openshift_loggin… …g_elasticsearch role Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1521218
2018-01-17bug 1523047. Annotate ops projects with an .operation prefixJeff Cantrill
2018-01-16Update console config for API changesSamuel Padgett
2018-01-16Setting default storage_class_names for when calling ↵Eric Wolinetz
openshift_logging_elasticsearch role
2018-01-11Merge pull request #6679 from vrutkovs/logging-py3-dictsOpenShift Merge Robot
Automatic merge from submit-queue. logging: fix jinja filters to support py3
2018-01-10logging: fix jinja filters to support py3Vadim Rutkovsky
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>
2018-01-09Chmod temp dirs created on localhostMichael Gugino
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.
2018-01-09Remove become statementsMichael Gugino
This commit removes become:no statements that break the installer in various ways.
2018-01-07Switch back to dynamic include_role in logging loopsScott Dodson
We'd switched to import_role to avoid increased memory consumption but we must use include_role whenever we loop.
2018-01-06Merge pull request #6359 from spadgett/web-console-serverScott Dodson
Install web console server
2018-01-05Install web console serverSamuel Padgett
2018-01-05Migrate to import_role for static role inclusionScott Dodson
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.
2018-01-02Updating logging_facts to be able to pull values from config maps yaml ↵Eric Wolinetz
files, use diffs to keep custom changes, white list certain settings when creating diffs
2017-12-20Remove openshift.common.{is_atomic|is_containerized}Michael Gugino
We set these variables using facts in init, no need to duplicate the logic all around the codebase.
2017-12-18Relocate filter plugins to lib_utilsMichael Gugino
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.
2017-12-13Merge pull request #6363 from jcantrill/bz1519808_logging_kibana_annotationScott Dodson
fix 1519808. Only annotate ops projects when openshift_logging_use_op…
2017-12-13Merge pull request #6369 from irozzo-1A/logging-becomeRussell Teague
Do not escalate privileges in logging stack deployment task
2017-12-12fix 1519808. Only annotate ops projects when openshift_logging_use_ops=truejcantrill
2017-12-06Include Deprecation: Convert to include_tasksRussell Teague
2017-12-05Do not escalate privileges in logging stack deployment taskirozzo
2017-11-30Do not escalate privileges in jks generation tasksirozzo
2017-11-16Merge pull request #6029 from boeboe/masterOpenShift Merge Robot
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.
2017-11-16Merge pull request #6088 from wozniakjan/bug_1510496_es_pvc_sizeOpenShift Merge Robot
Automatic merge from submit-queue. Bug 1510496 - logging: honor ES PVC size fix for https://bugzilla.redhat.com/show_bug.cgi?id=1510496
2017-11-13Removing setting prefix and version facts in openshift_logging to let the ↵Eric Wolinetz
component roles set their defaults
2017-11-10Bug 1510496 - logging: honor ES PVC sizeJan Wozniak
2017-11-06Updating logging components image defaulting pattern to match ↵Eric Wolinetz
openshift_logging pattern
2017-11-06logging with static pvc: allow specifying the storage class nameBart Van Bos
2017-11-01Using the currently attached pvc for an ES dc if available, otherwise ↵Eric Wolinetz
falling back to current logic
2017-10-30Merge pull request #5888 from jcantrill/1501599_allow_project_overcommitOpenShift Merge Robot
Automatic merge from submit-queue. bug 1501599. Omit logging project from overcommit restrictions This PR: * Annotates the logging project to remove overcommit restrictions
2017-10-25bug 1501599. Omit logging project from overcommit restrictionsJeff Cantrill
2017-10-24Fix loop_var warnings during logging installMichael Gugino
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.
2017-10-20Merge pull request #5748 from portante/fix-cpu-limitsScott Dodson
Use "requests" for CPU resources instead of limits
2017-10-19Use "requests" for CPU resources instead of limitsPeter Portante
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)
2017-10-17bug 1489498. preserve replica and shard settingsJeff Cantrill
2017-10-05Merge pull request #5637 from wozniakjan/1496271_fixOpenShift Merge Robot
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
2017-10-05Merge pull request #5564 from jcantrill/es_promOpenShift Merge Robot
Automatic merge from submit-queue. Add logging es prometheus endpoint This PR adds changes to add a prometheus endpoint to the logging elasticsearch pod