summaryrefslogtreecommitdiffstats
path: root/utils/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * a-o-i: Remove Legacy Config UpgradeSamuel Munilla2016-08-191-29/+13
| | | | | | | | | | Remove the automatic upgrade of the 3.0 configuration file format and add some better error messaging that points the user at the docs.
| * Bug 1358951 - Error loading config, no such key: 'deployment' when using ↵Samuel Munilla2016-08-191-3/+35
| | | | | | | | | | | | | | previously valid answers file Update the quick installer to automatically convert from the old config file format to the new format.
* | 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.
* Merge pull request #2303 from tpoitras/typos-cli_installer.pyScott Dodson2016-08-171-79/+77
|\ | | | | Edits to fix to typos, grammar, and product branding in cli_installer
| * Fixes to typos, grammar, and product branding in cli_installerTimothy Poitras2016-08-171-79/+77
| |
* | a-o-i: Fix nosetests after removing 3.2 from installerSamuel Munilla2016-08-161-1/+9
| | | | | | | | | | Update the tests to match 3.3 being the only version. Add support for non-latest if it's specified in the config file.
* | Bug 1367323 - the "OpenShift Container Platform 3.2" variant is still listed ↵Samuel Munilla2016-08-161-1/+0
|/ | | | | | when quick install ose-3.3 Remove 3.2 from the install options in 3.3 installer.
* 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
* | Merge pull request #2201 from richm/v1.3Scott Dodson2016-08-151-0/+1
|\ \ | |/ |/| add 3.3 to installer
| * add 3.3 to installerRich Megginson2016-07-311-0/+1
| |
* | a-o-i: Fix broken upgradesSamuel Munilla2016-08-122-6/+5
| | | | | | | | | | | | | | 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.
* | Merge pull request #2278 from smunilla/BZ1353162Scott Dodson2016-08-092-5/+4
|\ \ | | | | | | a-o-i: Move ansible_ssh_user to deployment
| * | move ansible_ssh_user to deployment, remove ansible_config and ansible_log_pathGan Huang2016-08-092-5/+4
| | |
* | | Labeling nodes onlyGan Huang2016-08-091-1/+2
|/ /