summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning repo cache earlierRussell Teague2017-01-192-6/+15
|
* Perform master upgrades in a single play serially.Devan Goodwin2017-01-181-16/+13
|
* Merge pull request #2786 from dgoodwin/docker-1.12Scott Dodson2017-01-172-5/+5
|\ | | | | Begin requiring Docker 1.12.
| * Begin requiring Docker 1.12.Devan Goodwin2016-11-102-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Building off the work done for Docker 1.10, we now require Docker 1.12 by default. The upgrade process was already set to ensure you are running the latest docker during upgrade, and the standalone docker upgrade playbook can also be used if desired. As before, you can override this Docker 1.12 requirement by setting a docker_version=1.10.3 (or similar), and you can skip the default to upgrade docker by setting docker_upgrade=False.
* | Merge pull request #3064 from giuseppe/fix-etcdctl-from-containerScott Dodson2017-01-171-1/+2
|\ \ | | | | | | use etcdctl from the container when containerized=True
| * | use etcdctl from the container when containerized=TrueGiuseppe Scrivano2017-01-101-1/+2
| | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Add a fact to select --evacuate or --drain based on your OCP versionTim Bielawa2017-01-111-1/+1
| | | | | | | | | | | | Closes #3070
* | | Merge pull request #3056 from rhcarvalho/cleanup-cluster-upgradeRodolfo Carvalho2017-01-103-206/+1
|\ \ \ | | | | | | | | Cleanup cluster upgrade
| * | | Remove unused fileRodolfo Carvalho2017-01-091-12/+0
| | | | | | | | | | | | | | | | | | | | All references to it were removed in b89c835e3235f2628b37de15713c311d1b5a4bad
| * | | Remove unused fileRodolfo Carvalho2017-01-091-193/+0
| | | | | | | | | | | | | | | | | | | | All references to it were removed in 739ad9de2a11bb8c67d77641a86cfd39e4594542
| * | | Remove spurious argumentRodolfo Carvalho2017-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The script nuke_images.sh was introduced in 0c31d72be3bf32f848eedad9859a81ba858f8c8f and seems that the shell argument $1 was never used (the only $1 in the script back then refers to a field in a awk script). There was a reference to $2 that was always undefined/empty. The script was then simplified in b89c835e3235f2628b37de15713c311d1b5a4bad, removing any reference to $1 and $2. This commit cleans up the only call site to the shell script.
* | | | Merge pull request #3058 from openshift/etcd-imageScott Dodson2017-01-091-2/+1
|\ \ \ \ | |/ / / |/| | | etcd 3.x image is 'etcd' not 'etcd3'
| * | | Use registry.access.redhat.com/rhel7/etcd instead of etcd3Scott Dodson2017-01-091-2/+1
| | | |
* | | | Use openshift.common.hostname when verifying API port available.Andrew Butcher2017-01-061-7/+5
|/ / /
* | | Don't upgrade etcd on atomic host, ever.Scott Dodson2017-01-051-8/+21
| | | | | | | | | | | | | | | Fixes Bug 1408668 Fixes BZ1408668
* | | python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-201-1/+1
| | | | | | | | | | | | versions
* | | Merge pull request #2986 from tbielawa/deprecate_node_evacuationTim Bielawa2016-12-191-3/+3
|\ \ \ | | | | | | | | Deprecate node 'evacuation' with 'drain'
| * | | Deprecate node 'evacuation' with 'drain'Tim Bielawa2016-12-161-3/+3
| | | | | | | | | | | | | | | | * https://trello.com/c/TeaEB9fX/307-3-deprecate-node-evacuation
* | | | Merge pull request #2989 from abutcher/3.4-master-config-hookScott Dodson2016-12-161-2/+11
|\ \ \ \ | | | | | | | | | | Add master config hook for 3.4 upgrade and fix facts ordering
| * | | | Add master config hook for 3.4 upgrade and fix facts ordering for config ↵Andrew Butcher2016-12-161-2/+11
| |/ / / | | | | | | | | | | | | hook run.
* / / / The next registry.access.redhat.com/rhel7/etcd image will be 3.0.15Scott Dodson2016-12-161-1/+1
|/ / /
* | | YAML LintingRussell Teague2016-12-124-13/+10
| | | | | | | | | | | | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* | | Make both backup and upgrade optionalScott Dodson2016-12-092-95/+99
| | |
* | | [upgrades] Upgrade etcd by defaultScott Dodson2016-12-093-11/+21
| | |
* | | upgrades - Fix logic error about when to backup etcdScott Dodson2016-12-091-1/+1
| | |
* | | Removed verify_ansible_version playbook refsRussell Teague2016-12-081-2/+0
| | |
* | | Merge pull request #2950 from dgoodwin/drop-32-upgradeScott Dodson2016-12-081-1/+0
|\ \ \ | | | | | | | | Drop 3.2 upgrade playbooks.
| * | | Drop 3.2 upgrade playbooks.Devan Goodwin2016-12-081-1/+0
| | | |
* | | | Merge pull request #2946 from dagwieers/patch-1Scott Dodson2016-12-081-0/+2
|\ \ \ \ | | | | | | | | | | Silence warnings when using some commands directly
| * | | | Silence warnings when using rpm directlyDag Wieers2016-12-081-0/+2
| |/ / /
* / / / Silence warnings when using rpm directlyDag Wieers2016-12-081-0/+2
|/ / /
* | | 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