Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | quick installer: disable broken test_get_hosts_to_run_on6 test | Vadim Rutkovsky | 2018-02-07 | 1 | -13/+12 |
| | |||||
* | Quick installer: run prerequistes first and update path to main playbook | Vadim Rutkovsky | 2018-02-07 | 1 | -24/+72 |
| | |||||
* | Fix flake8 errors in utils/test | Vadim Rutkovsky | 2018-01-04 | 4 | -155/+173 |
| | |||||
* | Remove commented-out test code | Rodolfo Carvalho | 2017-03-06 | 1 | -39/+0 |
| | |||||
* | Remove old commented-out tests | Rodolfo Carvalho | 2017-03-06 | 1 | -91/+0 |
| | |||||
* | Fix test | Rodolfo Carvalho | 2017-03-06 | 1 | -7/+1 |
| | | | | | | | 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. | ||||
* | Lint utils/test | Rodolfo Carvalho | 2017-03-06 | 4 | -26/+24 |
| | | | | | | | | | - 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. | ||||
* | cleanup: Removed debug prints from tests | Steve Milner | 2017-01-11 | 2 | -2/+0 |
| | |||||
* | remove debug statement from test | Jason DeTiberus | 2017-01-10 | 1 | -1/+0 |
| | |||||
* | increase test coverage | Jason DeTiberus | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | add test for utils to bump coverage | Jason DeTiberus | 2017-01-10 | 1 | -0/+73 |
| | |||||
* | python3 support, add tox for better local testing against multiple python ↵ | Jason DeTiberus | 2016-12-20 | 4 | -24/+26 |
| | | | | versions | ||||
* | Add some tests for utils to get the coverage up. | Tim Bielawa | 2016-11-04 | 1 | -1/+29 |
| | |||||
* | Merge pull request #2639 from tbielawa/test-utils-debugging | Andrew Butcher | 2016-10-21 | 1 | -0/+72 |
|\ | | | | | Unit tests for the debug_env logger thing | ||||
| * | Unit tests for the debug_env logger thing | Tim Bielawa | 2016-10-21 | 1 | -0/+72 |
| | | |||||
* | | a-o-i: Separate install and scaleup workflows | Samuel Munilla | 2016-10-20 | 2 | -38/+38 |
|/ | | | | | | | In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621 | ||||
* | a-o-i: Fix openshift_node_labels | Samuel Munilla | 2016-09-30 | 1 | -0/+80 |
| | | | | | Handle openshift_node_labels separately because they need to be doublequoted. | ||||
* | 'fix' unittests by removing the users ability to specify an ansible config | Tim Bielawa | 2016-09-29 | 1 | -76/+90 |
| | |||||
* | a-o-i: Remove Legacy Config Upgrade | Samuel Munilla | 2016-08-19 | 2 | -19/+8 |
| | | | | | Remove the automatic upgrade of the 3.0 configuration file format and add some better error messaging that points the user at the docs. | ||||
* | Bug 1358951 - Error loading config, no such key: 'deployment' when using ↵ | Samuel Munilla | 2016-08-19 | 2 | -0/+2 |
| | | | | | | | previously valid answers file Update the quick installer to automatically convert from the old config file format to the new format. | ||||
* | Merge pull request #2303 from tpoitras/typos-cli_installer.py | Scott Dodson | 2016-08-17 | 1 | -1/+1 |
|\ | | | | | Edits to fix to typos, grammar, and product branding in cli_installer | ||||
| * | Fixes to typos, grammar, and product branding in cli_installer | Timothy Poitras | 2016-08-17 | 1 | -1/+1 |
| | | |||||
* | | a-o-i: Fix nosetests after removing 3.2 from installer | Samuel Munilla | 2016-08-16 | 3 | -5/+5 |
|/ | | | | | Update the tests to match 3.3 being the only version. Add support for non-latest if it's specified in the config file. | ||||
* | a-o-i: Fix broken tests from installed hosts check | Samuel Munilla | 2016-08-15 | 1 | -9/+13 |
| | | | | | | With the latest changes to behavior around uninstalled hosts during a scaleup, nosetests were broken. This updates the tests to verify that we exit when we are expecting. | ||||
* | a-o-i: Update nosetests for ansible_ssh_user | Samuel Munilla | 2016-08-09 | 3 | -10/+11 |
| | | | | | Update the nosetests to reflect the new location of ansible_ssh_user in the config file. | ||||
* | a-o-i: Remove AEP, OSE 3.0, and OSE 3.2 choices | Samuel Munilla | 2016-07-30 | 1 | -23/+3 |
| | | | | | | Remove the option to select unsupported versions in the quick installer. Fixes BZ#1358101 | ||||
* | a-o-i: Better inventory group handling | Samuel Munilla | 2016-07-29 | 1 | -5/+5 |
| | | | | | | | | | | A more dynamic and flexible method of writing out host groups to the ansible inventory file. To accompany this, in the quick-installer interactive mode the etcd role is automatically applied to any masters. Anyone hand writing the quick installer config will now have to explicitly specify which hosts will be etcd. Fixes #2200 | ||||
* | Arbitrary Installer yaml | Samuel Munilla | 2016-07-18 | 3 | -326/+377 |
| | | | | Initial build of new, more flexible installer config file format. | ||||
* | a-o-i: More friendly proxy questions | Samuel Munilla | 2016-04-28 | 1 | -0/+1 |
| | | | | | Some UI improvements to help make it more clear to the user what information we are looking for. | ||||
* | a-o-i tests: Update attended tests for proxy | Samuel Munilla | 2016-04-26 | 1 | -0/+2 |
| | | | | Update the input to account for the new questions around proxies. | ||||
* | a-o-i: Don't assume storage on 1st master | Samuel Munilla | 2016-04-18 | 1 | -9/+29 |
| | | | | | | | Always prompt the user for a storage host. The prompt defaults to the first master and warns the user not to use a container-based installation for this. WIP | ||||
* | Merge pull request #1654 from dgoodwin/gen-inventory | Brenton Leanhardt | 2016-04-05 | 2 | -42/+116 |
|\ | | | | | Add --gen-inventory command to atomic-openshift-installer. | ||||
| * | Write inventory to same directory as quick install config. | Devan Goodwin | 2016-03-24 | 2 | -10/+10 |
| | | | | | | | | | | | | With the addition of a --gen-inventory flag and always displaying the location of the inventory written to disk, we should write the hosts file to a more prominent location rather than a hidden directory. | ||||
| * | Add --gen-inventory command to atomic-openshift-installer. | Devan Goodwin | 2016-03-24 | 2 | -33/+107 |
| | | | | | | | | | | | | | | | | This will just generate the Ansible inventory once all information is gathered, inform the user where to find it, and exit. Includes some test utility updates to make what broke as a result of this change less fragile. | ||||
* | | a-o-i: Add 3.2 to list of supported versions | Samuel Munilla | 2016-03-23 | 1 | -2/+3 |
|/ | |||||
* | a-o-i: Fix NFS storage tests | Samuel Munilla | 2016-03-09 | 2 | -14/+52 |
| | | | | Fix the nosetests after the rebase | ||||
* | aoi: Ask for osm_default_subdomain in interactive mode | Samuel Munilla | 2016-02-02 | 2 | -1/+5 |
| | | | | Add a question to ask the user for a default subdomain. | ||||
* | Add is_containerized inputs to nosetests. | Andrew Butcher | 2016-01-12 | 2 | -24/+34 |
| | |||||
* | quick installer tests | Samuel Munilla | 2015-12-16 | 1 | -0/+19 |
| | | | | Add test for not displaying HA hints for 3.0 installs | ||||
* | Bug 1287977 - Incorrect check output from atomic-openshift-installer when ↵ | Brenton Leanhardt | 2015-12-08 | 1 | -0/+57 |
| | | | | working with preconfigured load balancer | ||||
* | Cleanup more schedulable typos. | Devan Goodwin | 2015-12-01 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into loadbalanced-2 | Devan Goodwin | 2015-12-01 | 1 | -1/+1 |
|\ | |||||
| * | Fixing 'unscheduleable' typo | Brenton Leanhardt | 2015-11-30 | 1 | -7/+7 |
| | | |||||
* | | Error out if no load balancer specified. | Devan Goodwin | 2015-11-30 | 1 | -9/+2 |
| | | |||||
* | | Adjust requirement for 3 masters for HA deployments. | Devan Goodwin | 2015-11-30 | 2 | -18/+79 |
| | | | | | | | | | | | | | | | | | | If only 2 masters are specified, consider this a configuration error if running an unattended install, and prevent it completely if running an attended install. (continues to prompt for hosts until you have at least 3) Because this condition cannot be entered in the interactive install, we can't really write a test for this negative case. | ||||
* | | Assert etcd section written for HA installs. | Devan Goodwin | 2015-11-27 | 1 | -0/+3 |
| | | |||||
* | | Breakout a test fixture to reduce module size. | Devan Goodwin | 2015-11-26 | 2 | -222/+236 |
| | | |||||
* | | Pylint touchups. | Devan Goodwin | 2015-11-26 | 1 | -2/+2 |
| | | |||||
* | | Trim assertions in HA testing. | Devan Goodwin | 2015-11-26 | 1 | -28/+0 |
| | | | | | | | | | | | | We're asserting the same things in loading facts over and over, which is not what these tests are really intended to catch. This behavior is tested elsewhere. | ||||
* | | Test unattended HA quick install. | Devan Goodwin | 2015-11-26 | 1 | -0/+109 |
| | | | | | | | | | | Checking behavior when there is no LB specified, and when the user attempts to re-use a master or node as their LB. |