summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/test/docker_image_availability_test.py
Commit message (Collapse)AuthorAgeFilesLines
* openshift_checks: refactor to internalize task_varsLuke Meyer2017-07-251-19/+18
| | | | | | | | | 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.
* docker_image_availability: fix containerized etcdLuke Meyer2017-06-301-0/+14
| | | | fixes bug 1466622 - docker_image_availability check on etcd host failed for 'openshift_image_tag' is undefined
* pre-install checks: add more during byo installLuke Meyer2017-06-141-11/+88
| | | | | | | | | | | | 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.
* docker checks: finish and refactorLuke Meyer2017-06-071-9/+15
| | | | | | | | | Incorporated docker_storage_driver into docker_storage as both need driver info. Corrected storage calculation to include VG free space, not just the current amount in the LV pool. Now makes no assumptions about pool name. Improved user messaging. Factored out some methods that can be shared with docker_image_availability.
* remove skopeo dependency on docker-pyjuanvallejo2017-05-191-74/+73
|
* improve error handling for missing varsjuanvallejo2017-05-191-18/+169
|
* Add test scaffold for docker_image_availability.pyRodolfo Carvalho2017-03-281-0/+28
The intention is to set a starting point and let another team member work on the code to gain experience with tests.