summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
Commit message (Collapse)AuthorAgeFilesLines
* - update excluders to latest, in non-upgrade scenarios do not updateJan Chaloupka2017-03-072-0/+43
| | | | | | - check both available excluder versions are at most of upgrade target version - get excluder status through status command - make excluders enablement configurable
* Correct typo in haproxy router collection.Andrew Butcher2017-02-271-1/+1
|
* post_control_plane.yml: don't fail on grepGiuseppe Scrivano2017-02-171-0/+1
| | | | | | | grep returns rc != 0 if the text is not found, the next rule assumes that. Do not fail on the check when the line is not found. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Fix typo, add symlinks for rolesScott Dodson2017-02-172-0/+2
| | | | Fixes Bug 1423425
* Revert temporary hack to skip router/registry upgrade.Devan Goodwin2017-02-171-9/+0
|
* Merge pull request #3370 from adbaldi/workScott Dodson2017-02-162-2/+2
|\ | | | | Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)
| * Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)Andrew Baldi2017-02-152-2/+2
| |
* | Fix some lintJason DeTiberus2017-02-151-1/+0
| |
* | Add upgrade job step after the entire upgrade performsMaciej Szulik2017-02-151-0/+19
|/
* Merge pull request #3355 from tbielawa/idempotency_please_workScott Dodson2017-02-143-0/+27
|\ | | | | Idempotency please work
| * Trying to fix up/audit note some changesTim Bielawa2017-02-143-0/+27
| |
* | Fix logic for checking docker-registryRussell Teague2017-02-141-1/+1
| |
* | Modify playbooks to use oc_obj moduleRussell Teague2017-02-142-48/+64
|/
* Modify playbooks to use oadm_manage_node moduleRussell Teague2017-02-132-50/+40
|
* etcd: use as system containerGiuseppe Scrivano2017-02-102-1/+11
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #3261 from sdodson/excluderScott Dodson2017-02-062-0/+8
|\ | | | | Manage the excluder functionality
| * Move excluder disablement into control plane and node upgrade playbooksScott Dodson2017-02-061-2/+0
| | | | | | | | | | So that excluder is disabled and reset within the scope of each of those in addition to the overall playbook
| * Add excluder management to upgrade and config playbooksScott Dodson2017-02-063-0/+10
| |
* | Merge pull request #3254 from dgoodwin/skip-router-registry-hackScott Dodson2017-02-061-4/+10
|\ \ | |/ |/| Temporary hack to skip router/registry upgrade.
| * Temporary hack to skip router/registry upgrade.Devan Goodwin2017-02-021-4/+10
| |
* | run node upgrade if master is node as part of the control plan upgrade onlyJan Chaloupka2017-02-022-2/+55
|/
* Move current node upgrade tasks under openshift_node_upgrade roleJan Chaloupka2017-02-011-80/+7
|
* During node upgrade upgrade openvswitch rpmsScott Dodson2017-01-311-0/+15
| | | | | Containerized upgrades of openvswitch are already handled by updating the container images and pulling them again.
* Create v3_5 upgrade playbooksRussell Teague2017-01-302-1/+15
|
* Adding names to plays and standardizingRussell Teague2017-01-271-2/+6
|
* Merge pull request #3198 from mtnbikenc/drain-fixRussell Teague2017-01-261-1/+1
|\ | | | | Correct usage of draining nodes
| * Correct usage of draining nodesRussell Teague2017-01-261-1/+1
| |
* | Standardize add_host: with name and changed_whenRussell Teague2017-01-254-1/+8
|/ | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* Merge pull request #2981 from dgoodwin/upgrade-wait-for-nodeJason DeTiberus2017-01-241-0/+13
|\ | | | | Wait for nodes to be ready before proceeding with upgrade.
| * Wait for nodes to be ready before proceeding with upgrade.Devan Goodwin2016-12-151-0/+13
| | | | | | | | | | | | | | | | | | Near the end of node upgrade, we now wait for the node to report Ready before marking it schedulable again. This should help eliminate delays when pods need to relocate as the next node in line is evacuated. Happens near the end of the process, the only remaining task would be to mark it schedulable again so easy for admins to detect and recover from.
* | Merge pull request #3101 from dgoodwin/pre-post-master-hookJason DeTiberus2017-01-241-0/+24
|\ \ | | | | | | Implement simple hooks pre/post master upgrade.
| * | Add a mid upgrade hook, re-prefix variables.Devan Goodwin2017-01-231-9/+17
| | |
| * | Debug message before running hooks.Devan Goodwin2017-01-191-0/+6
| | |
| * | Run user provided hooks prior to system/service restarts.Devan Goodwin2017-01-191-3/+4
| | |
| * | Implement pre/post master upgrade hooks.Devan Goodwin2017-01-191-0/+9
| | |
* | | 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