summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to use Ansible package moduleRussell Teague2016-11-175-10/+11
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Merge pull request #2734 from dougbtv/openstack_timeout_optionJason DeTiberus2016-11-162-1/+3
|\ | | | | [openstack] allows timeout option for heat create stack
| * [openstack] allows timeout option for heat create stackdougbtv2016-11-052-1/+3
| |
* | 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 #2813 from lhuard1A/optimize_listJason DeTiberus2016-11-164-42/+9
|\ \ \ | | | | | | | | Optimize the cloud-specific list.yml playbooks
| * | | Optimize the cloud-specific list.yml playbooksLénaïc Huard2016-11-164-42/+9
| |/ / | | | | | | | | | | | | | | | by removing the need to gather facts on all VMs in order to list them. And prettify the output of AWS list the same way it is done for other cloud providers.
* | | Merge pull request #2814 from lhuard1A/fix_gce_subnetJason DeTiberus2016-11-162-543/+1
|\ \ \ | | | | | | | | Fix GCE cluster creation
| * | | Fix GCE cluster creationLénaïc Huard2016-11-162-543/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempting to create a GCE cluster when the `gce.ini` configuration file contains a non-default network leads to the following error: ``` TASK [Launch instance(s)] ****************************************************** fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Unexpected error attempting to create instance lenaic2-master-74f10, error: {'domain': 'global', 'message': \"Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network\", 'reason': 'invalid'}"} ``` The `subnetwork` parameter needs to be added and taken into account.
* | | Merge pull request #2562 from sdodson/etcd3Scott Dodson2016-11-1412-73/+322
|\ \ \ | | | | | | | | 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-149-1/+164
| | | | | | | | | | | | | | | | | | | | 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
| * | | Drop /etc/profile.d/etcdctl.shScott Dodson2016-11-141-0/+1
| | | | | | | | | | | | | | | | | | | | Includes bash functions for etcdctl2 and etcdctl3 which provide reasonable defaults for etcdctl functions on a host that's configured with openshift_etcd.
| * | | Move backups to a separate file for re-useScott Dodson2016-11-142-73/+74
| | | |
| * | | Uninstall etcd3 packageScott Dodson2016-11-121-0/+2
| |/ /
* | | 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-086-188/+40
| | |
* | | Merge pull request #2751 from sdodson/BZ1388253Scott Dodson2016-11-086-40/+188
|\ \ \ | | | | | | | | Revert openshift.node.nodename changes
| * | | Revert "Fix the nodeName of the OpenShift nodes on OpenStack"Scott Dodson2016-11-073-25/+175
| | | | | | | | | | | | | | | | This reverts commit aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.
| * | | Revert "Fix OpenStack cloud provider"Scott Dodson2016-11-073-15/+13
| |/ / | | | | | | | | | This reverts commit 1f2276fff1e41c1d9440ee8b589042ee249b95d7.
* | | Add missing symlink for node openvswitch oom fix.Devan Goodwin2016-11-081-0/+1
|/ /
* | Remove unused playbooks adhoc metrics_setup files #2717Stéphane Klein2016-11-076-249/+0
|/
* 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 #2662 from blues-man/update_doc_upgrade_openshiftScott Dodson2016-10-251-2/+2
|\ \ | | | | | | Update link to latest versions upgrade README
| * | Update link to latest versions upgrade READMENatale Vinto2016-10-251-2/+2
| |/
* | Merge pull request #2663 from dgoodwin/34-upgradeScott Dodson2016-10-255-0/+313
|\ \ | | | | | | Add support for 3.4 upgrade.
| * | Add support for 3.4 upgrade.Devan Goodwin2016-10-255-0/+313
| |/ | | | | | | | | This is a direct copy of 3.3 upgrade playbooks, with 3.3 specific hooks removed and version numbers adjusted appropriately.
* | Merge pull request #2637 from dgoodwin/ctrl-plane-restartScott Dodson2016-10-253-12/+9
|\ \ | | | | | | Fix and reorder control plane service restart.
| * | Fix and reorder control plane service restart.Devan Goodwin2016-10-213-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-203-3/+3
|\ \ | | | | | | Fix typos
| * | Fix typosRodolfo Carvalho2016-10-193-3/+3
| | |
* | | 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.