summaryrefslogtreecommitdiff
path: root/roles/openshift_logging
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-08Only try to yaml.load a file if it ends in .yml or .yaml in logging factsEric Wolinetz
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-31Merge pull request #6906 from jcantrill/kibana_env_varsOpenShift Merge Robot
Automatic merge from submit-queue. allow setting of kibana env vars This PR allows setting kibana env vars via ansible in support of being able to adjust kibana config via env vars
2018-01-31Only perform console configmap ops when >= 3.9Scott Dodson
2018-01-26allow setting of kibana env varsJeff Cantrill
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 #6614 from mgugino-upstream-stage/plugins-to-lib-utilsScott Dodson
Move more plugins to lib_utils
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-10Merge pull request #6638 from nak3/add-keycheck-logging-factsLuke Meyer
Add key existing check to collect facts for rolebidings
2018-01-10Merge pull request #6609 from nkinder/openshift_logging_mux-interfaceOpenShift Merge Robot
Automatic merge from submit-queue. Don't hardcode the network interface in the openshift_logging_mux role The openshift_logging_mux role hardcodes the 'eth0' interface alias for determining the IP address to use for incoming external client connections. This will cause the playbook to fail with an undefined variable error on systems where an 'eth0' interface does not exist. This patch changes the default IP address for external connections to use the 'ansible_default_ipv4' fact. It also allows this to be overridden by a new 'openshift_logging_mux_external_address' variable.
2018-01-10Move more plugins to lib_utilsMichael Gugino
This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
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-09Add key check for facts_for_clusterrolebindingsKenjiro Nakayama
2018-01-09Add key existing check to collect facts for rolebidingsKenjiro Nakayama
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-04Don't hardcode the network interface in the openshift_logging_mux roleNathan Kinder
The openshift_logging_mux role hardcodes the 'eth0' interface alias for determining the IP address to use for incoming external client connections. This will cause the playbook to fail with an undefined variable error on systems where an 'eth0' interface does not exist. This patch changes the default IP address for external connections to use the 'ansible_default_ipv4' fact. It also allows this to be overridden by a new 'openshift_logging_mux_external_address' variable.
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-07Remove openshift.common.service_typeMichael Gugino
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.
2017-12-06Include Deprecation: Convert to include_tasksRussell Teague
2017-12-05Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher
openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
2017-12-05Fix hosted varsMichael Gugino
Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
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