summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
Commit message (Collapse)AuthorAgeFilesLines
* Only nuke images when crossing the Docker 1.10 boundary in upgrade.Devan Goodwin2016-06-271-0/+4
|
* Refactor 3.2 upgrade to avoid killing nodes without evac.Devan Goodwin2016-06-231-1/+1
| | | | | 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-231-0/+12
|\
| * 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
| |
* | Cleanup, fix 3.1 version bug in facts.Devan Goodwin2016-06-161-3/+2
| |
* | 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-131-1/+0
| |
* | Restore 3.2 RPM version check before upgrading.Devan Goodwin2016-06-131-2/+17
| |
* | Temporary fix for upgrading issue.Devan Goodwin2016-06-101-0/+1
| |
* | 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
|/
* Merge pull request #1880 from dgoodwin/registry-insecureBrenton Leanhardt2016-05-161-1/+0
|\ | | | | Fixes for openshift_docker_hosted_registry_insecure var.
| * Fixes for openshift_docker_hosted_registry_insecure var.Devan Goodwin2016-05-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+2
|/
* Update repos per inventory before upgradingScott Dodson2016-04-271-1/+2
|
* Access portal_net in common facts.Andrew Butcher2016-04-261-1/+1
|
* Fix use of older image tag version during upgrade.Devan Goodwin2016-04-201-2/+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)
* Fetching the current version a little more carefullyBrenton Leanhardt2016-04-121-0/+4
| | | | | | | | Previously we were trying to use the running container to get the current version. There are cases in which the Master or Node may not be running during upgrade. It's actually safer to just run the container to fetch the version that would be launch if the container were running. Then we pull the image to see what the latest image contains.
* Make sure Docker is restarted after we have correctly configured the ↵Brenton Leanhardt2016-04-121-1/+5
| | | | containerized systemd units
* Handle cases where the pacemaker variables aren't setBrenton Leanhardt2016-04-121-1/+1
|
* Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt2016-04-121-5/+5
|
* Merge pull request #1695 from brenton/bz1323123Brenton Leanhardt2016-04-061-2/+2
|\ | | | | Fixing bugs 1322788 and 1323123
| * Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api ↵Brenton Leanhardt2016-04-011-2/+2
| | | | | | | | and atomic-openshift-master-controllers
* | Merge pull request #1700 from brenton/32haBrenton Leanhardt2016-04-051-0/+7
|\ \ | | | | | | Pacemaker is unsupported for 3.2
| * | Pacemaker is unsupported for 3.2Brenton Leanhardt2016-04-041-0/+7
| |/
* | Merge pull request #1577 from brenton/docker19Brenton Leanhardt2016-04-051-2/+1
|\ \ | |/ |/| We require docker 1.9 for the 3.2 upgrade
| * We require docker 1.9 for the 3.2 upgradeBrenton Leanhardt2016-03-091-2/+1
| |
* | Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api ↵Brenton Leanhardt2016-03-311-0/+5
| | | | | | | | 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-6/+3
| |
* | First pass at systemd unit refactorBrenton Leanhardt2016-03-291-2/+27
| |
* | Handle HA master caseBrenton Leanhardt2016-03-141-2/+17
| |
* | Bug 1315564 - Containerized installs require a running environmentBrenton Leanhardt2016-03-141-0/+20
| | | | | | | | | | If the master or node aren't running we can't determine the correct version that is currently installed.
* | Bug 1316761 - Skip the available version check if openshift_image_tag is ↵Brenton Leanhardt2016-03-141-2/+1
|/ | | | | | | | defined. We already have a check in pre.yml to make sure openshift_image_tag is set to a range that is allowed. This is an advanced setting and should be used to override whatever is returned by the 'latest' image in a given registry.
* Bug 1315564 - upgrade to ose3.2 failed on Atomic HostsBrenton Leanhardt2016-03-081-0/+2
|
* Support openshift_image_tagBrenton Leanhardt2016-03-071-4/+14
| | | | | | | | | | | | | 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.
* Bug 1314645 - Upgrade failed with "One or more undefined variables 'dict ↵Brenton Leanhardt2016-03-041-3/+8
| | | | object' has no attribute 'stdout'"
* Adding verify_upgrade_version variable for upgrade debuggingBrenton Leanhardt2016-03-031-2/+22
|
* Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt2016-03-031-7/+2
|
* First past at the upgrade processBrenton Leanhardt2016-03-031-0/+220