diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2017-01-09 12:45:02 -0800 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2017-01-09 12:47:29 -0800 |
commit | 5540e990aca640181c6774f23a73dd492baf3e47 (patch) | |
tree | 554ac2f6080cb48a9e12add0bfaea33496b351c5 /utils/src | |
parent | 96fe76dad188610733c87cf80f4e22da34f11fb7 (diff) | |
download | openshift-5540e990aca640181c6774f23a73dd492baf3e47.tar.gz openshift-5540e990aca640181c6774f23a73dd492baf3e47.tar.bz2 openshift-5540e990aca640181c6774f23a73dd492baf3e47.tar.xz openshift-5540e990aca640181c6774f23a73dd492baf3e47.zip |
The scaleup subcommand does not support the unattended option
* 'atomic-openshift-installer' will exit now if -u is given with the
'scaleup' subcommand
* https://bugzilla.redhat.com/show_bug.cgi?id=1390135
Diffstat (limited to 'utils/src')
-rw-r--r-- | utils/src/ooinstall/cli_installer.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py index b70bd1817..0bc9aa45e 100644 --- a/utils/src/ooinstall/cli_installer.py +++ b/utils/src/ooinstall/cli_installer.py @@ -1124,6 +1124,20 @@ def scaleup(ctx, gen_inventory): click.echo('Welcome to the OpenShift Enterprise 3 Scaleup utility.') + # Scaleup requires manual data entry. Therefore, we do not support + # unattended operations. + if unattended: + msg = """ +--- + +The 'scaleup' operation does not support unattended +functionality. Re-run the installer without the '-u' or '--unattended' +option to continue. +""" + click.echo(msg) + sys.exit(1) + + # Resume normal scaleup workflow print_installation_summary(installed_hosts, oo_cfg.settings['variant_version'], verbose=False,) |