summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
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.
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-28Update spec file to install manpageTim Bielawa
2016-09-27Addresses most comments from @adellapeTim Bielawa
2016-09-27Add a manpage for atomic-openshift-installerTim 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 #2380 from tbielawa/GH2283_no_retriesAndrew Butcher
Don't attempt to create retry files
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-29Don't attempt to create retry filesTim Bielawa
Closes #2283
2016-08-29Change test requirements file nameTim Bielawa