Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | disk/memory checks: make threshold configurable | Luke Meyer | 2017-05-23 | 1 | -4/+32 |
| | |||||
* | Simplify memory availability check, review tests | Rodolfo Carvalho | 2017-04-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | | - 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 disk availability check, review tests | Rodolfo Carvalho | 2017-04-17 | 1 | -78/+127 |
| | | | | | | | | | | | - 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 tests | juanvallejo | 2017-04-17 | 1 | -0/+106 |