summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3976 from mtnbikenc/swap-updateOpenShift Bot2017-04-252-16/+26
|\ | | | | Merged by openshift-bot
| * Update swap disable tasksRussell Teague2017-04-212-16/+26
| | | | | | | | | | | | * Lines are commented out vice being removed * Comment is added indicating why the change happened * Variable openshift_disable_swap added to allow user control
* | Merge pull request #3932 from richm/muxOpenShift Bot2017-04-2414-0/+413
|\ \ | | | | | | Merged by openshift-bot
| * | cast openshift_logging_use_mux_client to boolRich Megginson2017-04-191-2/+2
| | |
| * | mux does not require privileged, only hostmount-anyuidRich Megginson2017-04-1914-0/+413
| | |
* | | Merge pull request #3481 from jpkrohling/JPK-SwitchHeapsterToUseGeneratedCertsOpenShift Bot2017-04-245-44/+31
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Switched Heapster to use certificates generated by OpenShiftJuraci Paixão Kröhling2017-04-185-44/+31
| |/ /
* | | Merge pull request #3906 from sdodson/fix-logging-metrics-templatesOpenShift Bot2017-04-2410-2049/+3
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Use metrics and logging deployer tag v3.4 for enterpriseScott Dodson2017-04-102-3/+3
| | | | | | | | | | | | | | | | This tag moves forward as new images are built
| * | | Remove v1.5 and v1.6 metrics/logging templatesScott Dodson2017-04-108-2046/+0
| | | | | | | | | | | | | | | | They're no longer used by current roles
* | | | Merge pull request #3973 from kwoodson/remove_resource_versionOpenShift Bot2017-04-2428-0/+196
|\ \ \ \ | | | | | | | | | | Merged by openshift-bot
| * | | | Removing resource version to remove object conflicts caused by race conditions.Kenny Woodson2017-04-2128-0/+196
| | | | |
* | | | | Merge pull request #3945 from jarrpa/glusterfs-fix-gceOpenShift Bot2017-04-211-3/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | | Merged by openshift-bot
| * | | | GlusterFS: provide default for groups.oo_glusterfs_to_config in with_itemsJose A. Rivera2017-04-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Workaround for the following "as intended"/"won't fix" bug: https://github.com/ansible/ansible/issues/13598 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | Merge pull request #3944 from pilou-/add_missing_mock_for_oc_binaryOpenShift Bot2017-04-213-10/+35
|\ \ \ \ \ | |_|/ / / |/| | | | Merged by openshift-bot
| * | | | Use return_value when value is constantPierre-Louis Bonicoli2017-04-181-8/+2
| | | | | | | | | | | | | | | | | | | | Thanks to Tim Bielawa for pointing it out.
| * | | | Add missing mock for locate_oc_binary methodPierre-Louis Bonicoli2017-04-183-6/+37
| | |_|/ | |/| | | | | | | | | | | | | | When locate_oc_binary has not been mocked, the test suite fails when oc executable is available.
* | | | Merge pull request #3904 from kwoodson/manageiq_idempotenceyKenny Woodson2017-04-217-103/+81
|\ \ \ \ | | | | | | | | | | [openshift_manageiq] Adding module calls instead of command for idempotency.
| * | | | Adding module calls instead of command for idempotency.Kenny Woodson2017-04-197-103/+81
| |/ / /
* | | | Merge pull request #3943 from sdodson/fix-node-upgrade-masterJan Chaloupka2017-04-213-34/+26
|\ \ \ \ | | | | | | | | | | Stop all services prior to upgrading, start all services after
| * | | | Stop all services prior to upgrading, start all services afterScott Dodson2017-04-183-34/+26
| | | | |
* | | | | Merge pull request #3919 from rhcarvalho/fix-action-plugin-test-ansible2.3Rodolfo Carvalho2017-04-201-1/+3
|\ \ \ \ \ | | | | | | | | | | | | Fix instantiation of action plugin test to support Ansible 2.3
| * | | | | Fix instantiation of action plugin in test fixtureRodolfo Carvalho2017-04-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.3+, the base action plugin class' run method depends on accessing attributes (check_mode) of its play_context. In older versions play_context was not involved in run, and thus None was passed in.
* | | | | | Merge pull request #3518 from juanvallejo/jvallejo/ram_disk_space_checkerRodolfo Carvalho2017-04-205-10/+362
|\ \ \ \ \ \ | | | | | | | | | | | | | | add ram and non-containerized storage preflight check
| * | | | | | Simplify memory availability check, review testsRodolfo Carvalho2017-04-173-74/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix required memory for etcd hosts (10 -> 20 GB), as per documentation. - Some changes to make the code more similar to the similar DiskAvailability check. - Do not raise exception for hosts that do not have a recommended memory value (those are ignored anyway through `is_active`, so that was essentially dead code). - Test that the required memory is the max of the recommended memories for all groups assigned to a host. E.g. if a host is master and node, we should check that it has enough memory to be a master, because the memory requirement for a master is higher than for a node.
| * | | | | | Simplify mixin classRodolfo Carvalho2017-04-171-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Expose only is_active and no other method. - Move general comment to module docstring.
| * | | | | | Simplify disk availability check, review testsRodolfo Carvalho2017-04-172-124/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - only support a fixed list of recommended values for now, no overwriting via Ansible variables (keep it simple, add features as needed). - implement is_active: run this check only for hosts that have a recommended disk space. - test priority of mount paths / and /var.
| * | | | | | add disk and memory availability check testsjuanvallejo2017-04-173-1/+194
| | | | | | |
| * | | | | | add ram and storage preflight checkjuanvallejo2017-04-172-0/+108
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #3733 from lukas-vlcek/es_readiness_probeOpenShift Bot2017-04-191-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | Introduce Elasticsearch readiness probeLukáš Vlček2017-04-071-0/+7
| | | | | | |
* | | | | | | Merge pull request #3955 from Fale/fix_etcd_pathsOpenShift Bot2017-04-191-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | Add /etc/sysconfig/etcd to etcd_containerFabio Alessandro Locati2017-04-191-1/+1
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `/etc/sysconfig/etcd` file is often used to allow the usage of additional variables passed to the etcd daemon. Example of this is to make some new nodes join an existing cluster. Having two files simplify the automation around it, since in the `/etc/sysconfig/etcd` is possible to put temporary variables and then nuke the file as soon as they are not used anymore.
* / | | | | | openshift_version: improve messagingLuke Meyer2017-04-181-18/+38
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This role often provides the first failure messages when users' inventory parameters are not going to work out. So, make sure the task names and messages are informative to someone who may not have very much context for what this role does.
* | | | | | Merge pull request #3937 from mtnbikenc/fix-openshift-node-upgradeOpenShift Bot2017-04-171-0/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Merged by openshift-bot
| * | | | | Correct role dependenciesRussell Teague2017-04-171-0/+1
| | | | | |
* | | | | | Merge pull request #3793 from jarrpa/glusterfs-registryOpenShift Bot2017-04-1718-1/+1078
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Merged by openshift-bot
| * | | | | Allow for GlusterFS to provide registry storageJose A. Rivera2017-04-103-1/+60
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * | | | | GlusterFS playbook and roleJose A. Rivera2017-04-1015-0/+1018
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | | Merge pull request #3926 from sdodson/fix-enterprise-prefixesOpenShift Bot2017-04-172-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | Fix default image tag for enterpriseScott Dodson2017-04-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're just going to hardcode this for now until we can verify that a tag like v3.6 will always exist in the future
* | | | | | | Merge pull request #3920 from stevekuznetsov/skuznets/etcd-debugOpenShift Bot2017-04-171-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Merged by openshift-bot
| * | | | | | Cast etcd_debug to a booleanSteve Kuznetsov2017-04-131-1/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation, any user-provided string in the `etcd_debug` variable will be placed into `etcd.conf`. The YAML and Ansible boolean parsing is more generous than the Golang one, so valid YAML booleans like `no` will be invalid when passed to etcd. Casting to a boolean before casting to a string normalizes the field. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* | | | | | Merge pull request #3884 from mtnbikenc/disable-swapOpenShift Bot2017-04-132-0/+54
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Merged by openshift-bot
| * | | | | Disable swap space on nodes at install and upgradeRussell Teague2017-04-122-0/+54
| | | | | |
* | | | | | Merge pull request #3887 from rhcarvalho/pkg-version-only-master-or-nodeOpenShift Bot2017-04-132-0/+29
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Merged by openshift-bot
| * | | | | Do not check package version on non-master/nodeRodolfo Carvalho2017-04-102-0/+29
| | | | | |
* | | | | | Merge pull request #3866 from jpkrohling/JPK-SwitchMetricsToUseGeneratedCertsOpenShift Bot2017-04-126-164/+36
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Merged by openshift-bot
| * | | | | Changed Hawkular Metrics secrets to use a format similar to the one ↵Juraci Paixão Kröhling2017-04-066-164/+36
| | | | | | | | | | | | | | | | | | | | | | | | automatically generated by OpenShift
* | | | | | Merge pull request #3799 from rhcarvalho/docsScott Dodson2017-04-121-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | Documentation updates