summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* add test for utils to bump coverageJason DeTiberus2017-01-101-0/+73
|
* Merge pull request #3061 from tbielawa/scaleup-bz1390135Scott Dodson2017-01-091-0/+14
|\ | | | | The scaleup subcommand does not support the unattended option
| * 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
* | Merge pull request #3021 from tbielawa/fix_aoi_manTim Bielawa2017-01-093-6/+7
|\ \ | |/ |/| Update aoi manpage with correct operation count
| * Update manpage version.Tim Bielawa2017-01-092-3/+4
| |
| * Update aoi manpage with correct operation countTim Bielawa2016-12-282-4/+4
| |
* | 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-2013-83/+102
| | | | versions
* YAML LintingRussell Teague2016-12-122-3/+14
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Make 'cover-erase' a config file setting. Move VENT target to pre-req for ↵Tim Bielawa2016-12-092-6/+7
| | | | all ci-* targets
* Fixes to 'make ci'Tim Bielawa2016-12-091-14/+15
| | | | | | | | | | | | | * 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
* Fix coverage not appending new dataTim Bielawa2016-12-081-1/+1
| | | | | | | * Adds '--cover-erase' flag to the 'ci-unittests' target Fixes bug introduced in d7b4265f329591817bac381e2772ae14ac337cea: "Can't add arcs to existing line data" error message
* Merge pull request #2939 from tbielawa/gh2933Jason DeTiberus2016-12-071-6/+15
|\ | | | | Speed up 'make ci' and trim the output
| * Speed up 'make ci' and trim the outputTim Bielawa2016-12-071-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Handle updating of scheduler config during upgradeJason DeTiberus2016-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | - 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
* | test updatesJason DeTiberus2016-12-062-4/+10
|/ | | | | | - fix nose coverage flags - add coverage support for files tested outside of the utils directory - exclude stdlib and virtualenv installed dependencies
* update tests and flake8/pylint fixesJason DeTiberus2016-11-295-23/+26
|
* 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
| |
* | Merge pull request #2735 from rhcarvalho/deadcodeScott Dodson2016-11-073-8/+0
|\ \ | | | | | | Remove some dead code
| * | a-o-i: remove dummy data_fileRodolfo Carvalho2016-11-052-6/+0
| | |
| * | a-o-i: remove script leftover from OpenShift v2Rodolfo Carvalho2016-11-051-2/+0
| |/
* / Add some tests for utils to get the coverage up.Tim Bielawa2016-11-041-1/+29
|/
* 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 #2639 from tbielawa/test-utils-debuggingAndrew Butcher2016-10-211-0/+72
|\ | | | | Unit tests for the debug_env logger thing
| * Unit tests for the debug_env logger thingTim Bielawa2016-10-211-0/+72
| |
* | Merge pull request #2563 from smunilla/BZ1339621Andrew Butcher2016-10-218-247/+328
|\ \ | |/ |/| a-o-i: Separate install and scaleup workflows
| * a-o-i: Separate install and scaleup workflowsSamuel Munilla2016-10-208-247/+328
| | | | | | | | | | | | | | In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621
* | Merge pull request #2623 from rhcarvalho/typosAndrew Butcher2016-10-202-2/+2
|\ \ | | | | | | Fix typos
| * | Fix typosRodolfo Carvalho2016-10-192-2/+2
| |/
* | Fix playbooks, update readme, update default varsTim Bielawa2016-10-201-3/+3
| | | | | | | | | | | | Fix 'make ci' system Add examples
* | Try to make boiler plate for cert expiry checkingTim Bielawa2016-10-202-3/+10
|/
* 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-302-1/+83
| | | | | 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-294-91/+96
|
* Fix conflicts in spec fileTim Bielawa2016-09-299-5/+74
|
* Update spec file to install manpageTim Bielawa2016-09-281-9/+9
|
* Addresses most comments from @adellapeTim Bielawa2016-09-271-12/+12
|