summaryrefslogtreecommitdiffstats
path: root/utils/site_assets
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-04-11 17:09:33 +0200
committerjuanvallejo <jvallejo@redhat.com>2017-04-17 13:29:24 -0400
commit2aca8a4b833897ace556df407040e9eaeff1ebc4 (patch)
tree3c17a7c40f735da77a784eb53564a19d85934746 /utils/site_assets
parent59e781baaa33d1ffb0d57529c23fd9a1c01a377a (diff)
downloadopenshift-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 'utils/site_assets')
0 files changed, 0 insertions, 0 deletions