summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * 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.
* | 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-203-1/+78
|\ | | | | atomic-openshift-installer: connect_to error handling
| * Check the end result on bad config fileSamuel Munilla2015-11-201-3/+3
| |
| * Add some tests for a bad configSamuel Munilla2015-11-202-0/+72
| |
| * 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-203-8/+17
|\ | | | | 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-162-3/+4
| |
| * Fix tests on systems with openshift-ansible rpms installed.Devan Goodwin2015-11-162-4/+11
| |
* | 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.
* Fix invalid sudo command testTakayoshi Kimura2015-11-161-1/+1
|
* Merge pull request #884 from smunilla/english_updatesBrenton Leanhardt2015-11-121-4/+8
|\ | | | | atomic-openshift-installer: Update prompts and help messages
| * atomic-openshift-installer: Update prompts and help messagesSamuel Munilla2015-11-121-4/+8
| |
* | atomic-openshift-installer: Update nopwd sudo testSamuel Munilla2015-11-121-1/+1
| | | | | | | | | | This is an update to the no password sudo test meant to address some weirdness around group vs. user permissions.
* | Test additions for cli_installer:get_hosts_to_install_onBrenton Leanhardt2015-11-121-32/+183
|/
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-103-6/+11
| | | | | | | | | | | | | - 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-102-9/+11
|\ | | | | atomic-openshift-installer: Remove question for container install
| * Update tests now that cli is not asking for rpm/container installSamuel Munilla2015-11-101-2/+2
| |
| * 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.
* | Package the default ansible.cfg with atomic-openshift-utils.Devan Goodwin2015-11-101-1/+1
|/ | | | | | | 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)
* Merge pull request #849 from brenton/test_fixesBrenton Leanhardt2015-11-093-11/+21
|\ | | | | Test fixes related to connect_to
| * Various fixes related to connect_toBrenton Leanhardt2015-11-093-11/+21
| | | | | | | | | | 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
* | atomic-openshift-installer: Generate inventory off hosts_to_run_onSamuel Munilla2015-11-091-1/+1
|/ | | | | 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
* Merge pull request #835 from brenton/masterBrenton Leanhardt2015-11-061-1/+1
|\ | | | | Updating the atomic-openshift-isntaller local connection logic for th…
| * Updating the atomic-openshift-isntaller local connection logic for the ↵Brenton Leanhardt2015-11-061-1/+1
| | | | | | | | connect_to addition.
* | Merge pull request #822 from detiber/upgradeFix2Brenton Leanhardt2015-11-062-27/+41
|\ \ | |/ |/| Upgrade enhancements
| * Write new config to disk after successful upgrade.Devan Goodwin2015-11-061-0/+1
| |
| * Fix pylint errors with getting hosts to run on.Devan Goodwin2015-11-061-1/+3
| |
| * Upgrade improvementsDevan Goodwin2015-11-052-26/+37
| | | | | | | | | | | | | | | | | | | | - Push config dir logic out of module and use host variables instead. - Backup master config with ansible utility. - Add error handling for the upgrade config module. - Add verbose option to installer. - Return details on what we changed when upgrading config. - Cleanup use of first master. - Don't install upgrade rpms to check what version we'll upgrade to.
* | atomic-openshift-installer: Better specification of ansible connection pointSamuel Munilla2015-11-064-36/+29
|/ | | | | Changes to installer.cfg.yaml to allow for better defaults in unattended mode. Update example in the docs.