summaryrefslogtreecommitdiff
path: root/utils/src
AgeCommit message (Collapse)Author
2017-02-24Fix Quick Installer failed due to a Python method failureTim Bielawa
Fixes issues dumping various objects to YAML. This change updates the quick installer fact caching callback to use the improved AnsibleDumper when writing out the facts to storage. * https://bugzilla.redhat.com/show_bug.cgi?id=1421053 * https://bugzilla.redhat.com/show_bug.cgi?id=1421061 * https://bugzilla.redhat.com/show_bug.cgi?id=1421059
2017-02-20Replace nose with pytest (utils)Rodolfo Carvalho
2017-02-19Remove dead code in installerRodolfo Carvalho
Found using `vulture`, confirmed that code that was once used became unused in later commits after its introduction.
2017-02-14Update variant_versionSteve Milner
3.5 added and 3.4 moved to LEGACY
2017-01-30Create v3_5 upgrade playbooksRussell Teague
2017-01-09The scaleup subcommand does not support the unattended optionTim Bielawa
* 'atomic-openshift-installer' will exit now if -u is given with the 'scaleup' subcommand * https://bugzilla.redhat.com/show_bug.cgi?id=1390135
2017-01-04Hush the sudo privs check in oo-installerTim Bielawa
* Don't print words when checking for sudo access * Just 'echo' an empty string with no new-line Closes #3003
2016-12-20python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus
versions
2016-11-29update tests and flake8/pylint fixesJason DeTiberus
2016-11-10Merge pull request #2783 from tbielawa/aoioutputTim Bielawa
Enable quiet output for all a-o-i commands
2016-11-10Enable quiet output for all a-o-i commandsTim Bielawa
* Update: uninstall, upgrade, scaleup wf's * Verbosity can be toggled with -v flag, as before https://bugzilla.redhat.com/show_bug.cgi?id=1384294
2016-11-10Update override cluster_hostnameSamuel Munilla
Update the default for the override prompt and set both openshift_master_cluster_hostname and openshift_master_cluster_public_hostname
2016-11-08Merge pull request #2729 from tbielawa/BZ1390064Scott Dodson
Bug 1390064 - [quick install] a complete installed cluster was reported as a mix of installed and uninstalled env
2016-11-07Change the logic to just compare against masters and nodes.Tim Bielawa
2016-11-05a-o-i: remove dummy data_fileRodolfo Carvalho
2016-11-03Update quick installer upgrade mappings for 3.4Samuel Munilla
Just a quick addition for the upgrade playbooks for 3.4 Fixes Bug 1384291
2016-11-03Merge pull request #2683 from smunilla/BZ1388754Scott Dodson
Update master_lb vs cluster_hostname workflow
2016-11-02Fix HA environments incorrectly detecting mixed installed environmentsTim Bielawa
* Load balancers are now excluded from the mixed environment check * https://bugzilla.redhat.com/show_bug.cgi?id=1390064
2016-11-01Update installation summary for etcd membersSamuel Munilla
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
2016-10-28Update master_lb vs cluster_hostname workflowSamuel Munilla
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.
2016-10-27Update variant_versionSamuel Munilla
Update the quick installer to correctly set the new version. Fixes Bug 1388762
2016-10-21Merge pull request #2563 from smunilla/BZ1339621Andrew Butcher
a-o-i: Separate install and scaleup workflows
2016-10-20a-o-i: Separate install and scaleup workflowsSamuel Munilla
In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621
2016-10-19Fix typosRodolfo Carvalho
2016-10-12Fix upgrade mappings in quick installerSamuel Munilla
Update to use the correct playbook for 3.2 to 3.3 upgrades and some error handling for unsupported upgrades. Fixes Bug 1381411
2016-10-07[a-o-i] -v disables quiet ansible config.Andrew Butcher
2016-10-03a-o-i: Force option should allow reinstallSamuel Munilla
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.
2016-09-30a-o-i: Fix openshift_node_labelsSamuel Munilla
Handle openshift_node_labels separately because they need to be doublequoted.
2016-09-29a-o-i: Allow better setting of host level variablesSamuel Munilla
Allow the user to set arbitrary variables directly under the host item instead of in under an 'other_variables' item.
2016-09-29Add messages to let the user know if some plays were skipped, but it's ok. ↵Tim Bielawa
Also, remove the final 'press a key to continue' prompt.
2016-09-29'fix' unittests by removing the users ability to specify an ansible configTim Bielawa
2016-09-29Fix conflicts in spec fileTim Bielawa
2016-09-16Merge pull request #2420 from smunilla/BZ1336271Scott Dodson
a-o-i: Do not display version number in quick installer
2016-09-14a-o-i: Don't set unschedulable nodes as infraSamuel Munilla
Make sure we don't set an unschedulable node as infra as that can cause problems. Fixes: Bug 1375946
2016-09-08a-o-i: Do not display version number in quick installerSamuel Munilla
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.
2016-09-01Only prompt for proxy vars if none are set and our version recognizes themTim Bielawa
2016-09-01Merge pull request #2367 from tbielawa/FixNewerPyLintErrorsAndrew Butcher
Fix PyLint errors discovered when upgrading to newer version
2016-08-31Bug 1371836 - The variant should be Registry 3.3Samuel Munilla
Bump Registry subvariant to the correct version.
2016-08-26Try using parse_version from pkg_resources insteadTim Bielawa
2016-08-26Fix PyLint errors discovered when upgrading to newer versionTim Bielawa
* 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%
2016-08-26Remove atomic check and cockpit.socketSamuel Munilla
2016-08-26Add support for Atomic Registry InstallsSamuel Munilla
Add the Registry deployment subtype as an option in the quick installer.
2016-08-26Apply indentation changes to some other linesTim Bielawa
Closes #2363
2016-08-25Fix PEP8 errors in cli_installer.pyTim Bielawa
2016-08-25Fix PEP8 in openshift_ansible.pyTim Bielawa
2016-08-25Fix PEP8 in oo_config.pyTim Bielawa
2016-08-25Fix PEP8 in variants.pyTim Bielawa
2016-08-25Fix PEP8 in facts_callback.pyTim Bielawa
2016-08-24Merge pull request #2341 from tbielawa/BZ1368296Scott Dodson
BZ1368296 - quick install with the installer.cfg.yml in other directory failed
2016-08-24Move nested print_read_config_error function into it's own functionTim Bielawa