summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
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
* Only try to yaml.load a file if it ends in .yml or .yaml in logging factsEric Wolinetz2018-02-081-3/+4
|
* Adding support for ES 5.x tech preview opt inEric Wolinetz2018-02-053-0/+15
|
* 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
| |
* | Merge pull request #6906 from jcantrill/kibana_env_varsOpenShift Merge Robot2018-01-311-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 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
| * | allow setting of kibana env varsJeff Cantrill2018-01-261-0/+1
| |/
* | 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 #6614 from mgugino-upstream-stage/plugins-to-lib-utilsScott Dodson2018-01-111-9/+0
|\ | | | | Move more plugins to lib_utils
| * Move more plugins to lib_utilsMichael Gugino2018-01-101-9/+0
| | | | | | | | | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* | 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>
* | | Merge pull request #6638 from nak3/add-keycheck-logging-factsLuke Meyer2018-01-101-2/+2
|\ \ \ | | | | | | | | Add key existing check to collect facts for rolebidings
| * | | Add key check for facts_for_clusterrolebindingsKenjiro Nakayama2018-01-091-1/+1
| | | |
| * | | Add key existing check to collect facts for rolebidingsKenjiro Nakayama2018-01-091-1/+1
| | | |
* | | | Merge pull request #6609 from nkinder/openshift_logging_mux-interfaceOpenShift Merge Robot2018-01-101-0/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Don't hardcode the network interface in the openshift_logging_mux roleNathan Kinder2018-01-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | 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-027-2/+251
|/ | | | 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-182-2/+3
| | | | | | | | | | | | | | 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
| |
* | Remove openshift.common.service_typeMichael Gugino2017-12-071-2/+2
| | | | | | | | | | | | | | | | 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.
* | Include Deprecation: Convert to include_tasksRussell Teague2017-12-063-14/+14
| |
* | Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-051-2/+2
| | | | | | | | | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* | Fix hosted varsMichael Gugino2017-12-051-5/+5
|/ | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* Do not escalate privileges in jks generation tasksirozzo2017-11-301-0/+6
|
* Merge pull request #6029 from boeboe/masterOpenShift Merge Robot2017-11-162-0/+5
|\ | | | | | | | | | | | | 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-062-0/+5
| |