summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #892 from abutcher/bz1280230Brenton Leanhardt2015-11-131-0/+10
|\ | | | | Update master facts prior to upgrading from 3.0 to 3.1
| * Update master facts prior to upgrading incase facts are missing.Andrew Butcher2015-11-131-0/+10
| |
* | pre-upgrade-check: differentiates between port and targetPort in outputSteve Milner2015-11-131-7/+9
|/
* Fix update error for templates that didn't previously existJason DeTiberus2015-11-111-1/+8
|
* General cleanup of v3_0_to_v3_1/upgrade.ymlJason DeTiberus2015-11-111-210/+225
| | | | | | | | | - Reorder to push all non-changing checks first - Remove multiple plays where possible - Make formatting more consistent - Add additional comments to break up the different stages of the upgrade. - Use group names more consistently - Add package version checking to nodes
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-1026-44/+212
| | | | | | | | | | | | | - 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.
* Add origin-clients to uninstall playbook.Andrew Butcher2015-11-101-1/+2
|
* Add separate step to enable services during upgrade.Devan Goodwin2015-11-101-3/+19
| | | | | Instead of combining this with tasks to restart services, add a separate started+enabled play for masters and nodes at the end of the playbook.
* 1279734: Ensure services are enabled after upgrade.Devan Goodwin2015-11-101-4/+4
| | | | | | With the openshift to atomic-openshift renames, some services were not enabled after upgrade. Added enabled directives to all service restart lines in the upgrade playbook.
* Merge pull request #848 from dgoodwin/drop-302-reqBrenton Leanhardt2015-11-091-4/+1
|\ | | | | Remove upgrade playbook restriction on 3.0.2.
| * Remove upgrade playbook restriction on 3.0.2.Devan Goodwin2015-11-091-4/+1
| | | | | | | | | | This is blocking 3.0.1 upgrades to 3.1 incorrectly, which is a scenario we should support.
* | Merge pull request #850 from dgoodwin/etcd-dirBrenton Leanhardt2015-11-091-1/+1
|\ \ | | | | | | Read etcd data dir from appropriate config file.
| * | Read etcd data dir from appropriate config file.Devan Goodwin2015-11-091-1/+1
| |/ | | | | | | | | | | | | | | | | Rather than assuming the etcd data dir, we now read if from master-config.yaml if using embedded etcd, otherwise from etcd.conf. Doing so now required use of PyYAML to parse config file when gathering facts. Fixed discrepancy with data_dir fact and openshift-enterprise deployment_type.
* / Conditionals for flannel etcd client certs.Andrew Butcher2015-11-081-3/+8
|/
* Merge pull request #698 from lebauce/flannelBrenton Leanhardt2015-11-062-0/+81
|\ | | | | Add support for flannel
| * Check etcd certs exist for flannel when its support is enabledSylvain Baubeau2015-10-271-1/+1
| |
| * Generate etcd certificats for flannel when is not embeddedSylvain Baubeau2015-10-271-0/+70
| |
| * Add flannel supportSylvain Baubeau2015-10-272-0/+11
| | | | | | | | Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
* | Merge pull request #838 from detiber/upgradeFix2Brenton Leanhardt2015-11-061-1/+1
|\ \ | | | | | | Fix indentation on when
| * | Fix indentation on whenJason DeTiberus2015-11-061-1/+1
| | |
* | | Merge pull request #822 from detiber/upgradeFix2Brenton Leanhardt2015-11-064-124/+538
|\| | | | | | | | Upgrade enhancements
| * | Merge remote-tracking branch 'dgoodwin/pre-upgrade' into upgradeFix2Jason DeTiberus2015-11-062-7/+12
| |\ \
| | * | Minor upgrade improvements.Devan Goodwin2015-11-062-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Skip some 3.1 checks if doing a 3.0.x to 3.0.2 upgrade. Improve error message when oc whoami fails (i.e. openshift is down) during pre-upgrade checks, rather than assuming the binary doesn't exist.
| * | | Wait for cluster to recover after pcs resource restart.Andrew Butcher2015-11-061-0/+8
| |/ /
| * | remove debug statementJason DeTiberus2015-11-061-2/+0
| | |
| * | Fix removal of kubernetesMasterConfig.apiLevelsJason DeTiberus2015-11-061-1/+1
| | |
| * | Fix issues related to upgrade packages being unavailableJason DeTiberus2015-11-062-6/+16
| | |
| * | Merge pull request #51 from dgoodwin/pre-upgradeJason DeTiberus2015-11-061-1/+4
| |\ \ | | | | | | | | Pre upgrade
| | * | Fix creation of origin symlink when dir already exists.Devan Goodwin2015-11-061-1/+4
| | | |
| * | | Merge remote-tracking branch 'origin/upgradeFix2' into upgradeFix2Jason DeTiberus2015-11-062-3/+243
| |\ \ \
| | * | | Merge pull request #50 from dgoodwin/pre-upgradeJason DeTiberus2015-11-062-0/+192
| | |\| | | | | | | | | | | | Run pre-upgrade script on nodes
| | | * | 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.
| | * | | Start to handle pacemaker ha during upgradeAndrew Butcher2015-11-061-3/+51
| | |/ /
| * / / Fix apiLevels modificationsJason DeTiberus2015-11-061-7/+3
| |/ /
| * | 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-052-75/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | Bug 1278245 - Failed to add node to existing env using ↵Brenton Leanhardt2015-11-061-0/+9
| | | | | | | | | | | | atomic-openshift-installer
* | | Fix lb group related errorsJason DeTiberus2015-11-055-3/+11
|/ /
* | Merge pull request #608 from abutcher/native-haBrenton Leanhardt2015-11-055-5/+96
|\ \ | | | | | | Native Support for Multi-Master HA
| * | Various HA changes for pacemaker and native methods.Andrew Butcher2015-11-054-15/+59
| | |
| * | default to source persistence for haproxyJason DeTiberus2015-11-041-1/+1
| | |
| * | more tweaksJason DeTiberus2015-11-041-0/+1
| | |
| * | more tweaksJason DeTiberus2015-11-041-35/+9
| | |
| * | additional ha related updatesJason DeTiberus2015-11-043-6/+52
| | |
| * | additional native ha changesAndrew Butcher2015-11-041-5/+5
| | |
| * | Start of true master haJason DeTiberus2015-11-041-0/+26
| | |
* | | 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.