summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* 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."
* Merge pull request #2827 from abutcher/BZ1377619Jason DeTiberus2016-11-212-33/+7
|\ | | | | Allow ansible to continue when a node is unaccessible or fails.
| * Delegate openshift_manage_node tasks to master host.Andrew Butcher2016-11-211-32/+2
| |
| * Allow ansible to continue when a node is unaccessible or fails.Andrew Butcher2016-11-181-1/+5
| |
* | Fix yum/subman version check on Atomic.Devan Goodwin2016-11-171-1/+2
|/
* Merge pull request #2815 from dgoodwin/yumCheckScott Dodson2016-11-161-0/+16
|\ | | | | Check for bad versions of yum and subscription-manager.
| * Check for bad versions of yum and subscription-manager.Devan Goodwin2016-11-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | Use of yum and repoquery will output the given additional warning when using newer versions of subscription-manager, with older versions of yum. (RHEL 7.1) Installing/upgrading newer docker can pull this subscription-manager in resulting in problems with older versions of ansible and it's yum module, as well as any use of repoquery/yum commands in our playbooks. This change explicitly checks for the problem by using repoquery and fails early if found. This is run early in both config and upgrade.
* | 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
| |/
* | Merge pull request #2794 from dgoodwin/no-fact-cacheScott Dodson2016-11-141-0/+1
|\ \ | | | | | | Fix HA upgrade when fact cache deleted.
| * | 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.
* / Fix openshift_hosted_metrics_deployer_version set_fact.Andrew Butcher2016-11-141-1/+1
|/
* 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