summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-248-14/+135
|\ | | | | Improve scaleup playbook
| * fixes for installer wrapper scaleupJason DeTiberus2015-11-241-2/+2
| |
| * addtl aws fixesJason DeTiberus2015-11-242-1/+3
| |
| * fix addNodes.ymlJason DeTiberus2015-11-241-22/+1
| |
| * more aws support for scaleupJason DeTiberus2015-11-243-0/+92
| |
| * start of aws scaleupJason DeTiberus2015-11-242-0/+41
| |
| * Improve scaleup playbookJason DeTiberus2015-11-243-12/+19
| | | | | | | | | | | | | | | | - modify evaluate host to set oo_nodes_to_config to a new variable g_new_nodes_group if defined rather than g_nodes_group and also skip adding the master when g_new_nodes_group is set. - Remove byo specific naming from playbooks/common/openshift-cluster/scaleup.yml and created a new playbooks/byo/openshift-cluster/scaleup.yml playbook.
* | Automatic commit of package [openshift-ansible] release [3.0.16-1].Brenton Leanhardt2015-11-242-2/+36
| |
* | 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
| | |
| * | Merge commit '6659d1e4fa14f5100458608337468e513374a385' into quick_haSamuel Munilla2015-11-230-0/+0
| |\ \
| | * | 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
| | * | Merge branch 'quick_ha' of https://github.com/smunilla/openshift-ansible ↵Brenton Leanhardt2015-11-234-31/+269
| | |\ \ | | | | | | | | | | | | | | | into quick_ha
| | | * | atomic-openshift-installer: Rename ha_proxySamuel Munilla2015-11-204-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-202-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.
| | | * | cli_installer_tests: Add test for unattended quick HASamuel Munilla2015-11-201-0/+101
| | | | |
| | | * | Breakup inventory writingSamuel Munilla2015-11-201-16/+24
| | | | |
| | | * | Enforce 1 or 3 mastersSamuel Munilla2015-11-201-2/+8
| | | | |
| | | * | Add interactive testSamuel Munilla2015-11-201-0/+27
| | | | |
| | | * | atomic-openshift-installer: HA for quick installerSamuel Munilla2015-11-204-17/+111
| | | | | | | | | | | | | | | | | | | | This adds the ability to quickly set up a multi-master environment.
| * | | | 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.
| * | | | cli_installer_tests: Add test for unattended quick HASamuel Munilla2015-11-231-0/+101
| | | | |
| * | | | Breakup inventory writingSamuel Munilla2015-11-231-16/+24
| | | | |
| * | | | Enforce 1 or 3 mastersSamuel Munilla2015-11-231-2/+8
| | | | |
| * | | | Add interactive testSamuel Munilla2015-11-231-0/+27
| | | | |
| * | | | atomic-openshift-installer: HA for quick installerSamuel Munilla2015-11-234-17/+111
| | | | | | | | | | | | | | | | | | | | This adds the ability to quickly set up a multi-master environment.
* | | | | Merge pull request #967 from detiber/setHostnameBrenton Leanhardt2015-11-242-0/+18
|\ \ \ \ \ | | | | | | | | | | | | Rework setting of hostname
| * | | | | Rework setting of hostnameJason DeTiberus2015-11-242-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - set the hostname for all installs < 3.1 or 1.1 - provide a new variable openshift_set_hostname to override default behavior
* | | | | | Merge pull request #977 from mwoodson/graphsMatt Woodson2015-11-244-0/+110
|\ \ \ \ \ \ | |/ / / / / |/| | | | | added graphs for openshift master and network in zabbix
| * | | | | added graphsMatt Woodson2015-11-244-0/+110
|/ / / / /
* | | | | Merge pull request #974 from kwoodson/actionfixKenny Woodson2015-11-241-2/+5
|\ \ \ \ \ | | | | | | | | | | | | Fixed a bug. opsconditions now updates propertly.