summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1199 from smunilla/no_containerized_for_3.0Brenton Leanhardt2016-01-181-8/+7
|\ | | | | atomic-openshift-installer: Remove containerized install for 3.0
| * atomic-openshift-installer: Remove containerized install for 3.0Samuel Munilla2016-01-181-8/+7
| | | | | | | | | | This removes the option to specify a containerized install when installing 3.0 in interactive mode.
* | atomic-openshift-installer: add containerized to inventorySamuel Munilla2016-01-181-0/+2
|/ | | | | Updates to actually check the containerized setting and add it to the inventory.
* atomic-openshift-installer: Error handling for unicode hostnamesSamuel Munilla2016-01-131-3/+1
| | | | | | | | 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.
* Merge pull request #1169 from abutcher/fix-rpm-container-testsBrenton Leanhardt2016-01-122-24/+34
|\ | | | | Add is_containerized inputs to nosetests.
| * Add is_containerized inputs to nosetests.Andrew Butcher2016-01-122-24/+34
| |
* | Merge pull request #1143 from smunilla/new_nodesBrenton Leanhardt2016-01-123-5/+21
|\ \ | |/ |/| atomic-openshift-installer: Populate new_nodes group
| * atomic-openshift-installer: Populate new_nodes groupSamuel Munilla2016-01-083-5/+21
| | | | | | | | Set the new_nodes group when scaling up additional nodes
* | re-enable containerize installsScott Dodson2016-01-111-8/+7
|/
* atomic-openshift-installer: Fix broken nosetestSamuel Munilla2015-12-171-1/+1
| | | | This is a fix for the failing test_fresh_install_with_config.
* quick installer testsSamuel Munilla2015-12-161-0/+19
| | | | Add test for not displaying HA hints for 3.0 installs
* atomic-openshift-installer: Remove HA hint for 3.0 installSamuel Munilla2015-12-161-10/+10
| | | | | Small update to remove the hint for multiple masters if we are doing a 3.0 installation.
* atomic-openshift-installer: Error handling on yaml loadingSamuel Munilla2015-12-081-3/+9
| | | | | | 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.
* Improving output when gathering factsBrenton Leanhardt2015-12-081-1/+1
|
* Bug 1287977 - Incorrect check output from atomic-openshift-installer when ↵Brenton Leanhardt2015-12-082-2/+65
| | | | working with preconfigured load balancer
* Merge pull request #966 from maxamillion/fedoraWesley Hearn2015-12-021-1/+8
|\ | | | | Fedora changes:
| * Fedora changes:Adam Miller2015-12-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Centralize etcd/schedulability logic for each host.Devan Goodwin2015-12-013-19/+37
| |
* | Improved installation summary.Devan Goodwin2015-12-011-12/+45
| | | | | | | | | | | | 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.
* | Add warning for HA deployments with < 3 dedicated nodes.Devan Goodwin2015-12-011-8/+12
| |
* | Cleanup more schedulable typos.Devan Goodwin2015-12-012-3/+3
| |
* | Merge branch 'master' into loadbalanced-2Devan Goodwin2015-12-013-10/+10
|\|
| * Fixing 'unscheduleable' typoBrenton Leanhardt2015-11-303-16/+16
| |
* | Fix bug when warning on no dedicated nodes.Devan Goodwin2015-11-301-3/+2
| |
* | Suggest dedicated nodes for an HA deployment.Devan Goodwin2015-11-301-0/+9
| |
* | Error out if no load balancer specified.Devan Goodwin2015-11-302-23/+12
| |
* | Adjust requirement for 3 masters for HA deployments.Devan Goodwin2015-11-303-26/+112
| | | | | | | | | | | | | | | | | | 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.
* | Improved output when re-running after editing config.Devan Goodwin2015-11-271-4/+5
| |
* | Print a system summary after adding each.Devan Goodwin2015-11-271-8/+20
| |
* | Text improvements for host specification.Devan Goodwin2015-11-271-7/+19
| |
* | 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-263-9/+125
| | | | | | | | | | Checking behavior when there is no LB specified, and when the user attempts to re-use a master or node as their LB.
* | Don't prompt to continue during unattended installs.Devan Goodwin2015-11-261-4/+6
| |
* | Block re-use of master/node as load balancer in attended install.Devan Goodwin2015-11-263-18/+59
| | | | | | | | | | | | | | | | | | | | | | | | 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-252-25/+25
|/ | | | | | 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.
* Merge pull request #968 from detiber/fixScaleup2Brenton Leanhardt2015-11-241-2/+2
|\ | | | | Improve scaleup playbook
| * fixes for installer wrapper scaleupJason DeTiberus2015-11-241-2/+2
| |
* | Merge pull request #978 from brenton/quick_haBrenton Leanhardt2015-11-244-45/+426
|\ \ | |/ |/| HA support for atomic-openshift-installer
| * 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-243-13/+114
| | | | | | | | If the only Nodes we have are also on Masters we set the scheduleable.
| * Avoid printing the master and node totals in the add-a-node scenarioBrenton Leanhardt2015-11-241-7/+8
| |
| * Fixing tests for quick_haBrenton Leanhardt2015-11-242-13/+30
| | | | | | | | | | | | Also: * minor rewording of the text that informs the admin about scheduleable masters.
| * Removing a debug lineBrenton Leanhardt2015-11-241-1/+0
| |
| * atomic-openshift-installer: Fix lint issueSamuel Munilla2015-11-231-1/+1
| |
| * Handling preconfigured load balancersBrenton Leanhardt2015-11-233-15/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The preconfigured load balancers, previously denoted by having 'run_on' set to false, cannot have their facts gathered which results in a stack trace. Later when we write out the inventory we have to fake out the hostname and just use 'connect_to'. We're likely going to have the concept of other types of "plug-in" hosts where we don't run ansible. We should make sure we abstract this properly so it's easy to add additional types of hosts. Also in the commit: - Renamed 'run_on' to 'preconfigured' and inverted the logic as needed - Output tally of Masters and Nodes as well as remaining Masters required for HA - Minor rewording in a few places - Currently only prompting for the load balancer after all other hosts have been entered - Removed spurious echo
| * atomic-openshift-installer: Rename ha_proxySamuel Munilla2015-11-234-15/+15
| | | | | | | | | | Rename ha_proxy variables and methods to 'master_lb' to better future-proof things.
| * atomic-openshift-installer: Reverse version and host collectionSamuel Munilla2015-11-232-11/+13
| | | | | | | | | | | | 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.