summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2016-02-19a-o-i: Redo logic for detecting master_lbSamuel Munilla
After much research and debugging, it turns out the facts for nativeha hosts were much less consistent than I hoped. With this newfound knowledge, I've implemented this method. In short, you check with the first master to see what it thinks the master_lb is, then you include that host as "installed".
2016-02-19Merge pull request #1411 from smunilla/pylint_16_feb_2016Brenton Leanhardt
a-o-i: pylint fixes related to too-long lines
2016-02-17Merge pull request #1425 from smunilla/BZ1308440Brenton Leanhardt
a-o-i: Change method for counting master_lb as installed
2016-02-17a-o-i: Change method for counting master_lb as installedSamuel Munilla
2016-02-16a-o-i: pylint fixes related to too-long linesSamuel Munilla
2016-02-15Merge pull request #1399 from smunilla/BZ1308440Brenton Leanhardt
a-o-i: Count nativeha hosts as "installed" for scaleup
2016-02-15a-o-i: Count nativeha hosts as "installed" for scaleupSamuel Munilla
2016-02-15a-o-i: Add master_routingconfig_subdomain to PERSIST_SETTINGSSamuel Munilla
Fix for BZ1308313
2016-02-12a-o-i: Prompts to allow minor upgradesSamuel Munilla
Updates to the upgrade command to allow the user to select a minor upgrade.
2016-02-04aoi: Safer check for master_routingconfig_subdomainSamuel Munilla
2016-02-02aoi: Ask for osm_default_subdomain in interactive modeSamuel Munilla
Add a question to ask the user for a default subdomain.
2016-01-18Merge pull request #1199 from smunilla/no_containerized_for_3.0Brenton Leanhardt
atomic-openshift-installer: Remove containerized install for 3.0
2016-01-18atomic-openshift-installer: add containerized to inventorySamuel Munilla
Updates to actually check the containerized setting and add it to the inventory.
2016-01-18atomic-openshift-installer: Remove containerized install for 3.0Samuel Munilla
This removes the option to specify a containerized install when installing 3.0 in interactive mode.
2016-01-13atomic-openshift-installer: Error handling for unicode hostnamesSamuel Munilla
Fix error handling for invalid hostnames. Previously we were trying to print the offending hostname out, which caused errors due to python's handling of unicode strings. Seeing as how the user's input stays on the screen directly above the error there is no need to try and print it and we can avoid this problem entirely.
2016-01-12Merge pull request #1169 from abutcher/fix-rpm-container-testsBrenton Leanhardt
Add is_containerized inputs to nosetests.
2016-01-12Merge pull request #1143 from smunilla/new_nodesBrenton Leanhardt
atomic-openshift-installer: Populate new_nodes group
2016-01-12Add is_containerized inputs to nosetests.Andrew Butcher
2016-01-11re-enable containerize installsScott Dodson
2016-01-08atomic-openshift-installer: Populate new_nodes groupSamuel Munilla
Set the new_nodes group when scaling up additional nodes
2015-12-17atomic-openshift-installer: Fix broken nosetestSamuel Munilla
This is a fix for the failing test_fresh_install_with_config.
2015-12-16quick installer testsSamuel Munilla
Add test for not displaying HA hints for 3.0 installs
2015-12-16atomic-openshift-installer: Remove HA hint for 3.0 installSamuel Munilla
Small update to remove the hint for multiple masters if we are doing a 3.0 installation.
2015-12-08atomic-openshift-installer: Error handling on yaml loadingSamuel Munilla
This addresses the stack trace that has been plaguing recent demos. In the case of an error with callback_facts.yaml the program output is much clearer and a course of action is suggested.
2015-12-08Improving output when gathering factsBrenton Leanhardt
2015-12-08Bug 1287977 - Incorrect check output from atomic-openshift-installer when ↵Brenton Leanhardt
working with preconfigured load balancer
2015-12-02Merge pull request #966 from maxamillion/fedoraWesley Hearn
Fedora changes:
2015-12-02Fedora changes:Adam Miller
- ansible bootstrap playbook for Fedora 23+ - add conditionals to handle yum vs dnf - add Fedora OpenShift COPR - update BYO host README for repo configs and fedora bootstrap Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml rebase on master, update package cache refresh handler for yum vs dnf Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml
2015-12-01Centralize etcd/schedulability logic for each host.Devan Goodwin
2015-12-01Improved installation summary.Devan Goodwin
Displays each host and the roles it will play based on the current configuration. As the configuration grows the summary will adapt to indicate embedded vs separte etcd, scheduled vs unscheduled nodes, etc.
2015-12-01Add warning for HA deployments with < 3 dedicated nodes.Devan Goodwin
2015-12-01Cleanup more schedulable typos.Devan Goodwin
2015-12-01Merge branch 'master' into loadbalanced-2Devan Goodwin
2015-11-30Fix bug when warning on no dedicated nodes.Devan Goodwin
2015-11-30Suggest dedicated nodes for an HA deployment.Devan Goodwin
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-30Fixing 'unscheduleable' typoBrenton Leanhardt
2015-11-27Improved output when re-running after editing config.Devan Goodwin
2015-11-27Print a system summary after adding each.Devan Goodwin
2015-11-27Text improvements for host specification.Devan Goodwin
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-26Don't prompt to continue during unattended installs.Devan Goodwin
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-24Merge pull request #968 from detiber/fixScaleup2Brenton Leanhardt
Improve scaleup playbook