summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Ensure only one ES pod per PVPeter Portante2017-06-161-0/+1
| | | | | | | | | | | | | | bug 1460564. Fixes [BZ #1460564](https://bugzilla.redhat.com/show_bug.cgi?id=1460564). Unfortunately, the defaults for Elasticsearch prior to v5 allow more than one "node" to access the same configured storage volume(s). This change forces this value to 1 to ensure we don't have an ES pod starting up accessing a volume while another ES pod is shutting down when reploying. This can lead to "1" directories being created in `/elasticsearch/persistent/${CLUSTER_NAME}/data/${CLUSTER_NAME}/nodes/`. By default ES uses a "0" directory there when only one node is accessing it.
* Merge pull request #4356 from nhosoi/mux_params-0OpenShift Bot2017-06-155-1/+26
|\ | | | | Merged by openshift-bot
| * Reverted most of this pr 4356 except:Noriko Hosoi2017-06-055-12/+15
| | | | | | | | | | | | | | | | | | adding openshift_logging_fluentd_buffer_queue_limit: 1024 openshift_logging_fluentd_buffer_size_limit: 1m openshift_logging_mux_buffer_queue_limit: 1024 openshift_logging_mux_buffer_size_limit: 1m and setting the matched environment variables.
| * Adding the defaults for openshift_logging_fluentd_{cpu,memory}_limit to ↵Noriko Hosoi2017-06-053-6/+8
| | | | | | | | | | | | | | | | roles/openshift_logging_fluentd/defaults/main.yml. Adding the description for openshift_hosted_logging_fluentd_{cpu,memory}_limit to README.md. Replaced openshift_hosted_logging_mux_.* with openshift_logging_mux_.*.
| * Adding environment variables FLUENTD_CPU_LIMIT, FLUENTD_MEMORY_LIMIT, ↵Noriko Hosoi2017-06-022-0/+8
| | | | | | | | MUX_CPU_LIMIT, MUX_MEMORY_LIMIT.
| * Introducing fluentd/mux buffer_queue_limit, buffer_size_limit, cpu_limit, ↵Noriko Hosoi2017-06-024-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and memory_limit. Default values: openshift_logging_fluentd_cpu_limit: 100m openshift_logging_fluentd_memory_limit: 512Mi openshift_logging_fluentd_buffer_queue_limit: 1024 openshift_logging_fluentd_buffer_size_limit: 16m openshift_logging_fluentd_buffer_size_limit: 1m openshift_logging_mux_cpu_limit: 500m openshift_logging_mux_memory_limit: 1Gi openshift_logging_mux_buffer_queue_limit: 1024 openshift_logging_mux_buffer_size_limit: 1m
* | Merge pull request #4397 from sosiouxme/20170608-include-more-install-checksOpenShift Bot2017-06-149-91/+184
|\ \ | | | | | | Merged by openshift-bot
| * | pre-install checks: add more during byo installLuke Meyer2017-06-149-91/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the docker and RPM checks to the list that run at install time. They can be disabled the same as the existing ones. Removed cockpit-kubernetes RPM requirement as it no longer is. Fixed up docker_image_availability to handle oreg_url and other nuances. Switched to using the openshift_image_tag that's set by openshift_version for both component and infrastructure images. Fixed a bug where execute_module was being called with incorrect positional arg "tmp" as a dict which caused errors down the call stack.
* | | Merge pull request #4377 from mwringe/hawkular_openshift_agentOpenShift Bot2017-06-1412-3/+288
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Support installing HOSA via ansiblemwringe2017-06-1312-3/+288
| | | |
* | | | Merge pull request #4179 from sosiouxme/20170512-singletonize-slow-stuffOpenShift Bot2017-06-143-43/+68
|\ \ \ \ | | | | | | | | | | Merged by openshift-bot
| * | | | singletonize some role tasks that repeat a lotLuke Meyer2017-06-063-43/+68
| | | | |
* | | | | Merge pull request #4443 from ingvagabund/move-etcd-backup-to-etcd-commonJan Chaloupka2017-06-147-25/+40
|\ \ \ \ \ | | | | | | | | | | | | move etcd backup to etcd_common role
| * | | | | move etcd backup to etcd_common roleJan Chaloupka2017-06-147-25/+40
| | | | | |
* | | | | | Merge pull request #4245 from jarrpa/glusterfs-fixesOpenShift Bot2017-06-1417-175/+356
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | GlusterFS: Remove requirement for heketi-cliJose A. Rivera2017-06-135-55/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Fix bugs in wipeJose A. Rivera2017-06-132-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Skip heketi-cli install on AtomicJose A. Rivera2017-06-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Create a StorageClass if specifiedJose A. Rivera2017-06-136-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Use proper secretsJose A. Rivera2017-06-133-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Allow cleaner separation of multiple clustersJose A. Rivera2017-06-1315-65/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Minor corrections and cleanupsJose A. Rivera2017-06-136-19/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Improve documentationJose A. Rivera2017-06-131-8/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Allow configuration of kube namespace for heketiJose A. Rivera2017-06-134-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Adjust when clauses for registry configJose A. Rivera2017-06-132-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Allow failure reporting when deleting deploy-heketiJose A. Rivera2017-06-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Tweak pod probe parametersJose A. Rivera2017-06-131-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Allow for configuration of node selectorJose A. Rivera2017-06-132-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Label on Openshift node nameJose A. Rivera2017-06-131-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Make sure timeout is an intJose A. Rivera2017-06-134-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | GlusterFS: Use groups variablesJose A. Rivera2017-06-133-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | | | Merge pull request #4296 from VincentS/Upgrade_Calico_Version_to_2.2.1OpenShift Bot2017-06-141-4/+4
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Merged by openshift-bot
| * | | | | | Merge branch 'master' into Upgrade_Calico_Version_to_2.2.1Scott Dodson2017-06-1336-792/+485
| |\ \ \ \ \ \
| * | | | | | | Upgraded Calico to 2.2.1 ReleaseVincent Schwarzer2017-06-132-5/+5
| | | | | | | |
* | | | | | | | Merge pull request #4434 from stevekuznetsov/skuznets/disable-negative-cacheOpenShift Bot2017-06-131-0/+2
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Merged by openshift-bot
| * | | | | | | Disable negative caching, set cache TTL to 1sSteve Kuznetsov2017-06-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running headless services as pods on OpenShift, no ClusterIP is assigned. In these cases, peer pods are relying on DNS to locate the service endpoints. When a pod is deleted or another trigger causes the endpoint to change, the OpenShift DNS is updated immediately. However, dnsmasq has a default TTL of 30s, so the wrong response is returned on name resolution. Removing negative caching and turning the TTL to a very short 1s should resolve the issue. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* | | | | | | | Merge pull request #4295 from VincentS/Remove_Hardcoded_Calico_URLOpenShift Bot2017-06-132-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | | Removed hardocded Calico Policy Controller URLVincent Schwarzer2017-05-302-1/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #4302 from ewolinetz/pv_node_selectorsOpenShift Bot2017-06-135-3/+19
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | Merged by openshift-bot
| * | | | | | | | Allowing openshift_metrics to specify PV selectors and allow way to define ↵ewolinetz2017-05-265-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | selectors when creating pv
* | | | | | | | | Merge pull request #4381 from jarrpa/non-zero-parseOpenShift Bot2017-06-1328-784/+448
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Merged by openshift-bot
| * | | | | | | | lib/base: allow for results parsing on non-zero return codeJose A. Rivera2017-06-0828-784/+448
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On an 'oc get' in particular, the command may return a non-zero error code while still having found valid resources. Thus, we should parse the valid output while still reporting the error. oc_obj.get(), for instance, takes care of determining if the return code should be reset to 0 in some error cases. Also do a bit of logic cleanup and output sanitizing. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | | | | Merge pull request #4380 from jarrpa/oc_obj-fixesOpenShift Bot2017-06-132-4/+16
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | Merged by openshift-bot
| * | | | | | | oc_obj: set _delete() rc to 0 if err is 'not found'Jose A. Rivera2017-06-062-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When deleting multiple objects, allow for some resources to already be absent. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | | | oc_obj: only check 'items' if exists in deleteJose A. Rivera2017-06-062-2/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | | | Merge pull request #4388 from giuseppe/etcd-container-to-system-containerOpenShift Bot2017-06-134-11/+84
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | certificates: copy the certificates for the etcd system containerGiuseppe Scrivano2017-06-102-9/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | | | | etcd: system container defines ETCD_(PEER_)?TRUSTED_CA_FILEGiuseppe Scrivano2017-06-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | | | | etcd: unmask system container service before installing itGiuseppe Scrivano2017-06-081-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | | | | etcd: copy previous database when migrating to system containerGiuseppe Scrivano2017-06-081-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>