During install, those paths are used and require some free space.
@@ -1,5 +1,6 @@
# pylint: disable=missing-docstring
import os.path
+import tempfile
from openshift_checks import OpenShiftCheck, OpenShiftCheckException, get_var
from openshift_checks.mixins import NotContainerizedMixin
@@ -19,6 +20,19 @@ class DiskAvailability(NotContainerizedMixin, OpenShiftCheck):
'nodes': 15 * 10**9,
'etcd': 20 * 10**9,
},
+ # Used to copy client binaries into,
+ # see roles/openshift_cli/library/openshift_container_binary_sync.py.
+ '/usr/local/bin': {
+ 'masters': 1 * 10**9,
+ 'nodes': 1 * 10**9,
+ 'etcd': 1 * 10**9,
+ },
+ # Used as temporary storage in several cases.
+ tempfile.gettempdir(): {
}
@classmethod
@@ -81,7 +81,7 @@ def test_cannot_determine_available_disk(ansible_mounts, extra_words):
[{
# not enough space on / ...
'mount': '/',
- 'size_available': 0,
+ 'size_available': 2 * 10**9,
}, {
# ... but enough on /var
'mount': '/var',