summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
Commit message (Collapse)AuthorAgeFilesLines
* 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-242-2/+2
| | | | | | | | | | * 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 #1897 from sdodson/issue1435Jason DeTiberus2016-05-171-2/+2
|\ | | | | Include sdn-ovs in upgrade commands to avoid pulling in newer packages
| * Fix minor upgrades in 3.1Scott Dodson2016-05-161-2/+2
| |
* | 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-135-1/+6
|\ \ \ \ | |/ / / |/| | | Remove vars_files on play includes for upgrade playbooks.
| * | | Block upgrading w/ ansible v2.Andrew Butcher2016-05-121-1/+2
| | | |
| * | | 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-224-5/+5
|
* 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.
* Bug 1324728 - Ansible should not downgrade docker when installing 3.2 ↵Brenton Leanhardt2016-04-121-0/+14
| | | | containerized env
* Fetching the current version a little more carefullyBrenton Leanhardt2016-04-122-5/+9
| | | | | | | | 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
* Installs and upgrades from authenticated registries are not supported for nowBrenton Leanhardt2016-04-121-31/+0
|
* Handle cases where the pacemaker variables aren't setBrenton Leanhardt2016-04-121-1/+1
|
* Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt2016-04-122-17/+19
|
* Merge pull request #1695 from brenton/bz1323123Brenton Leanhardt2016-04-063-4/+4
|\ | | | | Fixing bugs 1322788 and 1323123
| * Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api ↵Brenton Leanhardt2016-04-013-4/+4
| | | | | | | | 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-302-0/+4
| |
* | Use openshift.master.ha instead of duplicating the logicBrenton Leanhardt2016-03-292-9/+3
| |
* | 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-294-58/+42
| |
* | Move common common facts to openshift_factsJason DeTiberus2016-03-151-5/+2
| | | | | | | | | | | | | | - Prevents roles that need common facts from needing to require openshift_common, which pulls in the openshift binary. - Add dependency on openshift_facts to os_firewall, since it uses openshift.common facts
* | Docker stderr can break this script if ansible executes it remotelyBrenton Leanhardt2016-03-141-2/+2
| |
* | 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-092-20/+23
| |
* | Bug 1315563 - Upgrade failed to containerized install OSE 3.1 on RHELBrenton Leanhardt2016-03-091-1/+1
|/ | | | | | Previously I was greping for 'ose' in the systemd units. That was only working on my machine because my Nodes were also Masters. It's safer to grep for openshift3 since that would be present for Masters or Nodes.
* Bug 1315563 - stdout IO redirection wasn't working as expected over SSH ↵Brenton Leanhardt2016-03-081-3/+3
| | | | | | connections Bug 1315563 - Upgrade failed to containerized install OSE 3.1 on RHEL