summaryrefslogtreecommitdiffstats
path: root/utils/test
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup more schedulable typos.Devan Goodwin2015-12-011-2/+2
|
* Merge branch 'master' into loadbalanced-2Devan Goodwin2015-12-011-1/+1
|\
| * Fixing 'unscheduleable' typoBrenton Leanhardt2015-11-301-7/+7
| |
* | Error out if no load balancer specified.Devan Goodwin2015-11-301-9/+2
| |
* | Adjust requirement for 3 masters for HA deployments.Devan Goodwin2015-11-302-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 Goodwin2015-11-271-0/+3
| |
* | Breakout a test fixture to reduce module size.Devan Goodwin2015-11-262-222/+236
| |
* | Pylint touchups.Devan Goodwin2015-11-261-2/+2
| |
* | Trim assertions in HA testing.Devan Goodwin2015-11-261-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 Goodwin2015-11-261-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.
* | Block re-use of master/node as load balancer in attended install.Devan Goodwin2015-11-261-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | Code was present to catch this in unattended installs but was looking for a host record with both master/node and master_lb set to true, but in the attended installs we were adding a separate host record with the same connect_to. Attended tests can now optionally specify multiple "attempted" strings for the master_lb specification, we'll try to input each if multiple are specified. Cleanup some empty defaults and error messages as well.
* | Explicitly set schedulable when masters == nodes.Devan Goodwin2015-11-251-20/+12
|/ | | | | | When the masters are the only nodes in play, we need to explicitly set schedulable to True due to logic in openshift_facts.py which assumes that if the node is also a master, schedulable should be false.
* Silencing pylint branch errors for now for the atomic-openshift-installer ↵Brenton Leanhardt2015-11-241-1/+1
| | | | harness
* Properly setting scheduleability for HA Master scenariosBrenton Leanhardt2015-11-241-3/+98
| | | | If the only Nodes we have are also on Masters we set the scheduleable.
* Fixing tests for quick_haBrenton Leanhardt2015-11-241-11/+27
| | | | | | Also: * minor rewording of the text that informs the admin about scheduleable masters.
* atomic-openshift-installer: Rename ha_proxySamuel Munilla2015-11-231-1/+1
| | | | | Rename ha_proxy variables and methods to 'master_lb' to better future-proof things.
* atomic-openshift-installer: Reverse version and host collectionSamuel Munilla2015-11-231-3/+3
| | | | | | Reverse the order we ask two questions: What variant the user wants to install and which hosts to install on. This lets us avoid asking for multiple masters for 3.0 installs.
* cli_installer_tests: Add test for unattended quick HASamuel Munilla2015-11-231-0/+101
|
* Add interactive testSamuel Munilla2015-11-231-0/+27
|
* atomic-openshift-installer: HA for quick installerSamuel Munilla2015-11-231-0/+1
| | | | This adds the ability to quickly set up a multi-master environment.
* Check the end result on bad config fileSamuel Munilla2015-11-201-3/+3
|
* Add some tests for a bad configSamuel Munilla2015-11-202-0/+72
|
* Fix tests on systems with openshift-ansible rpms installed.Devan Goodwin2015-11-161-3/+9
|
* Test additions for cli_installer:get_hosts_to_install_onBrenton Leanhardt2015-11-121-32/+183
|
* Update tests now that cli is not asking for rpm/container installSamuel Munilla2015-11-101-2/+2
|
* Various fixes related to connect_toBrenton Leanhardt2015-11-092-11/+20
| | | | | There the tests didn't know anything about connect_to and we had a case where we weren't handling the migration from the 3.0 installer config format to 3.1
* Merge remote-tracking branch 'upstream/master' into upgradeDevan Goodwin2015-11-031-20/+20
|\
| * Rename install_transactions module to openshift_ansible.Devan Goodwin2015-11-021-20/+20
| |
* | Remove my username from some test data.Devan Goodwin2015-11-031-3/+3
| |
* | Add a simple version for the installer config file.Devan Goodwin2015-11-031-0/+3
| |
* | Automatically upgrade legacy config files.Devan Goodwin2015-11-021-0/+61
|/
* Add subcommands to CLI.Devan Goodwin2015-10-271-13/+17
|
* Pylint fixes and ignores for incoming oo-install code.Devan Goodwin2015-10-272-13/+25
|
* Add atomic-openshift-utilsTroy Dawson2015-10-263-0/+617
add atomic-openshift-utils to openshift-ansible.spec file no need for redundent spec file remove dependencies that are not needed