summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2017-01-25flake8 mccabe dependency fixRussell Teague
2017-01-24Temporary work-around for flake8 vs maccabe version conflictTim Bielawa
2017-01-11cleanup: Removed debug prints from testsSteve Milner
2017-01-10remove debug statement from testJason DeTiberus
2017-01-10increase test coverageJason DeTiberus
2017-01-10More toxificationJason DeTiberus
- Move pylint tests to tox - Move yamllint tests to tox - Create separate tox config (and setup.py) for root - bump ansible requirement - unify pylint config - add docs - remove git directory containing old testing tools - install python-six if not present for openshift-facts - add python-six as a dependency for openshift-ansible-utils
2017-01-10add test for utils to bump coverageJason DeTiberus
2017-01-09Merge pull request #3061 from tbielawa/scaleup-bz1390135Scott Dodson
The scaleup subcommand does not support the unattended option
2017-01-09Merge pull request #3021 from tbielawa/fix_aoi_manTim Bielawa
Update aoi manpage with correct operation count
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-09Update manpage version.Tim Bielawa
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-28Update aoi manpage with correct operation countTim Bielawa
2016-12-20python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus
versions
2016-12-12YAML LintingRussell Teague
* Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
2016-12-09Make 'cover-erase' a config file setting. Move VENT target to pre-req for ↵Tim Bielawa
all ci-* targets
2016-12-09Fixes to 'make ci'Tim Bielawa
* Fixed: A grep filter was capturing the actual pylint check rc's * Changed: pylint used to print out messages for locally-disabled and file-ignored items * Changed: pylint output format is now 'parseable' * Cleaned up: Pylint was emitting deprecation messages for 'required-attributes' and 'ignore-iface-methods'. They have been removed from the pylintrc file
2016-12-08Fix coverage not appending new dataTim Bielawa
* Adds '--cover-erase' flag to the 'ci-unittests' target Fixes bug introduced in d7b4265f329591817bac381e2772ae14ac337cea: "Can't add arcs to existing line data" error message
2016-12-07Merge pull request #2939 from tbielawa/gh2933Jason DeTiberus
Speed up 'make ci' and trim the output
2016-12-07Speed up 'make ci' and trim the outputTim Bielawa
The virtualenv is conditionally rebuilt now if the test requirements file is modified. This will save upwards of 30+ seconds in iterative 'make ci' runs. The pylint output is now trimmed to exclude disabled tests. The order of the 'ci' target prerequisites has been changed to run the fastest tests first. Closes #2933
2016-12-06Handle updating of scheduler config during upgradeJason DeTiberus
- do not upgrade predicates if openshift_master_scheduler_predicates is defined - do not upgrade priorities if openshift_master_scheduler_priorities is defined - do not upgrade predicates/priorities unless they match known previous default configs - output WARNING to user if predictes/priorities are not updated during install
2016-12-06test updatesJason DeTiberus
- fix nose coverage flags - add coverage support for files tested outside of the utils directory - exclude stdlib and virtualenv installed dependencies
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-07Merge pull request #2735 from rhcarvalho/deadcodeScott Dodson
Remove some dead code
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-05a-o-i: remove script leftover from OpenShift v2Rodolfo Carvalho
2016-11-04Add some tests for utils to get the coverage up.Tim Bielawa
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 #2639 from tbielawa/test-utils-debuggingAndrew Butcher
Unit tests for the debug_env logger thing
2016-10-21Merge pull request #2563 from smunilla/BZ1339621Andrew Butcher
a-o-i: Separate install and scaleup workflows
2016-10-21Unit tests for the debug_env logger thingTim Bielawa
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-20Merge pull request #2623 from rhcarvalho/typosAndrew Butcher
Fix typos
2016-10-20Fix playbooks, update readme, update default varsTim Bielawa
Fix 'make ci' system Add examples
2016-10-20Try to make boiler plate for cert expiry checkingTim Bielawa
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.