summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/cli_installer.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* a-o-i: Looser facts requirements for unattendedSamuel Munilla2016-07-181-8/+1
| | | | | Loosen the facts requirements for unattended installs to allow the user to install with only 'connect_to' defined.
* Arbitrary Installer yamlSamuel Munilla2016-07-181-51/+90
| | | | Initial build of new, more flexible installer config file format.
* Fix quick install 3.2 upgrade path.Devan Goodwin2016-07-151-2/+2
|
* Remove too recent pylint option keys.Devan Goodwin2016-07-131-1/+0
|
* pylint fixesDevan Goodwin2016-07-131-10/+9
|
* Update quick upgrade to remove unsupported options.Devan Goodwin2016-07-081-23/+44
| | | | | | | | | Upgrade mappings can now optionally support an upgrade to latest minor version, and an upgrade to next major version. Dropped the "minor_version" as it is already defined by the mapping key. For 3.2 the minor upgrade playbook is the same as the major.
* a-o-i: No proxy questions for 3.0/3.1Samuel Munilla2016-05-161-1/+3
| | | | | | Global proxies were not supported until 3.2 so if a lesser version is specified then we don't need to ask for it.
* a-o-i: More friendly proxy questionsSamuel Munilla2016-04-281-9/+15
| | | | | Some UI improvements to help make it more clear to the user what information we are looking for.
* a-o-i-: Allow empty proxySamuel Munilla2016-04-271-3/+7
|
* Merge pull request #1765 from smunilla/proxy_uiJason DeTiberus2016-04-261-0/+25
|\ | | | | a-o-i: UI additions for proxies
| * a-o-i: Update prompt when asking for proxySamuel Munilla2016-04-191-0/+11
| |
| * a-o-i: UI additions for proxiesSamuel Munilla2016-04-181-0/+14
| |
* | a-o-i: Correct bug with default storage hostSamuel Munilla2016-04-211-1/+1
| | | | | | | | Fix issue with assigning the Host object to a variable that expects a string.
* | a-o-i: Don't assume storage on 1st masterSamuel Munilla2016-04-181-5/+9
|/ | | | | | | Always prompt the user for a storage host. The prompt defaults to the first master and warns the user not to use a container-based installation for this. WIP
* Merge pull request #1654 from dgoodwin/gen-inventoryBrenton Leanhardt2016-04-051-4/+16
|\ | | | | Add --gen-inventory command to atomic-openshift-installer.
| * Add --gen-inventory command to atomic-openshift-installer.Devan Goodwin2016-03-241-4/+16
| | | | | | | | | | | | | | | | This will just generate the Ansible inventory once all information is gathered, inform the user where to find it, and exit. Includes some test utility updates to make what broke as a result of this change less fragile.
* | Merge pull request #1544 from smunilla/BZ1299032Brenton Leanhardt2016-04-011-2/+2
|\ \ | | | | | | a-o-i: Error out early if callback_facts is None
| * | a-o-i: Error out early if callback_facts is NoneSamuel Munilla2016-03-041-2/+2
| | | | | | | | | | | | | | | | | | Bail out much earlier if for some reason callback_facts does not return any data. This should prevent later methods from generating stack traces.
* | | a-o-i: Add 3.2 to list of supported versionsSamuel Munilla2016-03-231-11/+23
| | |
* | | a-o-i: Support for unattended upgradesSamuel Munilla2016-03-231-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | Adds the ability to perform upgrades without any user input through: atomic-openshift-installer --unattended upgrade --next-major or atomic-openshift-installer --unattended upgrade --latest-minor
* | | a-o-i: More flexible upgrade mappingsSamuel Munilla2016-03-231-2/+4
| |/ |/| | | | | Change the upgrade logic to allow for more than two types of upgrades.
* | a-o-i: Fix NFS storage testsSamuel Munilla2016-03-091-5/+11
| | | | | | | | Fix the nosetests after the rebase
* | First attempt at NFS setupSamuel Munilla2016-03-091-3/+45
|/
* a-o-i: Double safety check on master_lbSamuel Munilla2016-02-241-2/+3
|
* a-o-i: Better method for identifying master_lbSamuel Munilla2016-02-241-1/+3
| | | | | | The previous check was less than reliable thanks to potential differences between hostname / ip / connect_to. This check should cover all instances.
* a-o-i: Exception checking around master_lbSamuel Munilla2016-02-231-1/+1
| | | | Some additional error checking when selecting the master_lb
* a-o-i: Redo logic for detecting master_lbSamuel Munilla2016-02-191-8/+17
| | | | | | | | | After much research and debugging, it turns out the facts for nativeha hosts were much less consistent than I hoped. With this newfound knowledge, I've implemented this method. In short, you check with the first master to see what it thinks the master_lb is, then you include that host as "installed".
* Merge pull request #1411 from smunilla/pylint_16_feb_2016Brenton Leanhardt2016-02-191-5/+8
|\ | | | | a-o-i: pylint fixes related to too-long lines
| * a-o-i: pylint fixes related to too-long linesSamuel Munilla2016-02-161-5/+8
| |