Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop restarting node after upgrading master rpms. | Devan Goodwin | 2016-10-12 | 1 | -3/+0 |
| | | | | | | | | | | This looks to be causing a customer issue where some HA upgrades fail, due to a missing EgressNetworkPolicy API. We update master rpms, we don't restart services yet, but then restart node service which tries to talk to an API that does not yet exist. (pending restart) Restarting node here is very out of place and appears to not be required. | ||||
* | Fix bug with service signer cert on upgrade. | Devan Goodwin | 2016-09-29 | 2 | -1/+7 |
| | | | | | | It is invalid Ansible to use a when on an include that contains plays, as it cannot be applied to plays. Issue filed upstream for a better error, or to get it working. | ||||
* | Use pre_upgrade tag instread of a dry run variable. | Devan Goodwin | 2016-09-29 | 1 | -1/+1 |
| | |||||
* | Move etcd backup from pre-upgrade to upgrade itself. | Devan Goodwin | 2016-09-29 | 2 | -87/+86 |
| | |||||
* | Allow a couple retries when unscheduling/rescheduling nodes in upgrade. | Devan Goodwin | 2016-09-29 | 1 | -0/+12 |
| | | | | | | | | This can fail with a transient "object has been modified" error asking you to re-try your changes on the latest version of the object. Allow up to three retries to see if we can get the change to take effect. | ||||
* | Skip the docker role in early upgrade stages. | Devan Goodwin | 2016-09-29 | 2 | -5/+6 |
| | | | | | | | | 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 Goodwin | 2016-09-29 | 7 | -13/+55 |
| | |||||
* | Allow customizing node upgrade serial value. | Devan Goodwin | 2016-09-29 | 1 | -1/+3 |
| | |||||
* | Split upgrade for control plane/nodes. | Devan Goodwin | 2016-09-29 | 9 | -103/+87 |
| | |||||
* | Verify masters are upgraded before proceeding with node only upgrade. | Devan Goodwin | 2016-09-28 | 1 | -3/+0 |
| | |||||
* | Attempt to tease apart pre upgrade for masters/nodes. | Devan Goodwin | 2016-09-28 | 8 | -305/+251 |
| | |||||
* | Split upgrade entry points into control plane/node. | Devan Goodwin | 2016-09-28 | 2 | -1/+49 |
| | |||||
* | Reunite upgrade reconciliation gating with the play it gates on. | Devan Goodwin | 2016-09-28 | 1 | -17/+18 |
| | |||||
* | Drop atomic-enterprise as a valid deployment type in upgrade. | Devan Goodwin | 2016-09-28 | 1 | -2/+2 |
| | |||||
* | Stop guarding against pacemaker in upgrade, no longer necessary. | Devan Goodwin | 2016-09-28 | 1 | -8/+0 |
| | |||||
* | Support openshift_upgrade_dry_run=true for pre-upgrade checks only. | Devan Goodwin | 2016-09-28 | 1 | -0/+7 |
| | |||||
* | Fix OpenStack cloud provider | Lénaïc Huard | 2016-09-26 | 1 | -4/+4 |
| | |||||
* | Merge pull request #2295 from dgoodwin/override-docker-upgrade | Scott Dodson | 2016-09-15 | 1 | -1/+1 |
|\ | | | | | Allow overriding the Docker 1.10 requirement for upgrade. | ||||
| * | Allow overriding the Docker 1.10 requirement for upgrade. | Devan Goodwin | 2016-08-15 | 1 | -1/+1 |
| | | | | | | | | Respect an explicit docker_version, and the use of docker_upgrade=False. | ||||
* | | [upgrade] Create/configure service signer cert when missing. | Andrew Butcher | 2016-09-14 | 3 | -1/+102 |
| | | |||||
* | | Flush handlers before marking a node schedulable after upgrade. | Devan Goodwin | 2016-09-09 | 1 | -0/+2 |
| | | | | | | | | | | | | Handlers normally only trigger at the end of the play, but in this case we just set our node schedulable again resulting in it immediately getting taken down again. | ||||
* | | Record schedulability of node prior to upgrade and re-set it to that | Scott Dodson | 2016-09-02 | 1 | -1/+13 |
| | | | | | | | | | | | | | | Previously we were setting schedulability to the state defined in the inventory without regard to whether or not it was manually made schedulable or unschedulable. The right thing seems to be to record the state prior to upgrade and set it back. | ||||
* | | Fix ops/qps typo | Jordan Liggitt | 2016-09-02 | 2 | -3/+3 |
| | | |||||
* | | Reload docker facts after upgrading docker | Scott Dodson | 2016-08-30 | 1 | -0/+4 |
| | | |||||
* | | Fix upgrade failure when master-config does not have pluginOrderOverride. | Devan Goodwin | 2016-08-24 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #2339 from dgoodwin/plugin-order-warning | Scott Dodson | 2016-08-23 | 1 | -0/+13 |
|\ \ | | | | | | | Add warning at end of 3.3 upgrade if pluginOrderOverride is found. | ||||
| * | | Add warning at end of 3.3 upgrade if pluginOrderOverride is found. | Devan Goodwin | 2016-08-22 | 1 | -0/+13 |
| |/ | |||||
* | | Don't run node config upgrade hook if host is not a node. | Devan Goodwin | 2016-08-23 | 1 | -1/+1 |
| | | |||||
* | | Reconcile roles after master upgrade, but before nodes. | Devan Goodwin | 2016-08-16 | 1 | -43/+46 |
|/ | | | | | | | | | | Prevents the network egress bug causing node restart to fail during 3.3 upgrade. (even though a separate fix is incoming for this) Only catch is preventing the openshift_cli role, which requires docker, from triggering a potential upgrade, which we still don't want at this point. To avoid we use the same variable to protect docker installed version as we use in pre.yml. | ||||
* | Improvements for Docker 1.10+ upgrade image nuking. | Devan Goodwin | 2016-08-11 | 4 | -20/+55 |
| | | | | | | | | | | | | | | | | In a parallel step prior to real upgrade tasks, clear out all unused Docker images on all hosts. This should be relatively safe to interrupt as no real upgrade steps have taken place. Once into actual upgrade, we again clear all images only this time with force, and after stopping and removing all containers. Both rmi commands use a new and hopefully less error prone command to do the removal, this should avoid missed orphans as we were hitting before. Added some logging around the current image count before and after this step, most of them are only printed if we're crossing the 1.10 boundary but one does not, just for additional information in your ansible log. | ||||
* | Shutdown Docker before upgrading the rpm. | Devan Goodwin | 2016-08-10 | 1 | -0/+4 |
| | | | | | This avoids the automatic image migration in 1.10, which can take a very long time and potentially cause rpm db corruption. | ||||
* | Merge pull request #2211 from dgoodwin/33-upgrade-playbook | Scott Dodson | 2016-08-08 | 27 | -64/+124 |
|\ | | | | | 1.3 / 3.3 Upgrades | ||||
| * | Migrate ca.crt to ca-bundle.crt | Scott Dodson | 2016-08-08 | 1 | -0/+25 |
| | | |||||
| * | Upgrade configs for protobuf support. | Devan Goodwin | 2016-08-08 | 3 | -0/+66 |
| | | |||||
| * | Introduce 1.3/3.3 upgrade path. | Devan Goodwin | 2016-07-25 | 25 | -64/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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+. | ||||
* | | Add missing nuke_images.sh symlink. | Devan Goodwin | 2016-07-22 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #2168 from dgoodwin/container-cli-speed | Scott Dodson | 2016-07-21 | 1 | -0/+2 |
|\ | | | | | Copy openshift binary instead of using wrapper script. | ||||
| * | Stop reporting changes when docker pull is already up to date. | Devan Goodwin | 2016-07-20 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #2175 from dgoodwin/origin-12-rpm-upgrade | Scott Dodson | 2016-07-19 | 1 | -2/+6 |
|\ \ | | | | | | | Fix bugs with origin 1.2 rpm based upgrades. | ||||
| * | | Fix bugs with origin 1.2 rpm based upgrades. | Devan Goodwin | 2016-07-19 | 1 | -2/+6 |
| |/ | |||||
* / | Skip docker upgrades on Atomic. | Devan Goodwin | 2016-07-19 | 1 | -2/+2 |
|/ | |||||
* | Fix upgrades with an openshift_image_tag set. | Devan Goodwin | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | Remove/update TODOs. | Devan Goodwin | 2016-07-08 | 1 | -1/+2 |
| | |||||
* | Remove all debug used during devel of openshift_version. | Devan Goodwin | 2016-07-08 | 1 | -2/+0 |
| | |||||
* | Merge branch 'aoi-32-up' into upgrade33 | Devan Goodwin | 2016-07-08 | 1 | -1/+1 |
|\ | |||||
| * | Fix dnf variant of rpm_versions.sh | Scott Dodson | 2016-07-05 | 1 | -1/+1 |
| | | |||||
* | | Add symlinks for node templates. | Devan Goodwin | 2016-07-04 | 4 | -0/+4 |
| | | | | | | | | | | | | | | This is an unfortunate side effect of including a role yaml file in a playbook, ideally we would just run the full node role here. For now we'll follow the lead for the master template. | ||||
* | | Merge branch 'master' into upgrade33 | Devan Goodwin | 2016-07-04 | 2 | -11/+15 |
|\| | |||||
| * | Switch to repoquery, enable plugins for satellite support | Scott Dodson | 2016-06-29 | 1 | -3/+7 |
| | | |||||
* | | Fixes for non-containerized separate etcd hosts. | Devan Goodwin | 2016-06-28 | 2 | -5/+2 |
| | |