summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/cli_installer.py
Commit message (Collapse)AuthorAgeFilesLines
* Quick installer: run prerequistes first and update path to main playbookVadim Rutkovsky2018-02-071-0/+11
|
* installer: increase content width for commands, which may output URLsVadim Rutkovsky2018-01-241-2/+2
|
* Quick installer: deprecate upgradesVadim Rutkovsky2018-01-191-85/+4
| | | | | Output a link to manual deprecate docs when `atomic-openshift-installer upgrade` is called
* Remove upgrade playbooks for 3.3 through 3.5Russell Teague2017-11-081-12/+6
|
* Quick Installer should specify which config file to edit.jkaurredhat2017-08-041-1/+1
| | | | | | Fixes bugzilla : https://bugzilla.redhat.com/show_bug.cgi?id=1460353 Signed-off-by: jkaurredhat <jkaur@redhat.com>
* Standardize all Origin versioning on 3.6Russell Teague2017-04-251-0/+6
|
* Remove dead code in installerRodolfo Carvalho2017-02-191-20/+0
| | | | | Found using `vulture`, confirmed that code that was once used became unused in later commits after its introduction.
* Create v3_5 upgrade playbooksRussell Teague2017-01-301-24/+6
|
* The scaleup subcommand does not support the unattended optionTim Bielawa2017-01-091-0/+14
| | | | | | * 'atomic-openshift-installer' will exit now if -u is given with the 'scaleup' subcommand * https://bugzilla.redhat.com/show_bug.cgi?id=1390135
* python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-201-1/+1
| | | | versions
* Update override cluster_hostnameSamuel Munilla2016-11-101-1/+3
| | | | | | Update the default for the override prompt and set both openshift_master_cluster_hostname and openshift_master_cluster_public_hostname
* Change the logic to just compare against masters and nodes.Tim Bielawa2016-11-071-4/+4
|
* Update quick installer upgrade mappings for 3.4Samuel Munilla2016-11-031-0/+12
| | | | | | Just a quick addition for the upgrade playbooks for 3.4 Fixes Bug 1384291
* Merge pull request #2683 from smunilla/BZ1388754Scott Dodson2016-11-031-6/+22
|\ | | | | Update master_lb vs cluster_hostname workflow
| * Update master_lb vs cluster_hostname workflowSamuel Munilla2016-10-281-6/+22
| | | | | | | | | | | | Previously, the messaging around setting cluster_hostname for single master setups was confusing. This should help with that as well as removing unecessary values from the cfg file.
* | Fix HA environments incorrectly detecting mixed installed environmentsTim Bielawa2016-11-021-1/+24
| | | | | | | | | | | | * Load balancers are now excluded from the mixed environment check * https://bugzilla.redhat.com/show_bug.cgi?id=1390064
* | Update installation summary for etcd membersSamuel Munilla2016-11-011-10/+2
|/ | | | | | | | We have changed how we assign etcd members in the quick installer. This updates our messaging to match those changes. Fixes Bug 1383961 Fixes Bug 1389649
* Merge pull request #2563 from smunilla/BZ1339621Andrew Butcher2016-10-211-201/+246
|\ | | | | a-o-i: Separate install and scaleup workflows
| * a-o-i: Separate install and scaleup workflowsSamuel Munilla2016-10-201-201/+246
| | | | | | | | | | | | | | In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621
* | Fix typosRodolfo Carvalho2016-10-191-1/+1
|/
* Fix upgrade mappings in quick installerSamuel Munilla2016-10-121-3/+8
| | | | | | | Update to use the correct playbook for 3.2 to 3.3 upgrades and some error handling for unsupported upgrades. Fixes Bug 1381411
* [a-o-i] -v disables quiet ansible config.Andrew Butcher2016-10-071-1/+1
|
* a-o-i: Force option should allow reinstallSamuel Munilla2016-10-031-1/+3
| | | | | | | If uninstalled hosts were in detected in an environment, the installer could get into a hung state that a user could not easily recover from. This lets --force do what is more expected.
* Add messages to let the user know if some plays were skipped, but it's ok. ↵Tim Bielawa2016-09-291-1/+0
| | | | Also, remove the final 'press a key to continue' prompt.
* 'fix' unittests by removing the users ability to specify an ansible configTim Bielawa2016-09-291-13/+4
|
* Fix conflicts in spec fileTim Bielawa2016-09-291-0/+3
|
* Merge pull request #2420 from smunilla/BZ1336271Scott Dodson2016-09-161-2/+1
|\ | | | | a-o-i: Do not display version number in quick installer
| * a-o-i: Do not display version number in quick installerSamuel Munilla2016-09-081-2/+1
| | | | | | | | | | | | As we now require the version of the installer to match what will be installed in the target environment and to avoid any potential confusion, remove the version number from the variant choice question.
* | a-o-i: Don't set unschedulable nodes as infraSamuel Munilla2016-09-141-1/+1
|/ | | | | | Make sure we don't set an unschedulable node as infra as that can cause problems. Fixes: Bug 1375946
* Only prompt for proxy vars if none are set and our version recognizes themTim Bielawa2016-09-011-4/+22
|
* Merge pull request #2367 from tbielawa/FixNewerPyLintErrorsAndrew Butcher2016-09-011-25/+7
|\ | | | | Fix PyLint errors discovered when upgrading to newer version
| * Try using parse_version from pkg_resources insteadTim Bielawa2016-08-261-3/+3
| |
| * Fix PyLint errors discovered when upgrading to newer versionTim Bielawa2016-08-261-25/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes PyLint to run in the virtualenv used for all tests * Replaced 'LooseVersion' with 'parse_version' from setuptools - This is a work around for the issue in https://github.com/PyCQA/pylint/issues/73 in which pylint can not import disutils.version correctly in a virtualenv. * Removed the unused function 'delete_hosts' which was causing a pylint error as well * Removed a deprecated pylint pragma option, 'bad-builtin' * Fixed some import ordering issues it was picky about * Added another disable for a case where the PyLint suggestion would have us altering the container we would be iterating over * Add code-coverage reports to the unittests with the MINIMUM coverage percentage for success set to 70% - Current test coverage is at 76%
* | Add support for Atomic Registry InstallsSamuel Munilla2016-08-261-0/+1
|/ | | | Add the Registry deployment subtype as an option in the quick installer.
* Fix PEP8 errors in cli_installer.pyTim Bielawa2016-08-251-70/+90
|
* Move nested print_read_config_error function into it's own functionTim Bielawa2016-08-241-1/+1
|
* Fix BZ1368296 by quietly recollecting facts if the cache is removedTim Bielawa2016-08-241-2/+23
| | | | | * Add python logging * Add testing system via 'make ci'
* a-o-i: Fix ansible_ssh_user questionSamuel Munilla2016-08-231-5/+4
| | | | | Since we moved 'ansible_ssh_user' under 'deployment', we need to update the criteria for when to ask the user to reenter that information.
* Fixes to typos, grammar, and product branding in cli_installerTimothy Poitras2016-08-171-79/+77
|
* Merge pull request #2297 from abutcher/bz#1329455Scott Dodson2016-08-151-22/+18
|\ | | | | a-o-i: Bug1329455, [quick-install] Cannot add new nodes in pre-existing env
| * a-o-i: fix bz#1329455Gan Huang2016-08-151-22/+18
| |
* | a-o-i: Mapping for 3.2 UpgradesSamuel Munilla2016-08-151-0/+6
|/ | | | Update the playbook mappings for 3.2
* a-o-i: Fix broken upgradesSamuel Munilla2016-08-121-4/+3
| | | | | | | Upgrade was looking for the hosts in the old location. Quick fix to get it looking in the correct location. Fixes BZ#1357627.
* a-o-i: Automatically Label Nodes as InfraSamuel Munilla2016-08-111-0/+11
| | | | | | | In interactive mode, automatically label nodes as infrastructure nodes. Two cases are covered: 1) If all nodes are masters, all hosts are labeled infra 2) If dedicated nodes are defined, the first two (or one) nodes are labeled as infra
* a-o-i: Restrict installed host checkSamuel Munilla2016-08-101-19/+18
| | | | Restrict installed host check to only masters and nodes.
* move ansible_ssh_user to deployment, remove ansible_config and ansible_log_pathGan Huang2016-08-091-2/+3
|
* Convert ansible facts callback to v2.Andrew Butcher2016-08-081-0/+1
|
* a-o-i: Fix broken uninstallSamuel Munilla2016-08-021-3/+7
| | | | | | | | The uninstall method was looking for the host list according to the old quick-installer config file format. Updated to match the new arbitrary yaml config format. Fixes BZ#1359427
* a-o-i: Better inventory group handlingSamuel Munilla2016-07-291-1/+2
| | | | | | | | | | A more dynamic and flexible method of writing out host groups to the ansible inventory file. To accompany this, in the quick-installer interactive mode the etcd role is automatically applied to any masters. Anyone hand writing the quick installer config will now have to explicitly specify which hosts will be etcd. Fixes #2200
* a-o-i: Set roles on standalone storageSamuel Munilla2016-07-281-3/+1
| | | | | | Sets the roles appropriately when using a standalone storage host. Fixes BZ#1353152