Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Merge branch 'master' into upgrade33 | Devan Goodwin | 2016-06-28 | 1 | -1/+4 |
|\| | |||||
| * | Don't upgrade docker on non-containerized etcd. | Andrew Butcher | 2016-06-24 | 2 | -1/+13 |
| | | |||||
| * | Access embedded_etcd variable from oo_first_master hostvars. | Andrew Butcher | 2016-06-24 | 1 | -1/+1 |
| | | |||||
* | | More docker upgrade fixes. | Devan Goodwin | 2016-06-27 | 3 | -22/+17 |
| | | |||||
* | | Only nuke images when crossing the Docker 1.10 boundary in upgrade. | Devan Goodwin | 2016-06-27 | 4 | -24/+26 |
| | | |||||
* | | Fix node/openvswitch containers not restarting after upgrade. | Devan Goodwin | 2016-06-24 | 1 | -1/+1 |
| | | |||||
* | | Allow skipping Docker upgrade during OpenShift upgrade. | Devan Goodwin | 2016-06-24 | 2 | -0/+16 |
| | | |||||
* | | Refactor 3.2 upgrade to avoid killing nodes without evac. | Devan Goodwin | 2016-06-23 | 8 | -74/+150 |
| | | | | | | | | | | 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 Goodwin | 2016-06-23 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | 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 upgrade33 | Devan Goodwin | 2016-06-23 | 2 | -0/+13 |
|\| | |||||
| * | If registry_url != registry.access.redhat.com then modify image streams | Scott Dodson | 2016-06-17 | 4 | -0/+4 |
| | | |||||
| * | Merge pull request #2041 from dgoodwin/no-proxy-hostnames | Scott Dodson | 2016-06-14 | 1 | -0/+12 |
| |\ | | | | | | | Fix no proxy hostnames during upgrade. | ||||
| | * | Fix no proxy hostnames during upgrade. | Devan Goodwin | 2016-06-14 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This value not being set was causing missing hostnames in the sysconfig files with NO_PROXY. This is not the same way we set it during config playbooks, they use vars definitions but this is too difficult in upgrade as there are too many roles that might need it set. | ||||
* | | | Use common fact initialization include in upgrade. | Devan Goodwin | 2016-06-21 | 1 | -2/+4 |
| | | | |||||
* | | | Fix use of v3.2 format for openshift_release in upgrade. | Devan Goodwin | 2016-06-21 | 1 | -0/+4 |
| | | | |||||
* | | | Remove more legacy upgrade playbooks. | Devan Goodwin | 2016-06-21 | 14 | -157/+0 |
| | | | |||||
* | | | Upgrade fixes. | Devan Goodwin | 2016-06-17 | 2 | -26/+5 |
| | | | |||||
* | | | Cleanup, fix 3.1 version bug in facts. | Devan Goodwin | 2016-06-16 | 2 | -4/+3 |
| | | | |||||
* | | | Remove old upgrade playbooks. | Devan Goodwin | 2016-06-15 | 3 | -898/+0 |
| | | | |||||
* | | | Always populate openshift_image_tag and openshift_pkg_version. | Devan Goodwin | 2016-06-15 | 2 | -23/+1 |
| | | | | | | | | | | | | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments. | ||||
* | | | Remove the use of the upgrading variable. | Devan Goodwin | 2016-06-13 | 2 | -2/+0 |
| | | | |||||
* | | | Don't be specific about rpm version to upgrade to for now. | Devan Goodwin | 2016-06-13 | 1 | -1/+2 |
| | | | |||||
* | | | Restore 3.2 RPM version check before upgrading. | Devan Goodwin | 2016-06-13 | 1 | -2/+17 |
| | | | |||||
* | | | Merge remote-tracking branch 'upstream/master' into upgrade33 | Devan Goodwin | 2016-06-13 | 2 | -3/+17 |
|\| | | |||||
| * | | Remove Docker 1.10 requirement temporarily. | Devan Goodwin | 2016-06-10 | 2 | -3/+17 |
| |/ | | | | | | | | | | | Docker 1.10 is not widely available in RHEL / CentOS yet, lets remove the restriction for users of master / origin. We can revert as soon as it's available publically. | ||||
* | | Temporary fix for upgrading issue. | Devan Goodwin | 2016-06-10 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'master' into upgrade33 | Devan Goodwin | 2016-06-10 | 2 | -18/+3 |
|\| | |||||
| * | Merge pull request #2005 from brenton/bz1338726 | Brenton Leanhardt | 2016-06-09 | 2 | -18/+3 |
| |\ | | | | | | | Bug 1338726 - never abort install if the latest version of docker is already installed |