summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7155 from enj/enj/i/revert_overwrite_certs/1512825OpenShift Merge Robot2018-02-142-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Revert "Bug 1512825 - add mux pod failed for Serial number 02 has already ↵Monis Khan2018-02-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Whenever we create a new es node ignore health checks, changing prometheus ↵Eric Wolinetz2018-02-131-0/+2
|/ | | | pw gen for increased secret idempotency
* Adding support for ES 5.x tech preview opt inEric Wolinetz2018-02-052-0/+13
|
* Merge pull request #6952 from sdodson/bz1540462OpenShift Merge Robot2018-01-312-2/+6
|\ | | | | | | | | | | | | | | | | 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.
| * Only perform console configmap ops when >= 3.9Scott Dodson2018-01-312-2/+6
| |
* | No longer compare with legacy hosted varEric Wolinetz2018-01-261-2/+2
| |
* | Preserving ES dc storage type unless overridden by inventory variableEric Wolinetz2018-01-261-7/+16
|/
* Remove old assetConfig from master-config.yamlSamuel Padgett2018-01-251-1/+1
| | | | | | | | 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
* Merge pull request #6798 from nhosoi/bz1512825OpenShift Merge Robot2018-01-222-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Bug 1512825 - add mux pod failed for Serial number 02 has already been issuedNoriko Hosoi2018-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | 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.
* | Remove old console asset configSamuel Padgett2018-01-192-6/+1
| | | | | | | | Stop writing deprecated config to the console config map.
* | Merge pull request #6765 from jcantrill/bz1523047_annotate_logging_prefixOpenShift Merge Robot2018-01-181-0/+1
|\ \ | | | | | | | | | | | | Automatic merge from submit-queue. bug 1523047. Annotate ops projects with an .operation prefix
| * | bug 1523047. Annotate ops projects with an .operation prefixJeff Cantrill2018-01-171-0/+1
| |/
* | Bug 1535947: Fix missing task in metrics, logging uninstall playbooksSamuel Padgett2018-01-181-4/+4
| | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1535947
* | Merge pull request #6747 from ewolinetz/logging_fix_pvc_storageclassOpenShift Merge Robot2018-01-171-4/+4
|\ \ | |/ |/| | | | | | | | | | | | | 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
| * Setting default storage_class_names for when calling ↵Eric Wolinetz2018-01-161-4/+4
| | | | | | | | openshift_logging_elasticsearch role
* | Update console config for API changesSamuel Padgett2018-01-161-2/+7
|/
* 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.