summaryrefslogtreecommitdiffstats
path: root/utils/src
Commit message (Collapse)AuthorAgeFilesLines
* Update variant_versionSteve Milner2017-02-141-1/+2
| | | | 3.5 added and 3.4 moved to LEGACY
* 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
* Hush the sudo privs check in oo-installerTim Bielawa2017-01-041-1/+1
| | | | | | | * Don't print words when checking for sudo access * Just 'echo' an empty string with no new-line Closes #3003
* python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-204-49/+44
| | | | versions
* update tests and flake8/pylint fixesJason DeTiberus2016-11-291-0/+3
|
* Merge pull request #2783 from tbielawa/aoioutputTim Bielawa2016-11-101-0/+8
|\ | | | | Enable quiet output for all a-o-i commands
| * Enable quiet output for all a-o-i commandsTim Bielawa2016-11-101-0/+8
| | | | | | | | | | | | | | * Update: uninstall, upgrade, scaleup wf's * Verbosity can be toggled with -v flag, as before https://bugzilla.redhat.com/show_bug.cgi?id=1384294
* | 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
* Merge pull request #2729 from tbielawa/BZ1390064Scott Dodson2016-11-081-4/+4
|\ | | | | Bug 1390064 - [quick install] a complete installed cluster was reported as a mix of installed and uninstalled env
| * Change the logic to just compare against masters and nodes.Tim Bielawa2016-11-071-4/+4
| |
* | a-o-i: remove dummy data_fileRodolfo Carvalho2016-11-051-1/+0
|/
* 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-012-10/+6
| | | | | | | | | | | | | | | | 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
* | Update variant_versionSamuel Munilla2016-10-271-3/+4
|/ | | | | | Update the quick installer to correctly set the new version. Fixes Bug 1388762
* Merge pull request #2563 from smunilla/BZ1339621Andrew Butcher2016-10-214-207/+268
|\ | | | | a-o-i: Separate install and scaleup workflows
| * a-o-i: Separate install and scaleup workflowsSamuel Munilla2016-10-204-207/+268
| | | | | | | | | | | | | | 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.
* a-o-i: Fix openshift_node_labelsSamuel Munilla2016-09-301-1/+3
| | | | | Handle openshift_node_labels separately because they need to be doublequoted.
* a-o-i: Allow better setting of host level variablesSamuel Munilla2016-09-292-18/+35
| | | | | Allow the user to set arbitrary variables directly under the host item instead of in under an 'other_variables' item.
* 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-293-15/+6
|
* Fix conflicts in spec fileTim Bielawa2016-09-295-2/+34
|
* 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-013-28/+16
|\ | | | | 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-263-28/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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%
* | Bug 1371836 - The variant should be Registry 3.3Samuel Munilla2016-08-311-1/+1
| | | | | | | | Bump Registry subvariant to the correct version.
* | Remove atomic check and cockpit.socketSamuel Munilla2016-08-262-6/+3
| |
* | Add support for Atomic Registry InstallsSamuel Munilla2016-08-264-3/+18
|/ | | | Add the Registry deployment subtype as an option in the quick installer.
* Apply indentation changes to some other linesTim Bielawa2016-08-261-4/+4
| | | | Closes #2363
* Fix PEP8 errors in cli_installer.pyTim Bielawa2016-08-251-70/+90
|
* Fix PEP8 in openshift_ansible.pyTim Bielawa2016-08-251-18/+20
|
* Fix PEP8 in oo_config.pyTim Bielawa2016-08-251-6/+3
|
* Fix PEP8 in variants.pyTim Bielawa2016-08-251-11/+13
|
* Fix PEP8 in facts_callback.pyTim Bielawa2016-08-251-4/+5
|
* Merge pull request #2341 from tbielawa/BZ1368296Scott Dodson2016-08-245-24/+99
|\ | | | | BZ1368296 - quick install with the installer.cfg.yml in other directory failed
| * Move nested print_read_config_error function into it's own functionTim Bielawa2016-08-243-7/+4
| |
| * Fix BZ1368296 by quietly recollecting facts if the cache is removedTim Bielawa2016-08-244-19/+97
| | | | | | | | | | * Add python logging * Add testing system via 'make ci'
* | a-o-i: Add variant and variant_version to migrationSamuel Munilla2016-08-241-0/+6
|/ | | | Update to also move over variant and variant_version during v1 migration
* Merge pull request #2334 from smunilla/BZ1358951Scott Dodson2016-08-231-31/+47
|\ | | | | Bug 1358951 - Error loading config, no such key: 'deployment' when using ing previously valid answers file