summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/cli_installer.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | a-o-i: Change method for counting master_lb as installedSamuel Munilla2016-02-171-1/+1
|/
* a-o-i: Count nativeha hosts as "installed" for scaleupSamuel Munilla2016-02-151-4/+8
|
* a-o-i: Prompts to allow minor upgradesSamuel Munilla2016-02-121-7/+23
| | | | | Updates to the upgrade command to allow the user to select a minor upgrade.
* aoi: Ask for osm_default_subdomain in interactive modeSamuel Munilla2016-02-021-0/+13
| | | | Add a question to ask the user for a default subdomain.
* 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: 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 #1143 from smunilla/new_nodesBrenton Leanhardt2016-01-121-2/+7
|\ | | | | atomic-openshift-installer: Populate new_nodes group
| * atomic-openshift-installer: Populate new_nodes groupSamuel Munilla2016-01-081-2/+7
| | | | | | | | 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.
* 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.
* Improving output when gathering factsBrenton Leanhardt2015-12-081-1/+1
|
* Centralize etcd/schedulability logic for each host.Devan Goodwin2015-12-011-6/+3
|
* 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
|
* Merge branch 'master' into loadbalanced-2Devan Goodwin2015-12-011-2/+2
|\
| * Fixing 'unscheduleable' typoBrenton Leanhardt2015-11-301-3/+3
| |
* | 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-301-14/+10
| |
* | Adjust requirement for 3 masters for HA deployments.Devan Goodwin2015-11-301-8/+33
| | | | | | | | | | | | | | | | | | 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
| |
* | Test unattended HA quick install.Devan Goodwin2015-11-261-8/+15
| | | | | | | | | | 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-261-10/+25
|/ | | | | | | | | | | | 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.
* Merge pull request #978 from brenton/quick_haBrenton Leanhardt2015-11-241-17/+103
|\ | | | | HA support for atomic-openshift-installer
| * Properly setting scheduleability for HA Master scenariosBrenton Leanhardt2015-11-241-2/+2
| | | | | | | | 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-241-2/+3
| | | | | | | | | | | | Also: * minor rewording of the text that informs the admin about scheduleable masters.
| * Handling preconfigured load balancersBrenton Leanhardt2015-11-231-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-231-10/+10
| | | | | | | | | | Rename ha_proxy variables and methods to 'master_lb' to better future-proof things.
| * atomic-openshift-installer: Reverse version and host collectionSamuel Munilla2015-11-231-8/+10
| | | | | | | | | | | | 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.
| * Enforce 1 or 3 mastersSamuel Munilla2015-11-231-2/+8
| |
| * atomic-openshift-installer: HA for quick installerSamuel Munilla2015-11-231-10/+72
| | | | | | | | This adds the ability to quickly set up a multi-master environment.
* | Bug 1284991 - "atomic-openshift-installer uninstall" error when ↵Brenton Leanhardt2015-11-241-1/+1
|/ | | | configuration file is missing.
* Merge pull request #890 from smunilla/friendly_unattended_errorsBrenton Leanhardt2015-11-201-1/+6
|\ | | | | atomic-openshift-installer: connect_to error handling
| * atomic-openshift-installer: connect_to error handlingSamuel Munilla2015-11-201-1/+6
| | | | | | | | Catch the exception that happens when connect_to isn't specified in installer.cfg.yaml
* | atomic-openshift-installer: pylint fixesSamuel Munilla2015-11-201-5/+7
|/ | | | A few fixes to keep pylint happy.
* Merge pull request #902 from dgoodwin/rpm-test-fixBrenton Leanhardt2015-11-201-2/+5
|\ | | | | Default to OSE 3.1 in interactive installer instead of 3.0.
| * Pylint fix for long line in cli docstring.Devan Goodwin2015-11-161-1/+2
| |
| * Default to installing OSE 3.1 instead of 3.0.Devan Goodwin2015-11-161-0/+1
| |
| * Fix tests on systems with openshift-ansible rpms installed.Devan Goodwin2015-11-161-1/+2
| |
* | atomic-openshift-installer: Correct single master caseSamuel Munilla2015-11-171-1/+1
| | | | | | | | Correct the case where the first host entered is not a master.
* | atomic-openshift-installer: Temporarily restrict to single masterSamuel Munilla2015-11-161-4/+6
|/ | | | | For now, we should restrict the quick installer to a single master. This should change in the near future.
* atomic-openshift-installer: Update prompts and help messagesSamuel Munilla2015-11-121-4/+8
|
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-101-2/+3
| | | | | | | | | | | | | - 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.
* Merge pull request #860 from smunilla/disable_container_based_installBrenton Leanhardt2015-11-101-7/+9
|\ | | | | atomic-openshift-installer: Remove question for container install
| * atomic-openshift-installer: Remove question for container installSamuel Munilla2015-11-101-7/+9
| | | | | | | | | | Removing the option for a container-based install from the quick installer with it is in tech preview.