summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/oo_config.py
Commit message (Collapse)AuthorAgeFilesLines
* preserve the oo-install ansible_inventory_path valueRich Megginson2017-05-181-2/+4
|
* Replace nose with pytest (utils)Rodolfo Carvalho2017-02-201-1/+1
|
* Remove dead code in installerRodolfo Carvalho2017-02-191-15/+0
| | | | | Found using `vulture`, confirmed that code that was once used became unused in later commits after its introduction.
* python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-201-13/+14
| | | | versions
* Update installation summary for etcd membersSamuel Munilla2016-11-011-0/+4
| | | | | | | | We have changed how we assign etcd members in the quick installer. This updates our messaging to match those changes. Fixes Bug 1383961 Fixes Bug 1389649
* a-o-i: Separate install and scaleup workflowsSamuel Munilla2016-10-201-0/+8
| | | | | | | In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621
* a-o-i: Allow better setting of host level variablesSamuel Munilla2016-09-291-4/+22
| | | | | Allow the user to set arbitrary variables directly under the host item instead of in under an 'other_variables' item.
* 'fix' unittests by removing the users ability to specify an ansible configTim Bielawa2016-09-291-1/+0
|
* Fix conflicts in spec fileTim Bielawa2016-09-291-0/+6
|
* Merge pull request #2367 from tbielawa/FixNewerPyLintErrorsAndrew Butcher2016-09-011-1/+6
|\ | | | | Fix PyLint errors discovered when upgrading to newer version
| * Fix PyLint errors discovered when upgrading to newer versionTim Bielawa2016-08-261-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes PyLint to run in the virtualenv used for all tests * Replaced 'LooseVersion' with 'parse_version' from setuptools - This is a work around for the issue in https://github.com/PyCQA/pylint/issues/73 in which pylint can not import disutils.version correctly in a virtualenv. * Removed the unused function 'delete_hosts' which was causing a pylint error as well * Removed a deprecated pylint pragma option, 'bad-builtin' * Fixed some import ordering issues it was picky about * Added another disable for a case where the PyLint suggestion would have us altering the container we would be iterating over * Add code-coverage reports to the unittests with the MINIMUM coverage percentage for success set to 70% - Current test coverage is at 76%
* | Add support for Atomic Registry InstallsSamuel Munilla2016-08-261-0/+1
|/ | | | Add the Registry deployment subtype as an option in the quick installer.
* Fix PEP8 in oo_config.pyTim Bielawa2016-08-251-6/+3
|
* Merge pull request #2341 from tbielawa/BZ1368296Scott Dodson2016-08-241-17/+62
|\ | | | | BZ1368296 - quick install with the installer.cfg.yml in other directory failed
| * Move nested print_read_config_error function into it's own functionTim Bielawa2016-08-241-2/+3
| |
| * Fix BZ1368296 by quietly recollecting facts if the cache is removedTim Bielawa2016-08-241-17/+61
| | | | | | | | | | * Add python logging * Add testing system via 'make ci'
* | a-o-i: Add variant and variant_version to migrationSamuel Munilla2016-08-241-0/+6
|/ | | | Update to also move over variant and variant_version during v1 migration
* a-o-i: Remove Legacy Config UpgradeSamuel Munilla2016-08-191-29/+13
| | | | | Remove the automatic upgrade of the 3.0 configuration file format and add some better error messaging that points the user at the docs.
* Bug 1358951 - Error loading config, no such key: 'deployment' when using ↵Samuel Munilla2016-08-191-3/+35
| | | | | | | previously valid answers file Update the quick installer to automatically convert from the old config file format to the new format.
* a-o-i: Allow Arbitrary Deployment VariablesSamuel Munilla2016-08-031-13/+11
| | | | | This allows for arbitrary ansible variables to be set under the 'deployment' header of the installer config file.
* a-o-i: Support for arbitrary host-level variablesSamuel Munilla2016-07-271-1/+4
| | | | | This allows the user to set a block containing any variables they want to set per-host instead of per-role.
* a-o-i: Persist Roles VariablesSamuel Munilla2016-07-211-0/+3
| | | | Previously, we we're saving the roles variables set during a run.
* Arbitrary Installer yamlSamuel Munilla2016-07-181-61/+135
| | | | Initial build of new, more flexible installer config file format.
* a-o-i: UI additions for proxiesSamuel Munilla2016-04-181-0/+2
|
* Write inventory to same directory as quick install config.Devan Goodwin2016-03-241-1/+1
| | | | | | With the addition of a --gen-inventory flag and always displaying the location of the inventory written to disk, we should write the hosts file to a more prominent location rather than a hidden directory.
* a-o-i: Fix NFS storage testsSamuel Munilla2016-03-091-1/+2
| | | | Fix the nosetests after the rebase
* First attempt at NFS setupSamuel Munilla2016-03-091-1/+4
|
* a-o-i: pylint fixes related to too-long linesSamuel Munilla2016-02-161-3/+6
|
* a-o-i: Add master_routingconfig_subdomain to PERSIST_SETTINGSSamuel Munilla2016-02-151-0/+1
| | | | Fix for BZ1308313
* atomic-openshift-installer: Populate new_nodes groupSamuel Munilla2016-01-081-1/+3
| | | | Set the new_nodes group when scaling up additional nodes
* Bug 1287977 - Incorrect check output from atomic-openshift-installer when ↵Brenton Leanhardt2015-12-081-2/+8
| | | | working with preconfigured load balancer
* Centralize etcd/schedulability logic for each host.Devan Goodwin2015-12-011-0/+26
|
* Block re-use of master/node as load balancer in attended install.Devan Goodwin2015-11-261-2/+2
| | | | | | | | | | | | 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.
* Handling preconfigured load balancersBrenton Leanhardt2015-11-231-2/+2
| | | | | | | | | | | | | | | | | | | | 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-3/+3
| | | | | Rename ha_proxy variables and methods to 'master_lb' to better future-proof things.
* atomic-openshift-installer: HA for quick installerSamuel Munilla2015-11-231-2/+7
| | | | This adds the ability to quickly set up a multi-master environment.
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-101-3/+5
| | | | | | | | | | | | | - 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.
* Various fixes related to connect_toBrenton Leanhardt2015-11-091-0/+1
| | | | | 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: Better specification of ansible connection pointSamuel Munilla2015-11-061-13/+9
| | | | | Changes to installer.cfg.yaml to allow for better defaults in unattended mode. Update example in the docs.
* Add a simple version for the installer config file.Devan Goodwin2015-11-031-0/+3
|
* Automatically upgrade legacy config files.Devan Goodwin2015-11-021-10/+31
|
* Pylint fixes and ignores for incoming oo-install code.Devan Goodwin2015-10-271-1/+6
|
* Add atomic-openshift-utilsTroy Dawson2015-10-261-0/+190
add atomic-openshift-utils to openshift-ansible.spec file no need for redundent spec file remove dependencies that are not needed