diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-04-11 17:09:33 +0200 |
---|---|---|
committer | juanvallejo <jvallejo@redhat.com> | 2017-04-17 13:29:24 -0400 |
commit | 2aca8a4b833897ace556df407040e9eaeff1ebc4 (patch) | |
tree | 3c17a7c40f735da77a784eb53564a19d85934746 /playbooks/common/openshift-loadbalancer | |
parent | 59e781baaa33d1ffb0d57529c23fd9a1c01a377a (diff) | |
download | openshift-2aca8a4b833897ace556df407040e9eaeff1ebc4.tar.gz openshift-2aca8a4b833897ace556df407040e9eaeff1ebc4.tar.bz2 openshift-2aca8a4b833897ace556df407040e9eaeff1ebc4.tar.xz openshift-2aca8a4b833897ace556df407040e9eaeff1ebc4.zip |
Simplify memory availability check, review tests
- 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.
Diffstat (limited to 'playbooks/common/openshift-loadbalancer')
0 files changed, 0 insertions, 0 deletions