summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
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
2015-11-24Merge pull request #978 from brenton/quick_haBrenton Leanhardt
HA support for atomic-openshift-installer
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-24fixes for installer wrapper scaleupJason DeTiberus
2015-11-24Bug 1284991 - "atomic-openshift-installer uninstall" error when ↵Brenton Leanhardt
configuration file is missing.
2015-11-24Avoid printing the master and node totals in the add-a-node scenarioBrenton Leanhardt
2015-11-24Fixing tests for quick_haBrenton Leanhardt
Also: * minor rewording of the text that informs the admin about scheduleable masters.
2015-11-24Removing a debug lineBrenton Leanhardt
2015-11-23atomic-openshift-installer: Fix lint issueSamuel Munilla
2015-11-23Handling preconfigured load balancersBrenton Leanhardt
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
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-23Breakup inventory writingSamuel Munilla
2015-11-23Enforce 1 or 3 mastersSamuel 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-20Merge pull request #890 from smunilla/friendly_unattended_errorsBrenton Leanhardt
atomic-openshift-installer: connect_to error handling
2015-11-20Check the end result on bad config fileSamuel Munilla
2015-11-20Add some tests for a bad configSamuel Munilla
2015-11-20atomic-openshift-installer: connect_to error handlingSamuel Munilla
Catch the exception that happens when connect_to isn't specified in installer.cfg.yaml
2015-11-20atomic-openshift-installer: pylint fixesSamuel Munilla
A few fixes to keep pylint happy.
2015-11-20Merge pull request #902 from dgoodwin/rpm-test-fixBrenton Leanhardt
Default to OSE 3.1 in interactive installer instead of 3.0.
2015-11-17atomic-openshift-installer: Correct single master caseSamuel Munilla
Correct the case where the first host entered is not a master.
2015-11-16atomic-openshift-installer: Temporarily restrict to single masterSamuel Munilla
For now, we should restrict the quick installer to a single master. This should change in the near future.
2015-11-16Pylint fix for long line in cli docstring.Devan Goodwin
2015-11-16Default to installing OSE 3.1 instead of 3.0.Devan Goodwin
2015-11-16Fix tests on systems with openshift-ansible rpms installed.Devan Goodwin
2015-11-16Fix invalid sudo command testTakayoshi Kimura
2015-11-12Merge pull request #884 from smunilla/english_updatesBrenton Leanhardt
atomic-openshift-installer: Update prompts and help messages
2015-11-12atomic-openshift-installer: Update nopwd sudo testSamuel Munilla
This is an update to the no password sudo test meant to address some weirdness around group vs. user permissions.
2015-11-12atomic-openshift-installer: Update prompts and help messagesSamuel Munilla
2015-11-12Test additions for cli_installer:get_hosts_to_install_onBrenton Leanhardt
2015-11-10Refactor upgrade playbook(s)Jason DeTiberus
- Split playbooks into two, one for 3.0 minor upgrades and one for 3.0 to 3.1 upgrades - Move upgrade playbooks to common/openshift/cluster/upgrades from adhoc - Added a byo wrapper playbooks to set the groups based on the byo conventions, other providers will need similar playbooks added eventually - installer wrapper updates for refactored upgrade playbooks - call new 3.0 to 3.1 upgrade playbook - various fixes for edge cases I hit with a really old config laying around. - fix output of host facts to show connect_to value.
2015-11-10Merge pull request #860 from smunilla/disable_container_based_installBrenton Leanhardt
atomic-openshift-installer: Remove question for container install
2015-11-10Update tests now that cli is not asking for rpm/container installSamuel Munilla
2015-11-10atomic-openshift-installer: Remove question for container installSamuel Munilla
Removing the option for a container-based install from the quick installer with it is in tech preview.
2015-11-10Package the default ansible.cfg with atomic-openshift-utils.Devan Goodwin
If this file exists on disk, the installer will use it if the user didn't specify an ansible config file on the CLI. Rename share directory to match the rpm name. (utils vs util)
2015-11-09Merge pull request #849 from brenton/test_fixesBrenton Leanhardt
Test fixes related to connect_to
2015-11-09atomic-openshift-installer: Generate inventory off hosts_to_run_onSamuel Munilla
This generates the ansible inventory based on the pruned list of non-installed hosts we've created rather than the full host list provided in installer.cfg.yaml
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-06Merge pull request #835 from brenton/masterBrenton Leanhardt
Updating the atomic-openshift-isntaller local connection logic for th…
2015-11-06Merge pull request #822 from detiber/upgradeFix2Brenton Leanhardt
Upgrade enhancements
2015-11-06Updating the atomic-openshift-isntaller local connection logic for the ↵Brenton Leanhardt
connect_to addition.
2015-11-06atomic-openshift-installer: Better specification of ansible connection pointSamuel Munilla
Changes to installer.cfg.yaml to allow for better defaults in unattended mode. Update example in the docs.