summaryrefslogtreecommitdiff
path: root/playbooks/common
AgeCommit message (Collapse)Author
2017-10-23Remove base package installMichael Gugino
Currently, base atomic-openshift package is installed for versioning. This doesn't appear to be necessary. This commit removes this step. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1504196
2017-10-23Check if the master service is non-ha or notJan Chaloupka
2017-10-23Merge pull request #5844 from mtnbikenc/fix-1504515Scott Dodson
1504515 Correct host group for controller restart
2017-10-23Correct host group for controller restartRussell Teague
Fixes 1504515 https://bugzilla.redhat.com/show_bug.cgi?id=1504515
2017-10-23Set the proper external etcd ip address when migrating embeded etcdJan Chaloupka
2017-10-23Add role to configure project request templateMichael Hanselmann
The OpenShift master role already supports changing the master configuration to refer to a project template, but there's no way to manage that template directly. This role adds the necessary code to generate a default template and to apply customizations using the "yedit" module.
2017-10-23strip dash when comparing version with Python3Jan Chaloupka
2017-10-20Management Cleanup and Provider IntegrationTim Bielawa
* Add container provider integration * General cleanup * Poll until service fully starts * Add notes on multiple-provider additions
2017-10-20verstion_gte seems unreliable on containerized installsScott Dodson
2017-10-20Merge pull request #5749 from abutcher/servinginfo-client-ca-upgradeOpenShift Merge Robot
Automatic merge from submit-queue. Set servingInfo.clientCA to ca.crt during upgrade. https://bugzilla.redhat.com/show_bug.cgi?id=1501795
2017-10-20Retry reconcile in case of error and give up eventuallySimo Sorce
Handles spurious failures and does not get mad if it just cannot do it. Signed-off-by: Simo Sorce <simo@redhat.com>
2017-10-20Merge pull request #5574 from dulek/containerized_kuryr_supportScott Dodson
Initial Kuryr support
2017-10-20Initial Kuryr supportMichał Dulko
This commit enables deploying Kuryr networking on top of OpenShift in containers. kuryr-controller is a Deployment and kuryr-cni is deployed as DaemonSet (container will drop all CNI configuration files). Co-Authored-By: Antoni Segura Puimedon <celebdor@gmail.com>
2017-10-19Force include_role to static for loading openshift_facts moduleRussell Teague
2017-10-19Enable oreg_auth credential replace during upgradesMichael Gugino
Currently, upgrades run a docker image pull prior to upgrading masters and nodes for containerized installs. If using a secure registry, and a user wishes to upgrade their credentials due to expiry, the image pull will fail. This commit ensures docker login credentials are updated during upgrades, if necessary. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503995
2017-10-19Generate all internal hostnames of no_proxyGan Huang
2017-10-19Add installer checkpoint for prometheusZohar Galor
Add checkpoint steps for full cluster install and individual entry point playbook.
2017-10-19set use_manageiq as defaultErez Freiberger
2017-10-18Merge pull request #5763 from mgugino-upstream-stage/fix-master-config-upgradeScott Dodson
Remove unneeded master config updates during upgrades
2017-10-18Ensure upgrades apply latest journald settingsMichael Gugino
Currently, existing clusters might not have journald configurations applied. This may result in a rate- limiting of important log messages on openshift-masters. This commit ensures that journald settings are applied during the upgrade process openshif-masters. Fixes: https://github.com/openshift/openshift-ansible/issues/5642
2017-10-18Merge pull request #5361 from kwoodson/fix_bootstrap_filesScott Dodson
Provisioning updates.
2017-10-18Merge pull request #5459 from zgalor/nfs_fixScott Dodson
Fix prometheus role nfs
2017-10-17Do not remove files for bootstrap if resolv or dns.Kenny Woodson
2017-10-17Merge pull request #5730 from sdodson/restart-controllersScott Dodson
Restart all controllers to force reconfiguration during upgrade
2017-10-17Remove unneeded master config updates during upgradesMichael Gugino
Currently, upgrade_control_plane.yml will add any missing sections to the openshift master's config. These additions are only needed once. Users who perform multiple upgrades to their clusters over time do not need to have these variables re-inserted. Currently, re-inserting these variables can cause unwanted local changes. This commit ensures that the variables are only inserted into openshift master's config once. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1486054
2017-10-17Set servingInfo.clientCA to ca.crt during upgrade.Andrew Butcher
2017-10-17Merge pull request #5765 from abutcher/service-serving-cert-typoOpenShift Merge Robot
Automatic merge from submit-queue. Ensure controllerConfig.serviceServingCert is correctly set during upgrade. A typo was originally introduced in https://github.com/openshift/openshift-ansible/pull/2449 causing an incorrect key to be configured within the master config. This commit ensures that the correct key is set during upgrades. /cc @dlbewley https://bugzilla.redhat.com/show_bug.cgi?id=1500981
2017-10-16Fix prometheus role nfsZohar Galor
Allow for external or internal nfs. use facts as used for logging and metrics. Update prometheus-alertmanager image to v0.9.1
2017-10-16Merge pull request #5734 from mtnbikenc/refactor-mgmt-entryOpenShift Merge Robot
Automatic merge from submit-queue. Refactor openshift-management entry point Moves checkpointing steps into path for both full cluster install and individual entry point playbook.
2017-10-16Merge pull request #5733 from ↵OpenShift Merge Robot
ingvagabund/data-migrate-of-embedded-etcd-not-allowed Automatic merge from submit-queue. data migration of embedded etcd not allowed The v2->v3 migration of an embedded etcd is depricated. Instead, one needs to run: 1. `playbooks/byo/openshift-etcd/embedded2external.yml` to migrate the embedded etcd to an external one (see https://github.com/openshift/openshift-ansible/pull/5672) 2. then `playbooks/byo/openshift-etcd/migrate.yml` to migrate the v2 data to v3 data
2017-10-15Merge pull request #5747 from ↵OpenShift Merge Robot
ingvagabund/set-initial-etcd-cluster-properly-system-container-scale-up Automatic merge from submit-queue. Set initial etcd cluster properly during system container scale up When a cluster is scaled up, the ETCD_INITIAL_CLUSTER must not contain etcd members that are not about to start or are not part of the etcd cluster. Consolidating `initial_etcd_cluster` and `etcd_initial_cluster` as they do exactly the same. Bug: 1500667
2017-10-13Ensure controllerConfig.serviceServingCert is correctly set during upgrade.Andrew Butcher
2017-10-13Merge pull request #5735 from ↵Jan Chaloupka
ingvagabund/default-oo_new_etcd_to_config-to-empty-list Default groups.oo_new_etcd_to_config to an empty list
2017-10-13set initial etcd cluster properly during system container scale upJan Chaloupka
2017-10-12Merge pull request #5740 from ↵OpenShift Merge Robot
mgugino-upstream-stage/ensure_docker_containerized_lb Automatic merge from submit-queue. Ensure docker is installed for containerized load balancers Currently, containerized load balancers may not have docker configured by openshift-ansible. This commit ensures that containerized load balancers have the openshift_docker role applied. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1496756
2017-10-12Refactor health check playbooksRussell Teague
- Standardize play/tasks naming - Move install checks to separate playbook with checkpointing - Correct 'docker_storage' tags
2017-10-12Ensure upgrade playbook exits on health check failuresRussell Teague
https://bugzilla.redhat.com/show_bug.cgi?id=1484324
2017-10-12Ensure docker is installed for containerized load balancersMichael Gugino
Currently, containerized load balancers may not have docker configured by openshift-ansible. This commit ensures that containerized load balancers have the openshift_docker role applied. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1496756
2017-10-12default groups.oo_new_etcd_to_config to an empty listJan Chaloupka
2017-10-12Refactor openshift-management entry pointRussell Teague
2017-10-12data migration of embedded etcd not allowedJan Chaloupka
2017-10-11Merge pull request #5727 from mtnbikenc/fix-1499254OpenShift Merge Robot
Automatic merge from submit-queue. 1499254 Ensure host was reached for proper conditional validation If a host was unreachable during module setup, facts will not be initialized properly and will result in later failures when stepping through host groups. Verification that 'openshift' is defined will skip any hosts which were previously unreachable and did not have facts initialized. Fixes 1499254 https://bugzilla.redhat.com/show_bug.cgi?id=1499254
2017-10-11Restart all controllers to force reconfiguration during upgradeScott Dodson
2017-10-11Merge pull request #5672 from ingvagabund/migrate-embedded-etcdOpenShift Merge Robot
Automatic merge from submit-queue. Migrate embedded etcd to external etcd Trello card: https://trello.com/c/9fnBfkT5/528-migrate-embedded-etcd-hosts-to-external-process?menu=filter&filter=label:committed-3.7 Tested on: - [x] embedded etcd -> external rpm etcd - [x] embedded etcd -> external docker etcd One needs to set the `openshift_image_tag` before running the migration to containerized docker etcd.
2017-10-11Fix broken debug_levelMichael Gugino
Currently, debug_level is documented as a way to change the debug output level for both masters and nodes. debug_level does not currently have any effect. This commit removes debug_level from openshift_facts and properly sets openshift_master_debug_level and openshift_node_debug_level to the value of debug_level specified in the inventory. This commit also reorganizes some set_fact tasks needed during master upgrades to put all work-around set-facts for undefined variables in one place, allowing for easier cleanup in the future. This includes an entry for openshift_master_debug_level. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500164
2017-10-11Merge pull request #5617 from simo5/up36roleOpenShift Merge Robot
Automatic merge from submit-queue. Force reconciliation of role for 3.6 This is needed because in 3.6 we cannot reconcile non-cluster roles in the bootstrap reconciliation code. In 3.7 this is taken care of in code.
2017-10-11Ensure host was reached for proper conditional validationRussell Teague
If a host was unreachable during module setup, facts will not be initialized properly and will result in later failures when stepping through host groups. Verification that 'openshift' is defined will skip any hosts which were previously unreachable and did not have facts initialized. Fixes 1499254 https://bugzilla.redhat.com/show_bug.cgi?id=1499254
2017-10-10Merge pull request #5659 from mtnbikenc/fix-checkpointingOpenShift Merge Robot
Automatic merge from submit-queue. Allow checkpoint status to work across all groups Conditionals placed in inventories were not being applied to localhost causing the checkpoint status to not be updated properly. Moving to the `oo_all_hosts` group will correctly pick up the conditional and apply regardless of which group (or host) may have that conditional set.
2017-10-10Merge pull request #5129 from maxamillion/fedora-compatOpenShift Merge Robot
Automatic merge from submit-queue. Fedora compat fixes for package version checks and dnf bug workaround Fix a couple things that don't work with Fedora: - Don't attempt to version check components, they aren't going to match the hard coded RHEL package versions. - Work around a [bug in dnf](https://bugzilla.redhat.com/show_bug.cgi?id=1199432)'s python API that throws an error when a package spec has a `*` character in the Release field Once we're done with review, I'll squash commits.
2017-10-10Display warnings at the end of the control plane upgradeScott Dodson