summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | | Update deployment_type documentationRodolfo Carvalho2017-04-111-4/+4
| | |_|/ / | |/| | |
* | | | | Merge pull request #3902 from sosiouxme/20170410-validate-deployment-typeOpenShift Bot2017-04-121-0/+13
|\ \ \ \ \ | | | | | | | | | | | | Merged by openshift-bot
| * | | | | openshift_sanitize_inventory: disallow conflicting deployment typesLuke Meyer2017-04-101-0/+13
| | |_|/ / | |/| | |
* | | | | Merge pull request #3757 from ↵OpenShift Bot2017-04-122-0/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | juanvallejo/jvallejo/skip-yum-update-check-on-fedora Merged by openshift-bot
| * | | | | skip PackageAvailability check if not yumjuanvallejo2017-04-112-0/+18
| | | | | |
* | | | | | Merge pull request #3894 from kwoodson/compat_server_certOpenShift Bot2017-04-112-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | Fixing a compatibility issue with python 2.7 to 3.5 when reading from ↵Kenny Woodson2017-04-102-2/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | subprocess.
* | | | | | Merge pull request #3649 from sosiouxme/20170313-fix-output-and-exclusionsOpenShift Bot2017-04-116-64/+295
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | preflight checks: refactor and fix aos_versionLuke Meyer2017-04-086-64/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring in openshift_repos to provide Origin repo before checks on Origin. For OCP we want the check to fail if both version 3.3 and version 3.4 are available - they shouldn't have both channels enabled. For Origin everything is in one repo so it's not surprising to find 1.4 and 1.5 versions available. Added unit tests as well.
* | | | | | | Merge pull request #3691 from wongma7/efsOpenShift Bot2017-04-1120-0/+589
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | Merged by openshift-bot
| * | | | | | Add external provisioners playbook starting with aws efsMatthew Wong2017-03-3020-0/+589
| | | | | | |
* | | | | | | Merge pull request #3880 from kwoodson/cockpit_ui_remove_routeOpenShift Bot2017-04-101-5/+8
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Merged by openshift-bot
| * | | | | | Adding a query for the existing docker-registry route.Kenny Woodson2017-04-071-1/+8
| | | | | | |
| * | | | | | Removing docker-registry route from cockpit-ui.Kenny Woodson2017-04-071-9/+5
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #3859 from sosiouxme/20170405-validate-releaseOpenShift Bot2017-04-071-7/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | openshift_sanitize_inventory: validate releaseLuke Meyer2017-04-051-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complain early if those wacky users use wacky values for openshift_release.
* | | | | | | Merge pull request #3875 from kwoodson/bugfixOpenShift Bot2017-04-072-2/+2
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Merged by openshift-bot