summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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
| * | | | | Fixed a bug when oc command fails.Kenny Woodson2017-04-062-2/+2
| | | | | |
* | | | | | Merge pull request #3822 from codificat/cronjob-exampleOpenShift Bot2017-04-071-16/+117
|\ \ \ \ \ \ | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | Add example scheduled certificate checkPep Turró Mauri2017-04-061-16/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additional certificate expiration check playbooks: - one that that uploads the generated reports to a location in the masters - one that uses custom report paths with timestamps OpenShift Job and ScheduledJob examples that use these playbooks run from a container to check cluster certificates from within the cluster itself.
* | | | | | | Merge pull request #3846 from rhcarvalho/cs-unit-testsOpenShift Bot2017-04-073-28/+268
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | Add tests for action pluginRodolfo Carvalho2017-04-041-15/+168
| | | | | | | |
| * | | | | | | Remove unnecessary codeRodolfo Carvalho2017-04-041-5/+1
| | | | | | | |
| * | | | | | | Make resolve_checks more strictRodolfo Carvalho2017-04-043-23/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that all names it return are directly usable, without checking for existence.
* | | | | | | | Merge pull request #3872 from giuseppe/audit-fixOpenShift Bot2017-04-062-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Merged by openshift-bot
| * | | | | | | | master-api: add mount for /var/logGiuseppe Scrivano2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | | | | | master: add mount for /var/logGiuseppe Scrivano2017-04-061-1/+1
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | | | | Merge pull request #3857 from djosborne/bump-calico-policy-controllerOpenShift Bot2017-04-061-1/+1
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | Merged by openshift-bot
| * | | | | | | Bump calico policy controllerDan Osborne2017-04-051-1/+1
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge pull request #3840 from kwoodson/oc_obj_delete_selectorScott Dodson2017-04-0635-520/+857
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Adding ability to delete by selector. Also variable name cleanup and update to use .format.
| * | | | | | | Fixed a string format and a lint space issueKenny Woodson2017-04-053-4/+4
| | | | | | | |
| * | | | | | | FixedKenny Woodson2017-04-054-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name and selector to be mutually exclusive
| * | | | | | | Adding ability to delete by selector.Kenny Woodson2017-04-0533-500/+813
| | | | | | | |
| * | | | | | | Adding delete with selector support.Kenny Woodson2017-04-052-24/+48
| |/ / / / / /