summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2934 from sdodson/etcd3-v2Scott Dodson2016-12-071-7/+4
|\ | | | | etcd_upgrade: Simplify package installation
| * etcd_upgrade: Simplify package installationScott Dodson2016-12-071-7/+4
| |
* | Merge pull request #2892 from detiber/upgradeSchedulerScott Dodson2016-12-072-3/+168
|\ \ | |/ |/| Scheduler upgrades
| * add comments and remove debug codeJason DeTiberus2016-12-071-2/+8
| |
| * Handle updating of scheduler config during upgradeJason DeTiberus2016-12-062-3/+162
| | | | | | | | | | | | | | | | | | | | | | - 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
* | Always install latest etcd for containerized hostsScott Dodson2016-12-061-3/+5
| |
* | etcd_upgrade : Use different variables for rpm vs container versionsScott Dodson2016-12-061-10/+10
|/
* Conditionalize master config update for admission_plugin_config.Andrew Butcher2016-12-052-0/+2
|
* 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-306-38/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* update tests and flake8/pylint fixesJason DeTiberus2016-11-291-4/+5
|
* etcd upgrade playbook is not currently applicable to embedded etcd installsScott Dodson2016-11-281-0/+3
| | | | Fixes Bug 1395945
* Merge pull request #2872 from dgoodwin/etcd-embedded-backupScott Dodson2016-11-281-1/+1
|\ | | | | Fix invalid embedded etcd fact in etcd upgrade playbook.
| * Fix invalid embedded etcd fact in etcd upgrade playbook.Devan Goodwin2016-11-281-1/+1
| | | | | | | | | | | | | | | | | | Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1398549 Was getting a different failure here complaining that openshift was not in the facts, as we had not loaded facts for the first master during playbook run. However this check was used recently in upgrade_control_plane and should be more reliable.
* | Merge pull request #2836 from abutcher/BZ1393645Scott Dodson2016-11-282-0/+30
|\ \ | |/ |/| Merge admission plugin configs
| * Merge kube_admission_plugin_config with admission_plugin_configSamuel Munilla2016-11-222-0/+30
| | | | | | | | | | | | | | | | Move the values in kube_admission_plugin_config up one level per the new format from 1.3: "The kubernetesMasterConfig.admissionConfig.pluginConfig should be moved and merged into admissionConfig.pluginConfig."
* | Reference master binaries when delegating from node hosts which may be ↵Andrew Butcher2016-11-221-4/+4
| | | | | | | | containerized.
* | Refactor to use Ansible package moduleRussell Teague2016-11-174-5/+6
|/ | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Merge pull request #2562 from sdodson/etcd3Scott Dodson2016-11-1410-73/+293
|\ | | | | etcd upgrade playbooks
| * Actually upgrade host etcdctl no matter whatScott Dodson2016-11-141-2/+2
| |
| * Make etcd containerized upgrade stepwiseScott Dodson2016-11-142-18/+51
| |
| * Add updates for containerizedScott Dodson2016-11-143-6/+55
| |
| * Add etcd upgrade for RHEL and FedoraScott Dodson2016-11-148-1/+138
| | | | | | | | | | 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-142-73/+74
| |
* | 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
* | Merge pull request #2730 from dgoodwin/fix-ha-etcd-backupScott Dodson2016-11-091-1/+14
|\ \ | |/ |/| Fix HA etcd upgrade when facts cache has been deleted.
| * 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.
* | Revert "Revert openshift.node.nodename changes"Scott Dodson2016-11-081-4/+6
| |
* | Merge pull request #2751 from sdodson/BZ1388253Scott Dodson2016-11-081-6/+4
|\ \ | | | | | | Revert openshift.node.nodename changes
| * | Revert "Fix OpenStack cloud provider"Scott Dodson2016-11-071-6/+4
| |/ | | | | | | This reverts commit 1f2276fff1e41c1d9440ee8b589042ee249b95d7.
* / Add missing symlink for node openvswitch oom fix.Devan Goodwin2016-11-081-0/+1
|/
* 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.
* | [upgrades] Fix containerized nodeScott Dodson2016-10-251-2/+0
| | | | | | | | This file was removed and no longer used
* | Move infrastructure templates into openshift_hosted_templates role.Andrew Butcher2016-10-211-0/+4
| |
* | trouble creating service signer while running upgrade dockerizedHenning Fjellheim2016-10-211-4/+4
| |
* | Merge pull request #2623 from rhcarvalho/typosAndrew Butcher2016-10-201-1/+1
|\ \ | | | | | | Fix typos
| * | Fix typosRodolfo Carvalho2016-10-191-1/+1
| | |
* | | Merge pull request #2621 from dgoodwin/symlink-fixScott Dodson2016-10-193-11/+7
|\ \ \ | |/ / |/| | 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-193-11/+7
| |/ | | | | | | | | | | | | | | 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-143-3/+3
|/
* Resume restarting node after upgrading node rpms.Devan Goodwin2016-10-141-0/+4
| | | | | | | Error in commit 245fef16573757b6e691c448075d8564f5d569f4. As it turns out this is the only place a rpm based node can be restarted in upgrade. Restoring the restart but making it conditional to avoid the two issues reported with out of sync node restarts.
* upgrade: Don't check avail docker version if not already installed.Devan Goodwin2016-10-141-2/+4
|
* Stop restarting node after upgrading master rpms.Devan Goodwin2016-10-121-3/+0
| | | | | | | | | | This looks to be causing a customer issue where some HA upgrades fail, due to a missing EgressNetworkPolicy API. We update master rpms, we don't restart services yet, but then restart node service which tries to talk to an API that does not yet exist. (pending restart) Restarting node here is very out of place and appears to not be required.