summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* use mux_client_mode instead of use_mux_clientRich Megginson2017-08-018-13/+27
| | | | | | | | | | | | | | | | | | | | | Instead of the `openshift_logging_use_mux_client` boolean parameter, use `openshift_logging_mux_client_mode` which will allow us to support different mux client use cases: The value `maximal` will cause Fluentd to perform as much of the processing as possible at the local node. This currently means all of the processing *except* for the Kubernetes metadata processing, which will be done by mux. This is the currently recommended mode to use due to current scaling issues. The value `minimal` means that Fluentd will do *no* processing at all, and send the raw logs to mux for processing. This is currently not recommended to use due to current scaling issues. Ansible will warn you if you try to use this mode. `MUX_ALLOW_EXTERNAL` is no longer needed in the mux dc. mux now always operates to process external logs. The ansible setting `openshift_logging_mux_allow_external` is still required in order to set up the mux service to accept connections from outside of the cluster.
* Merge pull request #4943 from jcantrill/file_buffer_masterScott Dodson2017-07-286-0/+68
|\ | | | | Impl fluentd file buffer
| * Impl fluentd file bufferNoriko Hosoi2017-07-286-0/+68
| | | | | | | | (cherry picked from commit 231a7c4ce27ff944d9e14169062f487f57c94dd6)
* | Merge pull request #4918 from sdodson/fix-sysconfig-checkOpenShift Bot2017-07-281-2/+2
|\ \ | | | | | | Merged by openshift-bot
| * | Tolerate non existence of /etc/sysconfig/atomic-openshift-masterScott Dodson2017-07-271-2/+2
| | |
* | | Merge pull request #4931 from ewolinetz/bz1476195Scott Dodson2017-07-282-0/+21
|\ \ \ | |_|/ |/| | Updating metrics role to create serviceaccounts and roles immediately
| * | Updating metrics role to create serviceaccounts and roles immediatelyewolinetz2017-07-282-0/+21
| | |
* | | Merge pull request #4879 from jcantrill/oc_pvcOpenShift Bot2017-07-287-10/+177
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | add selector and storage class name to oc_pvc moduleJeff Cantrill2017-07-277-10/+177
| | | |
* | | | Merge pull request #4878 from mtnbikenc/refactor-bios-versionOpenShift Bot2017-07-281-5/+1
|\ \ \ \ | |_|/ / |/| | | Merged by openshift-bot
| * | | Refactor openshift_facts BIOS vendor discoveryRussell Teague2017-07-261-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.4, `get_file_content` is moving from ansible.module_utils.facts to ansible.module_utils.facts.utils However, the method is no longer needed as the BIOS vendor fact can be retrieved from a standard Ansible fact, `ansible_system_vendor`. i.e.: "ansible_system_vendor": "Google",
* | | | GlusterFS: Use default namespace when not native.Jose A. Rivera2017-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1476197 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | Merge pull request #4899 from rhcarvalho/misc-cleanup-normalize-inputOpenShift Bot2017-07-282-6/+19
|\ \ \ \ | | | | | | | | | | Merged by openshift-bot
| * | | | Normalize list of checks passed to action pluginRodolfo Carvalho2017-07-271-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows users to pass either a string with comma-separated check names or a proper list of strings, whatever is more convenient in the context. For consistency, the same normalization is applied to the 'openshift_disable_check' variable.
| * | | | Make LoggingCheck.run return the correct typeRodolfo Carvalho2017-07-271-1/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | The run method is expected to return a dict. Even though we should not run LoggingCheck by itself, it is still possible to do it and without this change we get an unhandled exception.
* | | | Revert "Add health checks to upgrade playbook"Rodolfo Carvalho2017-07-282-98/+5
| | | |
* | | | Merge pull request #4372 from ↵Rodolfo Carvalho2017-07-282-5/+98
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | juanvallejo/jvallejo/verify-disk-memory-before-upgrade Add health checks to upgrade playbook
| * | | | fixes after rebasing with #4485juanvallejo2017-07-262-3/+2
| | | | |
| * | | | add pre-flight checks to ugrade pathjuanvallejo2017-07-262-5/+99
| | | | |
* | | | | Merge pull request #4897 from ↵Scott Dodson2017-07-272-10/+14
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | ingvagabund/backport-4403-to-openshift-node-upgrade-role backport 'Add systemctl daemon-reload handler to openshift_node' #4403 to openshift_node_upgrade
| * | | | backport 'Add systemctl daemon-reload handler to openshift_node' #4403 to ↵Jan Chaloupka2017-07-272-10/+14
| | | | | | | | | | | | | | | | | | | | openshift_node_upgrade
* | | | | Merge pull request #4843 from kwoodson/sc_require_provScott Dodson2017-07-273-12/+6
|\ \ \ \ \ | | | | | | | | | | | | Remove default and force argument for storageclass provisioner.
| * | | | | Remove default provisioner.Kenny Woodson2017-07-243-12/+6
| | | | | |
* | | | | | Merge pull request #4479 from mtnbikenc/contiv-warningsScott Dodson2017-07-274-7/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Resolve Ansible deprecation warnings in Contiv roles
| * | | | | | Resolve deprecation warnings in Contiv rolesRussell Teague2017-06-164-7/+7
| | | | | | |
* | | | | | | Merge pull request #4906 from ewolinetz/logging_unique_template_varsScott Dodson2017-07-278-9/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Updating template parameter replica to be more unique to avoid var sc…
| * | | | | | | Updating template parameter replica to be more unique to avoid var scope ↵ewolinetz2017-07-278-9/+9
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | creeping
* / | | | | | Block etcdv3 migration for supported configurationsScott Dodson2017-07-271-0/+4
|/ / / / / /
* | | | | | Merge pull request #4882 from sdodson/fix-node-resolv-confScott Dodson2017-07-271-11/+18
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Simplify generation of /etc/origin/node/resolv.conf
| * | | | | Simplify generation of /etc/origin/node/resolv.confScott Dodson2017-07-261-11/+18
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't attempt to copy /etc/resolv.conf whenever there's no watermark, just write out the list of nameservers that network manager tells us about like we do for origin-upstream-dns.conf Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1474707
* | | | | Merge pull request #4874 from ingvagabund/set-default-valuesJan Chaloupka2017-07-276-7/+16
|\ \ \ \ \ | | | | | | | | | | | | Sync all openshift.common.use_openshift_sdn uses in yaml files
| * | | | | Sync all openshift.common.use_openshift_sdn uses in yaml filesJan Chaloupka2017-07-266-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most occurrences are in a form: ```yaml openshift.common.use_openshift_sdn | default(true) | bool ``` Let's make all occurences this way given the use_openshift_sdn is set to true anyway. See https://github.com/openshift/openshift-ansible/blob/0c350dcc7d06d62be5ba3a8e468dff85cdd96dd7/roles/openshift_facts/library/openshift_facts.py#L2035
* | | | | | Merge pull request #4868 from ewolinetz/metrics_fix_caCertScott Dodson2017-07-261-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Fixing route spec caCertificate to be correctly capitalized
| * | | | | Fixing route spec caCertificate to be correctly capitalizedewolinetz2017-07-251-1/+1
| | | | | |
* | | | | | Merge pull request #4844 from ewolinetz/bz1463081Scott Dodson2017-07-262-6/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Updating how storage type is determined, adding bool filter in opensh…
| * | | | | | Updating how storage type is determined, adding bool filter in ↵ewolinetz2017-07-242-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | openshift_logging_elasticsearch
* | | | | | | Merge pull request #4816 from abutcher/containerized-lb-image-tagScott Dodson2017-07-261-0/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Pass first master's openshift_image_tag to openshift_loadbalancer for containerized haproxy installation.
| * | | | | | | Pass first master's openshift_image_tag to openshift_loadbalancer for ↵Andrew Butcher2017-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | containerized haproxy installation.
* | | | | | | | Merge pull request #4485 from sosiouxme/20170616-store-args-in-check-propertiesScott Dodson2017-07-2643-544/+494
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | openshift_checks: store args in check properties
| * | | | | | | openshift_checks: refactor to internalize task_varsLuke Meyer2017-07-2539-480/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move task_vars into instance variable so we don't have to pass it around everywhere. Also store tmp. Make sure both are filled in on execute_module. In the process, is_active became an instance method, and task_vars is basically never used directly outside of test code.
| * | | | | | | openshift_checks: get rid of deprecated module_executorLuke Meyer2017-07-254-25/+10
| | | | | | | |
| * | | | | | | openshift_checks: improve comments/namesLuke Meyer2017-07-2513-51/+57
| | | | | | | |
* | | | | | | | Merge pull request #4693 from enoodle/create_router_certificate_by_defaultScott Dodson2017-07-262-4/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Router wildcard certificate created by default
| * | | | | | | | add default value for router path in the certErez Freiberger2017-07-251-2/+2
| | | | | | | | |
| * | | | | | | | Router wildcard certificate created by defaultErez Freiberger2017-07-252-2/+2
| | | | | | | | |
* | | | | | | | | Fixing podpresets perms for service-catalog-controllerewolinetz2017-07-261-1/+5
| | | | | | | | |
* | | | | | | | | Merge pull request #4813 from sdodson/log-dumperScott Dodson2017-07-262-1/+21
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix log dumping on service failure
| * | | | | | | | | Fix log dumping on service failureScott Dodson2017-07-202-1/+21
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Also, add log dumping to master service startup too
* | | | | | | | | Merge pull request #4855 from mwringe/hawkular-namespace-listener-updateScott Dodson2017-07-263-1/+41
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | Metrics: grant hawkular namespace listener role
| * | | | | | | | Metrics: grant hawkular namespace listener rolemwringe2017-07-243-1/+41
| | | | | | | | |