summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
Commit message (Collapse)AuthorAgeFilesLines
* upgrades - Fix logic error about when to backup etcdScott Dodson2016-12-091-1/+1
|
* Handle updating of scheduler config during upgradeJason DeTiberus2016-12-061-3/+2
| | | | | | | | | | | - do not upgrade predicates if openshift_master_scheduler_predicates is defined - do not upgrade priorities if openshift_master_scheduler_priorities is defined - do not upgrade predicates/priorities unless they match known previous default configs - output WARNING to user if predictes/priorities are not updated during install
* upgrade_control_plane.yml: systemd_units.yaml nees the master factsMark Chappell2016-12-021-0/+1
|
* Cleanup ovs file and restart docker on every upgrade.Devan Goodwin2016-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In 3.3 one of our services lays down a systemd drop-in for configuring Docker networking to use lbr0. In 3.4, this has been changed but the file must be cleaned up manually by us. However, after removing the file docker requires a restart. This had big implications particularly in containerized environments where upgrade is a very fragile series of upgrading and service restarts. To avoid double docker restarts, and thus double service restarts in containerized environments, this change does the following: - Skip restart during docker upgrade, if it is required. We will restart on our own later. - Skip containerized service restarts when we upgrade the services themselves. - Clean shutdown of all containerized services. - Restart Docker. (always, previously this only happened if it needed an upgrade) - Ensure all containerized services are restarted. - Restart rpm node services. (always) - Mark node schedulable again. At the end of this process, docker0 should be back on the system.
* Merge pull request #2562 from sdodson/etcd3Scott Dodson2016-11-141-73/+1
|\ | | | | etcd upgrade playbooks
| * Add etcd upgrade for RHEL and FedoraScott Dodson2016-11-141-1/+1
| | | | | | | | | | On Fedora we just blindly upgrade to the latest. On RHEL we do stepwise upgrades 2.0,2.1,2.2,2.3,3.0
| * Move backups to a separate file for re-useScott Dodson2016-11-141-73/+1
| |
* | Fix HA upgrade when fact cache deleted.Devan Goodwin2016-11-141-0/+1
|/ | | | | This variable is referenced in the systemd unit templates, this seems like the easiest and most consistent fix.
* Merge pull request #2777 from dgoodwin/jenkins-role-bindingsScott Dodson2016-11-101-0/+6
|\ | | | | Reconcile role bindings for jenkins pipeline during upgrade.
| * Reconcile role bindings for jenkins pipeline during upgrade.Devan Goodwin2016-11-101-0/+6
| | | | | | | | https://github.com/openshift/origin/issues/11170 for more info.
* | Merge pull request #2784 from abutcher/upgrade-embedded-etcdScott Dodson2016-11-101-1/+1
|\ \ | | | | | | Bug 1393663 - Failed to upgrade v3.2 to v3.3
| * | Default groups.oo_etcd_to_config when setting embedded_etcd in control plane ↵Andrew Butcher2016-11-101-1/+1
| |/ | | | | | | upgrade.
* | Merge pull request #2773 from sdodson/BZ1393187Scott Dodson2016-11-091-1/+1
|\ \ | |/ |/| Don't upgrade etcd on backup operations
| * Don't upgrade etcd on backup operationsScott Dodson2016-11-091-1/+1
| | | | | | | | | | Fixes Bug 1393187 Fixes BZ1393187
* | Fix etcd backup failure due to corrupted facts.Devan Goodwin2016-11-091-1/+14
|/ | | | | | | | Simplest way to reproduce this issue is to attempt to upgrade having removed /etc/ansible/facts.d/openshift.fact. Actual cause in the field is not entirely known but critically it is possible for embedded_etcd to default to true, causing the etcd fact lookup to check the wrong file and fail silently, resulting in no etcd_data_dir fact being set.
* Merge pull request #2637 from dgoodwin/ctrl-plane-restartScott Dodson2016-10-251-9/+6
|\ | | | | Fix and reorder control plane service restart.
| * Fix and reorder control plane service restart.Devan Goodwin2016-10-211-9/+6
| | | | | | | | | | | | | | | | | | This was missed in the standalone upgrade control plane playbook. However it also looks to be out of order, we should restart before reconciling and upgrading nodes. As such moved the restart directly into the control plane upgrade common code, and placed it before reconciliation.
* | Merge pull request #2621 from dgoodwin/symlink-fixScott Dodson2016-10-191-7/+3
|\ \ | | | | | | Switch from "oadm" to "oc adm" and fix bug in binary sync.
| * | Switch from "oadm" to "oc adm" and fix bug in binary sync.Devan Goodwin2016-10-191-7/+3
| |/ | | | | | | | | | | | | | | Found bug syncing binaries to containerized hosts where if a symlink was pre-existing, but pointing to the wrong destination, it would not be corrected. Switched to using oc adm instead of oadm.
* / Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-141-1/+1
|/
* Fix bug with service signer cert on upgrade.Devan Goodwin2016-09-291-1/+0
| | | | | | It is invalid Ansible to use a when on an include that contains plays, as it cannot be applied to plays. Issue filed upstream for a better error, or to get it working.
* Move etcd backup from pre-upgrade to upgrade itself.Devan Goodwin2016-09-291-0/+86
|
* Skip the docker role in early upgrade stages.Devan Goodwin2016-09-291-3/+3
| | | | | | | | This improves the situation further and prevents configuration changes from accidentally triggering docker restarts, before we've evacuated nodes. Now in two places, we skip the role entirely, instead of previous implementation which only skipped upgrading the installed version. (which did not catch config issues)
* Allow filtering nodes to upgrade by label.Devan Goodwin2016-09-291-1/+1
|
* Split upgrade for control plane/nodes.Devan Goodwin2016-09-291-0/+174