summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml
Commit message (Collapse)AuthorAgeFilesLines
* Introduce 1.3/3.3 upgrade path.Devan Goodwin2016-07-251-167/+0
| | | | | | | | | | | | | | | | 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+.
* Skip docker upgrades on Atomic.Devan Goodwin2016-07-191-2/+2
|
* Remove/update TODOs.Devan Goodwin2016-07-081-1/+2
|
* More docker upgrade fixes.Devan Goodwin2016-06-271-1/+1
|
* Only nuke images when crossing the Docker 1.10 boundary in upgrade.Devan Goodwin2016-06-271-1/+1
|
* Allow skipping Docker upgrade during OpenShift upgrade.Devan Goodwin2016-06-241-0/+3
|
* Refactor 3.2 upgrade to avoid killing nodes without evac.Devan Goodwin2016-06-231-35/+37
| | | | | We now handle the two pieces of upgrade that require a node evac in the same play. (docker, and node itself)
* Upgrade fixes.Devan Goodwin2016-06-171-24/+3
|
* Remove the use of the upgrading variable.Devan Goodwin2016-06-131-1/+0
|
* Remove Docker 1.10 requirement temporarily.Devan Goodwin2016-06-101-3/+3
| | | | | | 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.
* Docker 1.10 UpgradeDevan Goodwin2016-06-031-3/+3
| | | | | | | | | | | | | | | | | 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.
* Merge pull request #1811 from sdodson/dont-pull-cli-on-upgradeJason DeTiberus2016-05-171-0/+1
|\ | | | | Don't pull cli image when we're not containerized
| * Don't pull cli image when we're not containerizedScott Dodson2016-04-261-0/+1
| |
* | Merge pull request #1880 from dgoodwin/registry-insecureBrenton Leanhardt2016-05-161-1/+2
|\ \ | | | | | | Fixes for openshift_docker_hosted_registry_insecure var.
| * | Fixes for openshift_docker_hosted_registry_insecure var.Devan Goodwin2016-05-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a failure on masters if you explicitly set openshift_docker_hosted_registry_insecure=true. This is the default but if you tried to set it an error would trigger as a relevant variable was not passed in the master playbooks. Fixes setting the variable to false being ignored. master/node playbooks were referencing the docker fact, which was not set at that point and thus we were always getting the default of true, regardless what was in your inventory. Stop passing registry insecure in via playbooks, we can access it when running openshift_facts itself. Add a new default in openshift facts.
* | | Do not upgrade containers to latest avail during a normal config run.Devan Goodwin2016-05-121-0/+1
|/ /
* / Access portal_net in common facts.Andrew Butcher2016-04-261-1/+1
|/
* Pod must be recreated for the upgradeBrenton Leanhardt2016-04-251-12/+2
|
* Reconcile roles in additive-only mode on upgradeJordan Liggitt2016-04-221-1/+1
|
* Only add new sccsBrenton Leanhardt2016-04-211-1/+1
|
* Fix use of older image tag version during upgrade.Devan Goodwin2016-04-201-1/+2
| | | | | | | If doing an upgrade with a 3.2.0.x version that was older than the latest, the upgrade would actually use the latest in the systemd unit files and thus the actual containers that get used. (despite pulling down the correct version first)
* The openshift_docker role must set the version facts for containerized installsBrenton Leanhardt2016-04-141-3/+12
| | | | | | QE found that for fresh installs we were basing the docker version facts of the images that could be pulled prior to configuring /etc/sysconfig/docker. This is an edge case but something we need to fix.
* Bug 1324728 - Ansible should not downgrade docker when installing 3.2 ↵Brenton Leanhardt2016-04-121-0/+14
| | | | containerized env
* Installs and upgrades from authenticated registries are not supported for nowBrenton Leanhardt2016-04-121-31/+0
|
* Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt2016-04-121-12/+14
|
* Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api ↵Brenton Leanhardt2016-04-011-1/+1
| | | | and atomic-openshift-master-controllers
* Bug 1322338 - The upgrade should keep the option insecure-registry=172.30.0.0/16Brenton Leanhardt2016-03-301-0/+2
|
* Use openshift.master.ha instead of duplicating the logicBrenton Leanhardt2016-03-291-3/+0
|
* Workaround for authenticated registriesBrenton Leanhardt2016-03-291-0/+29
| | | | | | | | | | Currently there's no good way to install from a registry that requires authentication. This applies both to RPM and containerized installs: https://bugzilla.redhat.com/show_bug.cgi?id=1316341 The workaround is to 'docker login' as root and then have ansible pull the images to the image cache.
* First pass at systemd unit refactorBrenton Leanhardt2016-03-291-2/+10
|
* Bug 1315564 - upgrade to ose3.2 failed on Atomic HostsBrenton Leanhardt2016-03-091-2/+11
|
* Support openshift_image_tagBrenton Leanhardt2016-03-071-1/+1
| | | | | | | | | | | | | This is the containerized openshift_pkg_version equivalent. Originally I was hoping to reuse openshift_pkg_version for containerized installs but the fact that it's very coupled to yum made that pretty ugly. However, I did opt to rely on the previously existing 'openshift_version' variable. Containerized and RPM installs can both use that variable and it will be set appropriately if either openshift_pkg_version or openshift_image_tag are set. I suspect someday containerized installs will be the only option and I didn't can to have thinkgs like openshift_pkg_version and openshift_image_tag in the playbooks anymore the necessary.
* Adding verify_upgrade_version variable for upgrade debuggingBrenton Leanhardt2016-03-031-1/+5
|
* Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt2016-03-031-5/+4
|
* First past at the upgrade processBrenton Leanhardt2016-03-031-0/+147