summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2018-02-07quick installer: disable broken test_get_hosts_to_run_on6 testVadim Rutkovsky
2018-02-07Quick installer: run prerequistes first and update path to main playbookVadim Rutkovsky
2018-01-24installer: increase content width for commands, which may output URLsVadim Rutkovsky
2018-01-22[1506750] Ensure proper hostname check overrideRussell Teague
2018-01-19Quick installer: deprecate upgradesVadim Rutkovsky
Output a link to manual deprecate docs when `atomic-openshift-installer upgrade` is called
2018-01-18Merge pull request #6488 from vrutkovs/utils-test-flake8OpenShift Merge Robot
Automatic merge from submit-queue. Fix flake8 errors in utils/test
2018-01-12Don't use from ansible.module_utils.six as its no longer available in ↵Vadim Rutkovsky
Ansible 2.4
2018-01-04Fix flake8 errors in utils/testVadim Rutkovsky
2017-12-05Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher
openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
2017-11-21Playbook Consolidation - openshift-nodeRussell Teague
2017-11-14Merge pull request #6091 from sosiouxme/20171110-ini-parse-failureOpenShift Merge Robot
Automatic merge from submit-queue. ansible.cfg: error when inventory does not parse As of Ansible 2.4 this option exists: https://github.com/ansible/ansible/issues/15035#issuecomment-329672168 The kind of error you get later when this is your real problem tends to be *very* confusing. Much better to just fail right away. I cannot think of any scenario in which it would be preferable to proceed when inventory parsing fails.
2017-11-10ansible.cfg: error when inventory does not parseLuke Meyer
As of Ansible 2.4 this option exists: https://github.com/ansible/ansible/issues/15035#issuecomment-329672168 The kind of error you get later when this is your real problem tends to be *very* confusing. Much better to just fail right away.
2017-11-08Remove upgrade playbooks for 3.3 through 3.5Russell Teague
2017-10-31Merge pull request #2910 from richm/preserve-ansible_inventory_pathOpenShift Merge Robot
Automatic merge from submit-queue. preserve the oo-install ansible_inventory_path value
2017-09-20Cleanup old deployment typesMichael Gugino
Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
2017-08-18Display "origin 3.6" as in previous installer 3.5Bruno Vernay
Previous installer release v3.5 used to display the 3 variants. I keep OSE as the default, but proposes to add back the "origin v3.6" variant.
2017-08-04Quick Installer should specify which config file to edit.jkaurredhat
Fixes bugzilla : https://bugzilla.redhat.com/show_bug.cgi?id=1460353 Signed-off-by: jkaurredhat <jkaur@redhat.com>
2017-07-27Merge pull request #3877 from wkshi/bugfix-1422541-masterScott Dodson
Fix BZ#1422541 BZ#1440586 BZ#1440612 BZ#1440617 on master branch
2017-07-11ansible.cfg: improve ssh ControlPathLuke Meyer
AWS hosts and user names frequently make the default Ansible ControlPath too long. This prevents ssh persistent connections, significantly impacting runtime. More detail: https://github.com/ansible/ansible/issues/11536 This config change shortens the ControlPath to make this less likely. It would be better to change it to the %C hash, as extremely long hostnames or usernames could still encounter this problem, but that is not yet available with RHEL's openssh. This at least improves the situation.
2017-05-18preserve the oo-install ansible_inventory_path valueRich Megginson
2017-05-02Fix variants for v3.6Russell Teague
Fixes bug 1447204
2017-04-25Standardize all Origin versioning on 3.6Russell Teague
2017-04-07fix BZ1422541 on master branchWenkai Shi
2017-04-03Support unicode output when dumping yamlRussell Teague
2017-03-06Merge pull request #3569 from detiber/consolidateToxJason DeTiberus
Consolidate root/utils tests
2017-03-06Update docs for test consolidation and remove the MakefileJason DeTiberus
2017-03-06Consolidate root/utils testsJason DeTiberus
- Consolidate tests between the root of the repo and utils
2017-03-06Remove commented-out test codeRodolfo Carvalho
2017-03-06Remove old commented-out testsRodolfo Carvalho
2017-03-06Fix testRodolfo Carvalho
Instead of checking if a string is True, check if 'found' is True, the string is the error message. Also, we can remove the loop and use the simpler Python 'in' construct.
2017-03-06Lint utils/testRodolfo Carvalho
- Do not use `print` in unit tests, send messages through the test framework instead. - Remove unused import. - Add spaces around equal sign in assigment. - Turn method into a function. - Reorganize imports according to PEP8.
2017-03-06Remove unused Makefile variablesRodolfo Carvalho
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-21Update link to project homepageRodolfo Carvalho
2017-02-21Remove pytest-related dependencies from setup.pyRodolfo Carvalho
The `setup_requires` line prevents builds in internal environments without Internet access / pythonX-pytest-runner RPM installed. In fact, we're running tests with `pytest`, outside of `setup.py`, so we don't need those dependencies there. Note: we decided not to run tests through `python setup.py pytest` because pytest-runner was limited in how we can pass arguments to pytest / enable plugins. E.g., I could not get the coverage plugin working when running `python setup.py pytest`.
2017-02-20Raise the bar on coverage requirementsRodolfo Carvalho
2017-02-20Accept extra positional arguments in toxRodolfo Carvalho
Example: tox -e py35-ansible22-unit -- --collect-only
2017-02-20Replace nose with pytest (utils)Rodolfo Carvalho
2017-02-20Clean up utils/README.mdRodolfo Carvalho
Remove old way of running tests, plus mirror edits.
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-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