summaryrefslogtreecommitdiff
path: root/utils/test
AgeCommit message (Collapse)Author
2015-11-30Error out if no load balancer specified.Devan Goodwin
2015-11-30Adjust requirement for 3 masters for HA deployments.Devan Goodwin
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.
2015-11-27Assert etcd section written for HA installs.Devan Goodwin
2015-11-26Breakout a test fixture to reduce module size.Devan Goodwin
2015-11-26Pylint touchups.Devan Goodwin
2015-11-26Trim assertions in HA testing.Devan Goodwin
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.
2015-11-26Test unattended HA quick install.Devan Goodwin
Checking behavior when there is no LB specified, and when the user attempts to re-use a master or node as their LB.
2015-11-26Block re-use of master/node as load balancer in attended install.Devan Goodwin
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.
2015-11-25Explicitly set schedulable when masters == nodes.Devan Goodwin
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.
2015-11-24Silencing pylint branch errors for now for the atomic-openshift-installer ↵Brenton Leanhardt
harness
2015-11-24Properly setting scheduleability for HA Master scenariosBrenton Leanhardt
If the only Nodes we have are also on Masters we set the scheduleable.
2015-11-24Fixing tests for quick_haBrenton Leanhardt
Also: * minor rewording of the text that informs the admin about scheduleable masters.
2015-11-23atomic-openshift-installer: Rename ha_proxySamuel Munilla
Rename ha_proxy variables and methods to 'master_lb' to better future-proof things.
2015-11-23atomic-openshift-installer: Reverse version and host collectionSamuel Munilla
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.
2015-11-23cli_installer_tests: Add test for unattended quick HASamuel Munilla
2015-11-23Add interactive testSamuel Munilla
2015-11-23atomic-openshift-installer: HA for quick installerSamuel Munilla
This adds the ability to quickly set up a multi-master environment.
2015-11-20Check the end result on bad config fileSamuel Munilla
2015-11-20Add some tests for a bad configSamuel Munilla
2015-11-16Fix tests on systems with openshift-ansible rpms installed.Devan Goodwin
2015-11-12Test additions for cli_installer:get_hosts_to_install_onBrenton Leanhardt
2015-11-10Update tests now that cli is not asking for rpm/container installSamuel Munilla
2015-11-09Various fixes related to connect_toBrenton Leanhardt
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
2015-11-03Merge remote-tracking branch 'upstream/master' into upgradeDevan Goodwin
2015-11-03Remove my username from some test data.Devan Goodwin
2015-11-03Add a simple version for the installer config file.Devan Goodwin
2015-11-02Rename install_transactions module to openshift_ansible.Devan Goodwin
2015-11-02Automatically upgrade legacy config files.Devan Goodwin
2015-10-27Add subcommands to CLI.Devan Goodwin
2015-10-27Pylint fixes and ignores for incoming oo-install code.Devan Goodwin
2015-10-26Add atomic-openshift-utilsTroy Dawson
add atomic-openshift-utils to openshift-ansible.spec file no need for redundent spec file remove dependencies that are not needed