| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Found using `vulture`, confirmed that code that was once used became
unused in later commits after its introduction.
|
|
|
|
| |
versions
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
In order to simplify the quick installer logic, this moves
the scaleup workflow into its own subcommand.
Fixes: Bug 1339621
|
|
|
|
|
| |
Allow the user to set arbitrary variables directly under the host item instead of
in under an 'other_variables' item.
|
| |
|
| |
|
|\
| |
| | |
Fix PyLint errors discovered when upgrading to newer version
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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 the Registry deployment subtype as an option in the quick installer.
|
| |
|
|\
| |
| | |
BZ1368296 - quick install with the installer.cfg.yml in other directory failed
|
| | |
|
| |
| |
| |
| |
| | |
* Add python logging
* Add testing system via 'make ci'
|
|/
|
|
| |
Update to also move over variant and variant_version during v1 migration
|
|
|
|
|
| |
Remove the automatic upgrade of the 3.0 configuration file format and add some better error
messaging that points the user at the docs.
|
|
|
|
|
|
|
| |
previously valid answers file
Update the quick installer to automatically convert from the old config file format to
the new format.
|
|
|
|
|
| |
This allows for arbitrary ansible variables to be set under the 'deployment' header of the
installer config file.
|
|
|
|
|
| |
This allows the user to set a block containing any variables they want to set per-host
instead of per-role.
|
|
|
|
| |
Previously, we we're saving the roles variables set during a run.
|
|
|
|
| |
Initial build of new, more flexible installer config file format.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fix the nosetests after the rebase
|
| |
|
| |
|
|
|
|
| |
Fix for BZ1308313
|
|
|
|
| |
Set the new_nodes group when scaling up additional nodes
|
|
|
|
| |
working with preconfigured load balancer
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Rename ha_proxy variables and methods to 'master_lb' to better
future-proof things.
|
|
|
|
| |
This adds the ability to quickly set up a multi-master environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Changes to installer.cfg.yaml to allow for better defaults in unattended mode.
Update example in the docs.
|
| |
|
| |
|
| |
|
|
add atomic-openshift-utils to openshift-ansible.spec file
no need for redundent spec file
remove dependencies that are not needed
|