summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2663 from dgoodwin/34-upgradeScott Dodson2016-10-255-0/+313
|\ | | | | Add support for 3.4 upgrade.
| * Add support for 3.4 upgrade.Devan Goodwin2016-10-255-0/+313
| | | | | | | | | | This is a direct copy of 3.3 upgrade playbooks, with 3.3 specific hooks removed and version numbers adjusted appropriately.
* | Merge pull request #2637 from dgoodwin/ctrl-plane-restartScott Dodson2016-10-252-3/+3
|\ \ | |/ |/| Fix and reorder control plane service restart.
| * Fix and reorder control plane service restart.Devan Goodwin2016-10-212-3/+3
| | | | | | | | | | | | | | | | | | This was missed in the standalone upgrade control plane playbook. However it also looks to be out of order, we should restart before reconciling and upgrading nodes. As such moved the restart directly into the control plane upgrade common code, and placed it before reconciliation.
* | Merge pull request #2621 from dgoodwin/symlink-fixScott Dodson2016-10-191-3/+3
|\ \ | | | | | | Switch from "oadm" to "oc adm" and fix bug in binary sync.
| * | Switch from "oadm" to "oc adm" and fix bug in binary sync.Devan Goodwin2016-10-191-3/+3
| |/ | | | | | | | | | | | | | | Found bug syncing binaries to containerized hosts where if a symlink was pre-existing, but pointing to the wrong destination, it would not be corrected. Switched to using oc adm instead of oadm.
* / Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-146-6/+6
|/
* Fix standalone docker upgrade playbook skipping nodes.Devan Goodwin2016-10-131-0/+2
| | | | | Transition to being able to specify nodes to upgrade caused standalone nodes to get skipped in this playbook.
* Merge pull request #2441 from dgoodwin/34-upgrade-improvementsAndrew Butcher2016-10-045-57/+294
|\ | | | | 3.4 Upgrade Improvements
| * Use pre_upgrade tag instread of a dry run variable.Devan Goodwin2016-09-293-19/+70
| |
| * Move etcd backup from pre-upgrade to upgrade itself.Devan Goodwin2016-09-292-4/+0
| |
| * Skip the docker role in early upgrade stages.Devan Goodwin2016-09-293-12/+18
| | | | | | | | | | | | | | | | This improves the situation further and prevents configuration changes from accidentally triggering docker restarts, before we've evacuated nodes. Now in two places, we skip the role entirely, instead of previous implementation which only skipped upgrading the installed version. (which did not catch config issues)
| * Allow filtering nodes to upgrade by label.Devan Goodwin2016-09-294-16/+16
| |
| * Split upgrade for control plane/nodes.Devan Goodwin2016-09-294-22/+84
| |
| * Verify masters are upgraded before proceeding with node only upgrade.Devan Goodwin2016-09-282-2/+8
| |
| * Attempt to tease apart pre upgrade for masters/nodes.Devan Goodwin2016-09-283-2/+147
| |
| * Split upgrade entry points into control plane/node.Devan Goodwin2016-09-283-48/+19
| |
* | Update play names for consistency.Andrew Butcher2016-09-291-2/+4
|/
* Fix OpenStack cloud providerLénaïc Huard2016-09-261-3/+3
|
* Remove atomic check and cockpit.socketSamuel Munilla2016-08-261-1/+1
|
* Add support for Atomic Registry InstallsSamuel Munilla2016-08-261-0/+1
| | | | Add the Registry deployment subtype as an option in the quick installer.
* [tags] add some support for running a subset of config via tagsJason DeTiberus2016-08-241-0/+4
|
* Fix standalone Docker upgrade missing symlink.Devan Goodwin2016-08-191-0/+1
|
* Support for redeploying certificates.Andrew Butcher2016-08-112-1/+25
|
* Merge pull request #2211 from dgoodwin/33-upgrade-playbookScott Dodson2016-08-084-5/+100
|\ | | | | 1.3 / 3.3 Upgrades
| * Upgrade configs for protobuf support.Devan Goodwin2016-08-081-0/+2
| |
| * Introduce 1.3/3.3 upgrade path.Devan Goodwin2016-07-254-5/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 3.2 upgrade common files out to a path that does not indicate they are strictly for 3.2. 3.3 upgrade then becomes a relatively small copy of the byo entry point, all calling the same code as 3.2 upgrade. Thus far there are no known 3.3 specific upgrade tasks. In future we will likely want to allow hooks out to version specific pre/upgrade/post tasks. Also fixes a bug where the handlers were not restarting nodes/openvswitch containers doing upgrades, due to a change in Ansible 2+.
* | Convert ansible facts callback to v2.Andrew Butcher2016-08-081-1/+1
|/
* Correct relative include for ansible version check.Andrew Butcher2016-07-211-1/+1
|
* Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher2016-07-203-0/+6
|
* Resolve some deprecation warnings.Andrew Butcher2016-07-181-1/+1
|
* Remove 3.0 and 3.1 upgrade sub-dirs.Devan Goodwin2016-07-123-54/+0
|
* Rename upgrade to just v3_2 as it's now major and minor.Devan Goodwin2016-07-122-0/+0
|
* Fixes for Ansible 2.1.Devan Goodwin2016-07-041-4/+0
|
* Update repoquery_cmd definitions to match latest in master.Devan Goodwin2016-07-041-1/+1
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-281-2/+1
|\
| * Block Docker 1.10 upgrade playbook when run against an Atomic OS.Devan Goodwin2016-06-171-4/+5
| |
* | More docker upgrade fixes.Devan Goodwin2016-06-271-5/+7
| |
* | Refactor 3.2 upgrade to avoid killing nodes without evac.Devan Goodwin2016-06-232-108/+3
| | | | | | | | | | We now handle the two pieces of upgrade that require a node evac in the same play. (docker, and node itself)
* | Update docker upgrade playbook to be more flexible.Devan Goodwin2016-06-231-18/+41
| | | | | | | | | | | | | | | | | | | | Now more of a generic upgrade playbook to go to the latest Docker version. Added support for docker_version inventory variable, in which case we disable the check for >= 1.10 and make sure you're running at least the specified version. (we will not downgrade you to the requested version however, this is much too complicated)
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-231-2/+2
|\|
| * Fix docker 1.10 upgrade on embedded etcd masters.Devan Goodwin2016-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | The tasks were attempting to stop/start etcd, which would be fine on the stop but on start could actually kick the non-containerized etcd service which happens to be layed down even though it's unused. When the service was requested to start again it would claim the port embedded etcd needs and the master would then fail to come up. Instead use the correct etcd_container service.
* | Remove old upgrade playbooks.Devan Goodwin2016-06-153-88/+0
|/
* Restore mistakenly reverted code.Devan Goodwin2016-06-091-0/+4
|
* Docker 1.10 UpgradeDevan Goodwin2016-06-035-4/+158
| | | | | | | | | | | | | | | | | Adds a separate playbook for Docker 1.10 upgrade that can be run standalone on a pre-existing 3.2 cluster. The upgrade will take each node out of rotation, and remove *all* containers and images on it, as this is reportedly faster and more storage efficient than performing the in place 1.10 upgrade. This process is integrated into the 3.1 to 3.2 upgrade process. Normal config playbooks now become 3.2 only, and require Docker 1.10. Users of older environments will have to use an appropriate openshift-ansible version. Config playbooks no longer are in the business of upgrading or downgrading docker.
* Run rhel_subscribe on l_oo_all_hosts rather than allScott Dodson2016-06-021-1/+1
|
* Fix for ansible v2Scott Dodson2016-05-171-3/+17
|
* Fix rhel_subscribeScott Dodson2016-05-171-0/+4
|
* remove interpolated g_all_hosts with_items arg from upgrade playbooksCody Boggs2016-05-173-3/+3
|
* Block upgrading w/ ansible v2.Andrew Butcher2016-05-124-0/+16
|