summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-11-03 11:40:31 -0400
committerSamuel Munilla <smunilla@redhat.com>2016-11-03 11:52:13 -0400
commitbaf59950a335c5e541dc61352e9c840e3927cc44 (patch)
treea3d3e48891e6d32d3c1216817dea8c68a576d7c9 /utils/src/ooinstall
parenta5f884039104aeffdea0b2ef232b3ea32a9b3132 (diff)
downloadopenshift-baf59950a335c5e541dc61352e9c840e3927cc44.tar.gz
openshift-baf59950a335c5e541dc61352e9c840e3927cc44.tar.bz2
openshift-baf59950a335c5e541dc61352e9c840e3927cc44.tar.xz
openshift-baf59950a335c5e541dc61352e9c840e3927cc44.zip
Update quick installer upgrade mappings for 3.4
Just a quick addition for the upgrade playbooks for 3.4 Fixes Bug 1384291
Diffstat (limited to 'utils/src/ooinstall')
-rw-r--r--utils/src/ooinstall/cli_installer.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 2a23866e0..286e50f64 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -43,6 +43,16 @@ UPGRADE_MAPPINGS = {
'major_playbook': 'v3_3/upgrade.yml',
'major_version': '3.3',
},
+ '3.3': {
+ 'minor_version': '3.3',
+ 'minor_playbook': 'v3_3/upgrade.yml',
+ 'major_playbook': 'v3_4/upgrade.yml',
+ 'major_version': '3.4',
+ },
+ '3.4': {
+ 'minor_version': '3.4',
+ 'minor_playbook': 'v3_4/upgrade.yml',
+ },
}
@@ -306,6 +316,7 @@ hostname.
else:
return None
+
def set_cluster_hostname(oo_cfg):
message = """
You have chosen to install a single master cluster (non-HA).
@@ -321,6 +332,7 @@ If you want to override the cluster host name now to something other than the de
default='')
oo_cfg.deployment.variables['openshift_master_cluster_hostname'] = cluster_hostname
+
def collect_storage_host(hosts):
"""
Get a valid host for storage from the user and append it to the list of