summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2
Commit message (Collapse)AuthorAgeFilesLines
* Refactor 3.2 upgrade to avoid killing nodes without evac.Devan Goodwin2016-06-235-74/+38
| | | | | 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-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 upgrade33Devan Goodwin2016-06-232-0/+13
|\
| * If registry_url != registry.access.redhat.com then modify image streamsScott Dodson2016-06-171-0/+1
| |
| * Merge pull request #2041 from dgoodwin/no-proxy-hostnamesScott Dodson2016-06-141-0/+12
| |\ | | | | | | Fix no proxy hostnames during upgrade.
| | * Fix no proxy hostnames during upgrade.Devan Goodwin2016-06-141-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 Goodwin2016-06-211-2/+4
| | |
* | | Fix use of v3.2 format for openshift_release in upgrade.Devan Goodwin2016-06-211-0/+4
| | |
* | | Upgrade fixes.Devan Goodwin2016-06-172-26/+5
| | |
* | | Cleanup, fix 3.1 version bug in facts.Devan Goodwin2016-06-162-4/+3
| | |
* | | Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-151-1/+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 Goodwin2016-06-132-2/+0
| | |
* | | Don't be specific about rpm version to upgrade to for now.Devan Goodwin2016-06-131-1/+2
| | |
* | | Restore 3.2 RPM version check before upgrading.Devan Goodwin2016-06-131-2/+17
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-132-3/+17
|\| |
| * | Remove Docker 1.10 requirement temporarily.Devan Goodwin2016-06-102-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 Goodwin2016-06-101-0/+1
| |
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-102-18/+3
|\|
| * Merge pull request #2005 from brenton/bz1338726Brenton Leanhardt2016-06-092-18/+3
| |\ | | | | | | Bug 1338726 - never abort install if the latest version of docker is already installed
| | * Docker 1.10 UpgradeDevan Goodwin2016-06-032-18/+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.
* | | Fix version unset bug, and set common ver fact on containerized nodes.Devan Goodwin2016-06-101-1/+0
| | |
* | | Fix missing openshift.common.version fact on containerized nodes.Devan Goodwin2016-06-101-0/+2
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-091-3/+3
|\| |
| * | Use unique play names to make things easier to debugScott Dodson2016-06-071-3/+3
| |/
* | Begin major simplification of 3.2 upgrade.Devan Goodwin2016-06-091-73/+24
| |
* | Respect image tag/pkg version during upgrade.Devan Goodwin2016-06-071-3/+5
| |
* | Force version to latest 3.2 during upgrade.Devan Goodwin2016-06-071-1/+3
| |
* | Verify openshift_release is correct or absent in inventory before upgrade.Devan Goodwin2016-06-071-4/+20
| |
* | Get rpm installations functional again.Devan Goodwin2016-05-261-0/+2
|/
* Conditionally bind mount /usr/bin/docker-current when it is present (#1941)Scott Dodson2016-05-241-1/+1
| | | | | | | | | | * Conditionally bind mount /usr/bin/docker-current when it is present * fix upgrade * add atomic-openshift-node-dep files to uninstall playbook * Fix variable expansion
* Merge pull request #1914 from jkroepke/patch-1Jason DeTiberus2016-05-181-2/+2
|\ | | | | Task "Update router image to current version" failed, if router not in default namespace
| * Task "Update router image to current version" failed, if router not in ↵Jan-Otto Kröpke2016-05-181-2/+2
| | | | | | | | | | default namespace Also added hardcoded -n default to registry patch, since oc get has -n default, too.
* | Use systemctl restart docker instead of ansible service.Devan Goodwin2016-05-181-1/+2
|/ | | | | | | Ansible is doing a full service stop and then start, which does not allow systemd to keep the containerized services up and running. Switching to this will cause the related services to come back within a few seconds.
* 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-162-2/+2
|\ \ | | | | | | Fixes for openshift_docker_hosted_registry_insecure var.
| * | Fixes for openshift_docker_hosted_registry_insecure var.Devan Goodwin2016-05-162-2/+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.
* | | Merge pull request #1859 from dgoodwin/containerized-upgradeBrenton Leanhardt2016-05-162-1/+3
|\ \ \ | | | | | | | | Containerized Upgrade Fixes
| * | | Do not upgrade containers to latest avail during a normal config run.Devan Goodwin2016-05-122-1/+3
| | | |
* | | | Merge pull request #1862 from abutcher/v2-vars-files-upgradeJason DeTiberus2016-05-134-0/+4
|\ \ \ \ | |/ / / |/| | | Remove vars_files on play includes for upgrade playbooks.
| * | | Remove vars_files on play includes for upgrade playbooks.Andrew Butcher2016-05-124-0/+4
| |/ /
* | | Merge pull request #1737 from moolitayer/manageiq_sa_to_have_image_scanning_roleJason DeTiberus2016-05-121-0/+1
|\ \ \ | |/ / |/| | Add image-auditor role to ManageIQ SA
| * | Add system:image-auditor role to ManageIQ SAMooli Tayer2016-05-031-0/+1
| | |
* | | Update repos per inventory before upgradingScott Dodson2016-04-271-1/+2
| | |
* | | Access portal_net in common facts.Andrew Butcher2016-04-262-2/+2
| |/ |/|
* | Pod must be recreated for the upgradeBrenton Leanhardt2016-04-253-12/+29
|/
* 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-203-4/+5
| | | | | | | 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.