summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add pre-upgrade script to be run on first master.Devan Goodwin2015-11-062-0/+192
| | | | | | | | | | Script currently just checks for port names that are no longer valid. In theory other checks may be added to this script in the future. Script was originally written by Steve Milner and Andy Goldstein. If the script fails, ansible seems to handle this nicely by default, exiting the upgrade and displaying stderr and stdout, both of which contain useful info on what the problem was.
* add master_hostnames definition for upgradeJason DeTiberus2015-11-051-0/+4
|
* Additional upgrade enhancementsJason DeTiberus2015-11-053-72/+101
| | | | | | | | - rework the version checking - provide better safety if the apiLevel attributes are missing - ensure a list of api levels are present - remove a list of api levels - pylint fixes
* Handle backups for separate etcd hosts if necessary.Devan Goodwin2015-11-051-9/+27
|
* Further upgrade improvementsJason DeTiberus2015-11-051-46/+168
| | | | | - Restart masters post reconcile - generate missing master certs and sync to masters
* Upgrade improvementsDevan Goodwin2015-11-054-101/+93
| | | | | | | | | | - 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.
* Merge pull request #608 from abutcher/native-haBrenton Leanhardt2015-11-0529-53/+559
|\ | | | | Native Support for Multi-Master HA
| * Revert to defaultsAndrew Butcher2015-11-052-4/+3
| |
| * Various HA changes for pacemaker and native methods.Andrew Butcher2015-11-0521-102/+196
| |
| * Atomic Enterprise/OpenShift Enterprise merge updateJason DeTiberus2015-11-042-2/+2
| |
| * fix dueling controllers - without controllerLeaseTTL set in config, multiple ↵Jason DeTiberus2015-11-044-1/+8
| | | | | | | | controllers will attempt to start
| * default to source persistence for haproxyJason DeTiberus2015-11-041-1/+1
| |
| * hardcode openshift binaries for nowJason DeTiberus2015-11-043-5/+13
| |
| * more tweaksJason DeTiberus2015-11-042-3/+6
| |
| * more tweaksJason DeTiberus2015-11-0411-56/+94
| |
| * additional ha related updatesJason DeTiberus2015-11-048-14/+182
| |
| * additional native ha changesAndrew Butcher2015-11-043-7/+7
| |
| * Start of true master haJason DeTiberus2015-11-049-4/+183
| |
| * Atomic Enterprise related changes.Avesh Agarwal2015-11-046-6/+16
| |
* | Merge pull request #815 from detiber/fixMTUBrenton Leanhardt2015-11-052-5/+16
|\ \ | | | | | | Bug 1277592 - SDN MTU has hardcoded default
| * | Bug 1277592 - SDN MTU has hardcoded defaultJason DeTiberus2015-11-042-5/+16
| | | | | | | | | | | | | | | | | | - Attempt to detect the MTU of the interface associated with the node IP and set the default for sdn_mtu accordingly. The value can still be overriden by users and if detection fails the previous default of 1450 is still used.
* | | Merge pull request #820 from brenton/uninstallBrenton Leanhardt2015-11-051-2/+6
|\ \ \ | | | | | | | | The uninstall playbook needs to remove /run/openshift-sdn
| * | | The uninstall playbook needs to remove /run/openshift-sdnBrenton Leanhardt2015-11-051-2/+6
| | | | | | | | | | | | | | | | | | | | If this isn't removed lbr0 won't be recreated by the Node after the following install.
* | | | Merge pull request #819 from brenton/BZ1274201Brenton Leanhardt2015-11-052-43/+71
|\ \ \ \ | |/ / / |/| | | Bug 1274201 - Fixing sudo non-interactive test
| * | | Bug 1278243 - Confusing prompt from atomic-openshift-installerBrenton Leanhardt2015-11-051-1/+2
| | | |
| * | | Bug 1278244 - Previously there was no way to add a node in unattended modeBrenton Leanhardt2015-11-051-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TODO: We desparately need tests cases for: - interactive with no config file - interactive with config file and all installed hosts - interactive with config file and no installed hosts - interactive with config file and some installed some uninstalled hosts - unattended with config file and all installed hosts (with and without --force) - unattended with config file and no installed hosts (with and without --force) - unattended with config file and some installed some uninstalled hosts (with and without --force)
| * | | Bug 1278244 - Incorrect node information gathered by atomic-openshift-installerBrenton Leanhardt2015-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | Previously the output was a little confusing. We didn't display anything about the uninstalled hosts.
| * | | atomic-openshift-installer's unattended mode wasn't work with --force for ↵Brenton Leanhardt2015-11-051-1/+4
| | | | | | | | | | | | | | | | all cases
| * | | Making it easier to use pre-release contentBrenton Leanhardt2015-11-051-10/+11
| | | |
| * | | Bug 1274201 - Fixing non-root installations if using a local connectionBrenton Leanhardt2015-11-051-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were writing out a inventory like this: ~~~ [OSEv3:children] masters nodes [OSEv3:vars] ansible_ssh_user=root deployment_type=openshift-enterprise ansible_connection=local [masters] ose3-master.example.com openshift_hostname=ose3-master.example.com [nodes] ose3-master.example.com openshift_hostname=ose3-master.example.com ose3-node1.example.com openshift_hostname=ose3-node1.example.com ose3-node2.example.com openshift_hostname=ose3-node2.example.com ~~~ The problem with that is now all the hosts are consider local connections. In addition our sudo check wasn't working as expected. We would check that we have sudo, but the playbooks were not running with root privileges. When gathering facts you'd hit: ~~~ __main__.OpenShiftFactsFileWriteError: Could not create fact file: /etc/ansible/facts.d/openshift.fact, error: [Errno 13] Permission denied: '/etc/ansible/facts.d/openshift.fact' ~~~ Instead the test for locale connections needs to be per host. Anytime we're not running as root we need `ansible_become` set: ~~~ ose3-master.example.com openshift_hostname=ose3-master.example.com ansible_connection=local ansible_become=true ~~~
| * | | Bug 1274201 - Fixing sudo non-interactive testBrenton Leanhardt2015-11-051-1/+1
|/ / / | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1274201#c13
* | | Merge pull request #817 from abutcher/uninstall-pacemakerBrenton Leanhardt2015-11-051-0/+6
|\ \ \ | |_|/ |/| | Add pacemaker configuration to uninstall
| * | Remove pacemaker bits.Andrew Butcher2015-11-041-0/+6
|/ /
* | Merge pull request #792 from dgoodwin/upgradeBrenton Leanhardt2015-11-049-35/+383
|\ \ | | | | | | Upgrade Improvements
| * | Override hosts deployment_type fact for version we're upgrading to.Devan Goodwin2015-11-041-0/+10
| | |
| * | Pylint fixes for config upgrade module.Devan Goodwin2015-11-041-10/+13
| | |
| * | Disable proxy cert config upgrade until certs being generated.Devan Goodwin2015-11-041-5/+6
| | |
| * | Merge remote-tracking branch 'upstream/master' into upgradeDevan Goodwin2015-11-0433-310/+582
| |\ \ | |/ / |/| |
* | | Merge pull request #812 from talset/masterBrenton Leanhardt2015-11-041-3/+0
|\ \ \ | | | | | | | | [openshift_master_certificates] Fix variable master.all_hostnames
| * | | remove debug linetalset2015-11-041-3/+0
| | | |
| * | | [roles/openshift_master_certificates/tasks/main.yml] Fix variable ↵talset2015-11-041-1/+1
|/ / / | | | | | | | | | openshift.master.all_hostnames to openshift.common.all_hostnames
* | | Merge pull request #807 from detiber/fixRPMDepsBrenton Leanhardt2015-11-041-0/+5
|\ \ \ | | | | | | | | Fix subpackage dependencies
| * | | Fix subpackage dependenciesJason DeTiberus2015-11-041-0/+5
| | |/ | |/|
* | | Merge pull request #761 from smunilla/scaleupBrenton Leanhardt2015-11-049-75/+83
|\ \ \ | | | | | | | | openshift-cluster: Scaleup
| * | | Refactor common group evaluation to avoid duplicationJason DeTiberus2015-11-049-139/+77
| | | |
| * | | common/openshift-cluster: Scaleup playbookSamuel Munilla2015-11-041-0/+70
| | | | | | | | | | | | | | | | New playbook to add nodes to a cluster without altering the masters
* | | | Merge pull request #809 from kwoodson/invenupdateKenny Woodson2015-11-041-1/+5
|\ \ \ \ | | | | | | | | | | Adding aws and gce to ansibe-inventory.
| * | | | Adding aws and gce packages to ansible-inventoryKenny Woodson2015-11-041-1/+5
| | | | |