summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-12-01 09:43:10 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-12-01 09:43:10 -0400
commitb71c3247f1f762b7b99aa081cd9925ecfa4d31e7 (patch)
treec86cce71d3691386451eb03390676a12f3c52f65 /utils
parente796856c804cd7090ed45aba7838436e7fdc9580 (diff)
parentebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff)
downloadopenshift-b71c3247f1f762b7b99aa081cd9925ecfa4d31e7.tar.gz
openshift-b71c3247f1f762b7b99aa081cd9925ecfa4d31e7.tar.bz2
openshift-b71c3247f1f762b7b99aa081cd9925ecfa4d31e7.tar.xz
openshift-b71c3247f1f762b7b99aa081cd9925ecfa4d31e7.zip
Merge branch 'master' into loadbalanced-2
Diffstat (limited to 'utils')
-rw-r--r--utils/src/ooinstall/cli_installer.py4
-rw-r--r--utils/src/ooinstall/openshift_ansible.py14
-rw-r--r--utils/test/cli_installer_tests.py2
3 files changed, 10 insertions, 10 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index f8dfe2feb..ee962c21a 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -101,7 +101,7 @@ separate etcd cluster will be configured with each Master serving as a member.
Any Masters configured as part of this installation process will also be
configured as Nodes. This is so that the Master will be able to proxy to Pods
-from the API. By default this Node will be unscheduleable but this can be changed
+from the API. By default this Node will be unschedulable but this can be changed
after installation with 'oadm manage-node'.
OpenShift Nodes provide the runtime environments for containers. They will
@@ -347,7 +347,7 @@ https://docs.openshift.org/latest/install_config/install/advanced_install.html#m
if len(dedicated_nodes) == 0:
message = """
WARNING: No dedicated Nodes specified. By default, colocated Masters have
-their Nodes set to unscheduleable. If you proceed all nodes will be labelled
+their Nodes set to unschedulable. If you proceed all nodes will be labelled
as schedulable.
"""
if unattended:
diff --git a/utils/src/ooinstall/openshift_ansible.py b/utils/src/ooinstall/openshift_ansible.py
index 866590c49..c5257f1db 100644
--- a/utils/src/ooinstall/openshift_ansible.py
+++ b/utils/src/ooinstall/openshift_ansible.py
@@ -67,10 +67,10 @@ def generate_inventory(hosts):
for node in nodes:
# TODO: Until the Master can run the SDN itself we have to configure the Masters
# as Nodes too.
- scheduleable = None
+ schedulable = None
if node in masters:
- scheduleable = False
- write_host(node, base_inventory, scheduleable)
+ schedulable = False
+ write_host(node, base_inventory, schedulable)
if not getattr(proxy, 'preconfigured', True):
base_inventory.write('\n[lb]\n')
@@ -112,7 +112,7 @@ def write_inventory_vars(base_inventory, multiple_masters, proxy):
base_inventory.write("openshift_master_cluster_public_hostname={}\n".format(proxy.public_hostname))
-def write_host(host, inventory, scheduleable=None):
+def write_host(host, inventory, schedulable=None):
global CFG
facts = ''
@@ -129,11 +129,11 @@ def write_host(host, inventory, scheduleable=None):
# Distinguish between three states, no schedulability specified (use default),
# explicitly set to True, or explicitly set to False:
- if scheduleable is None:
+ if schedulable is None:
pass
- elif scheduleable:
+ elif schedulable:
facts += ' openshift_schedulable=True'
- elif not scheduleable:
+ elif not schedulable:
facts += ' openshift_schedulable=False'
installer_host = socket.gethostname()
diff --git a/utils/test/cli_installer_tests.py b/utils/test/cli_installer_tests.py
index ad76cc3e9..d028bf472 100644
--- a/utils/test/cli_installer_tests.py
+++ b/utils/test/cli_installer_tests.py
@@ -721,7 +721,7 @@ class AttendedCliTests(OOCliFixture):
add_nodes=[('10.0.0.2', False)],
ssh_user='root',
variant_num=1,
- scheduleable_masters_ok=True,
+ schedulable_masters_ok=True,
confirm_facts='y')
self._verify_get_hosts_to_run_on(mock_facts, load_facts_mock,