summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/openshift_checks/disk_availability.py
Commit message (Collapse)AuthorAgeFilesLines
* disk_availability: fix bug where msg is overwrittenLuke Meyer2017-08-301-4/+1
|
* openshift_checks: refactor find_ansible_mountLuke Meyer2017-08-081-21/+12
| | | | Reuse the code for finding the ansible_mounts mount for a path.
* add pre-flight checks to ugrade pathjuanvallejo2017-08-021-0/+34
|
* Revert "Add health checks to upgrade playbook"Rodolfo Carvalho2017-07-281-34/+0
|
* fixes after rebasing with #4485juanvallejo2017-07-261-1/+0
|
* add pre-flight checks to ugrade pathjuanvallejo2017-07-261-0/+35
|
* openshift_checks: refactor to internalize task_varsLuke Meyer2017-07-251-10/+9
| | | | | | | | | 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.
* Enable disk check on containerized installsRodolfo Carvalho2017-06-221-2/+1
| | | | | | | According to the docs the disk requirements should be similar to non-containerized installs. https://docs.openshift.org/latest/install_config/install/rpm_vs_containerized.html#containerized-storage-requirements
* Add module docstringRodolfo Carvalho2017-06-221-1/+2
|
* Add suggestion to check disk space in any pathRodolfo Carvalho2017-06-221-1/+5
|
* Require at least 1GB in /usr/bin/local and tempdirRodolfo Carvalho2017-06-221-0/+14
| | | | During install, those paths are used and require some free space.
* Refactor DiskAvailability for arbitrary pathsRodolfo Carvalho2017-06-221-33/+63
| | | | Prepare the check to support verifying multiple paths, not only /var.
* disk/memory checks: make threshold configurableLuke Meyer2017-05-231-2/+4
|
* Simplify disk availability check, review testsRodolfo Carvalho2017-04-171-46/+38
| | | | | | | | | | | - 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 ram and storage preflight checkjuanvallejo2017-04-171-0/+73