summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* Move backups to a separate file for re-useScott Dodson2016-11-142-73/+74
|
* 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-082-8/+10
| |
* | Merge pull request #2751 from sdodson/BZ1388253Scott Dodson2016-11-082-10/+8
|\ \ | | | | | | Revert openshift.node.nodename changes
| * | Revert "Fix OpenStack cloud provider"Scott Dodson2016-11-072-10/+8
| |/ | | | | | | This reverts commit 1f2276fff1e41c1d9440ee8b589042ee249b95d7.
* / Add missing symlink for node openvswitch oom fix.Devan Goodwin2016-11-081-0/+1
|/
* Where we use curl force it to use tlsv1.2Scott Dodson2016-11-022-2/+2
| | | | | | | curl, prior to RHEL 7.2, did not properly negotiate up the TLS protocol, so force it to use tlsv1.2 Fixes bug 1390869
* Merge pull request #2670 from abutcher/hosted-registry-insecureScott Dodson2016-10-261-1/+1
|\ | | | | Bug 1388016 - The insecure-registry address was removed during upgrade
| * Default hosted_registry_insecure true when insecure registry present in ↵Andrew Butcher2016-10-261-1/+1
| | | | | | | | existing /etc/sysconfig/docker.
* | 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-212-0/+6
| |
* | 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 #2627 from dgoodwin/remove-pacemaker-restartsScott Dodson2016-10-204-132/+3
|\ \ \ | | | | | | | | Drop pacemaker restart logic.
| * | | Drop pacemaker restart logic.Devan Goodwin2016-10-194-132/+3
| | |/ | |/| | | | | | | | | | Pacemaker clusters are no longer supported, and in some cases bugs here were causing upgrade failures.
* | | Merge pull request #2621 from dgoodwin/symlink-fixScott Dodson2016-10-194-14/+10
|\ \ \ | |_|/ |/| | 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-194-14/+10
| |/ | | | | | | | | | | | | | | 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.
* | [logging] Fix NFS volume bindingScott Dodson2016-10-171-6/+6
| |
* | Merge pull request #2608 from abutcher/template-with-itemsScott Dodson2016-10-178-8/+8
|\ \ | |/ |/| Template with_items for upstream ansible-2.2 compat.
| * Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-148-8/+8
| |
* | Merge pull request #2605 from sdodson/loggingScott Dodson2016-10-141-6/+6
|\ \ | |/ |/| [logging] Use inventory variables rather than facts
| * Use inventory variables rather than factsScott Dodson2016-10-141-6/+6
| |
* | 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
| |
* | Merge pull request #2598 from detiber/2547Scott Dodson2016-10-131-2/+2
|\ \ | |/ |/| update handling of use_dnsmasq
| * update handling of use_dnsmasqJason DeTiberus2016-10-131-2/+2
| |
* | 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.
* Set master facts for first master in node scaleup.Andrew Butcher2016-10-051-0/+11
|
* Fix default port typo.Andrew Butcher2016-10-051-2/+2
|
* Merge pull request #2511 from vishpat/nuage_haAndrew Butcher2016-10-041-0/+11
|\ | | | | Changes for Nuage HA
| * Filterize haproxy frontends/backends and add method for providing additional ↵Andrew Butcher2016-10-031-0/+11
| | | | | | | | frontends/backends.
* | Merge pull request #2441 from dgoodwin/34-upgrade-improvementsAndrew Butcher2016-10-0417-408/+447
|\ \ | | | | | | 3.4 Upgrade Improvements
| * | Fix bug with service signer cert on upgrade.Devan Goodwin2016-09-292-1/+7
| | | | | | | | | | | | | | | | | | 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.
| * | Use pre_upgrade tag instread of a dry run variable.Devan Goodwin2016-09-291-1/+1
| | |
| * | Move etcd backup from pre-upgrade to upgrade itself.Devan Goodwin2016-09-292-87/+86
| | |
| * | Allow a couple retries when unscheduling/rescheduling nodes in upgrade.Devan Goodwin2016-09-291-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | This can fail with a transient "object has been modified" error asking you to re-try your changes on the latest version of the object. Allow up to three retries to see if we can get the change to take effect.
| * | Skip the docker role in early upgrade stages.Devan Goodwin2016-09-292-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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-297-13/+55
| | |
| * | Allow customizing node upgrade serial value.Devan Goodwin2016-09-291-1/+3
| | |
| * | Split upgrade for control plane/nodes.Devan Goodwin2016-09-2910-103/+89
| | |