summaryrefslogtreecommitdiff
path: root/utils/src
AgeCommit message (Collapse)Author
2016-09-14a-o-i: Don't set unschedulable nodes as infraSamuel Munilla
Make sure we don't set an unschedulable node as infra as that can cause problems. Fixes: Bug 1375946
2016-09-08a-o-i: Do not display version number in quick installerSamuel Munilla
As we now require the version of the installer to match what will be installed in the target environment and to avoid any potential confusion, remove the version number from the variant choice question.
2016-09-01Only prompt for proxy vars if none are set and our version recognizes themTim Bielawa
2016-09-01Merge pull request #2367 from tbielawa/FixNewerPyLintErrorsAndrew Butcher
Fix PyLint errors discovered when upgrading to newer version
2016-08-31Bug 1371836 - The variant should be Registry 3.3Samuel Munilla
Bump Registry subvariant to the correct version.
2016-08-26Try using parse_version from pkg_resources insteadTim Bielawa
2016-08-26Fix PyLint errors discovered when upgrading to newer versionTim Bielawa
* 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%
2016-08-26Remove atomic check and cockpit.socketSamuel Munilla
2016-08-26Add support for Atomic Registry InstallsSamuel Munilla
Add the Registry deployment subtype as an option in the quick installer.
2016-08-26Apply indentation changes to some other linesTim Bielawa
Closes #2363
2016-08-25Fix PEP8 errors in cli_installer.pyTim Bielawa
2016-08-25Fix PEP8 in openshift_ansible.pyTim Bielawa
2016-08-25Fix PEP8 in oo_config.pyTim Bielawa
2016-08-25Fix PEP8 in variants.pyTim Bielawa
2016-08-25Fix PEP8 in facts_callback.pyTim Bielawa
2016-08-24Merge pull request #2341 from tbielawa/BZ1368296Scott Dodson
BZ1368296 - quick install with the installer.cfg.yml in other directory failed
2016-08-24Move nested print_read_config_error function into it's own functionTim Bielawa
2016-08-24Fix BZ1368296 by quietly recollecting facts if the cache is removedTim Bielawa
* Add python logging * Add testing system via 'make ci'
2016-08-24a-o-i: Add variant and variant_version to migrationSamuel Munilla
Update to also move over variant and variant_version during v1 migration
2016-08-23Merge pull request #2334 from smunilla/BZ1358951Scott Dodson
Bug 1358951 - Error loading config, no such key: 'deployment' when using ing previously valid answers file
2016-08-23a-o-i: Fix ansible_ssh_user questionSamuel Munilla
Since we moved 'ansible_ssh_user' under 'deployment', we need to update the criteria for when to ask the user to reenter that information.
2016-08-19a-o-i: Remove Legacy Config UpgradeSamuel Munilla
Remove the automatic upgrade of the 3.0 configuration file format and add some better error messaging that points the user at the docs.
2016-08-19Bug 1358951 - Error loading config, no such key: 'deployment' when using ↵Samuel Munilla
previously valid answers file Update the quick installer to automatically convert from the old config file format to the new format.
2016-08-17Merge pull request #2303 from tpoitras/typos-cli_installer.pyScott Dodson
Edits to fix to typos, grammar, and product branding in cli_installer
2016-08-17Fixes to typos, grammar, and product branding in cli_installerTimothy Poitras
2016-08-16a-o-i: Fix nosetests after removing 3.2 from installerSamuel Munilla
Update the tests to match 3.3 being the only version. Add support for non-latest if it's specified in the config file.
2016-08-16Bug 1367323 - the "OpenShift Container Platform 3.2" variant is still listed ↵Samuel Munilla
when quick install ose-3.3 Remove 3.2 from the install options in 3.3 installer.
2016-08-15Merge pull request #2297 from abutcher/bz#1329455Scott Dodson
a-o-i: Bug1329455, [quick-install] Cannot add new nodes in pre-existing env
2016-08-15a-o-i: Mapping for 3.2 UpgradesSamuel Munilla
Update the playbook mappings for 3.2
2016-08-15Merge pull request #2201 from richm/v1.3Scott Dodson
add 3.3 to installer
2016-08-15a-o-i: fix bz#1329455Gan Huang
2016-08-12a-o-i: Fix broken upgradesSamuel Munilla
Upgrade was looking for the hosts in the old location. Quick fix to get it looking in the correct location. Fixes BZ#1357627.
2016-08-11a-o-i: Automatically Label Nodes as InfraSamuel Munilla
In interactive mode, automatically label nodes as infrastructure nodes. Two cases are covered: 1) If all nodes are masters, all hosts are labeled infra 2) If dedicated nodes are defined, the first two (or one) nodes are labeled as infra
2016-08-10a-o-i: Restrict installed host checkSamuel Munilla
Restrict installed host check to only masters and nodes.
2016-08-09Merge pull request #2278 from smunilla/BZ1353162Scott Dodson
a-o-i: Move ansible_ssh_user to deployment
2016-08-09move ansible_ssh_user to deployment, remove ansible_config and ansible_log_pathGan Huang
2016-08-09Labeling nodes onlyGan Huang
2016-08-08Convert ansible facts callback to v2.Andrew Butcher
2016-08-04a-o-i: Rename OSE in Install MenuSamuel Munilla
Rename 'OpenShift Enterprise' to 'OpenShift Container Platform' in the quick installer menu.
2016-08-03a-o-i: Allow Arbitrary Deployment VariablesSamuel Munilla
This allows for arbitrary ansible variables to be set under the 'deployment' header of the installer config file.
2016-08-02a-o-i: Fix broken uninstallSamuel Munilla
The uninstall method was looking for the host list according to the old quick-installer config file format. Updated to match the new arbitrary yaml config format. Fixes BZ#1359427
2016-07-31add 3.3 to installerRich Megginson
2016-07-30a-o-i: Remove AEP, OSE 3.0, and OSE 3.2 choicesSamuel Munilla
Remove the option to select unsupported versions in the quick installer. Fixes BZ#1358101
2016-07-29a-o-i: Better inventory group handlingSamuel Munilla
A more dynamic and flexible method of writing out host groups to the ansible inventory file. To accompany this, in the quick-installer interactive mode the etcd role is automatically applied to any masters. Anyone hand writing the quick installer config will now have to explicitly specify which hosts will be etcd. Fixes #2200
2016-07-28a-o-i: Set roles on standalone storageSamuel Munilla
Sets the roles appropriately when using a standalone storage host. Fixes BZ#1353152
2016-07-27Disable too many branches pylintScott Dodson
2016-07-27a-o-i: write missing openshift_node_labelsdkorn
2016-07-27Merge pull request #2228 from smunilla/arbitrary_host_varsScott Dodson
a-o-i: Support for arbitrary host-level variables
2016-07-27a-o-i: Support for arbitrary host-level variablesSamuel Munilla
This allows the user to set a block containing any variables they want to set per-host instead of per-role.
2016-07-27a-o-i: Move inventory vars to the correct locationSamuel Munilla
Several variables such as 'deployment_type' and 'ansible_config' were being set under a variable group for the last defined role instead of under OSEv3:vars.