summaryrefslogtreecommitdiff
path: root/playbooks/common
AgeCommit message (Collapse)Author
2017-11-15Playbook Consolidation - InitializationRussell Teague
2017-11-14Merge pull request #6068 from mtnbikenc/remove-old-upgradesOpenShift Merge Robot
Automatic merge from submit-queue. Remove upgrade playbooks for 3.3 through 3.5 Release branches should be used for older upgrades.
2017-11-14Merge pull request #6115 from sdodson/disable-auth-migrationScott Dodson
Allow disabling authorization migration check
2017-11-14Removed old version codeMichael Gugino
This commit removes any references to versions < 1.5/3.5 We assume the version is always greater than or equal to 1.5/3.5.
2017-11-14Allow disabling authorization migration checkScott Dodson
2017-11-14Merge pull request #5948 from mtnbikenc/checkpoint-timesOpenShift Merge Robot
Automatic merge from submit-queue. Add execution times to checkpoint status This PR adds execution times to the checkpoint status report at the end of an installer playbook run. - Checkpoint plays now use `all` host group to avoid using an undefined host group during the Initialization phase as well as maintaining the need to collect inventory vars for host group conditionals - `run_once: true` is used to limit the execution to only one host - `installer_phase_*` data is now stored as a dict so multiple data points can be stored for that phase - Documentation updated ``` INSTALLER STATUS *************************************************************** Initialization : Complete (0:02:14) Health Check : Complete (0:01:10) etcd Install : Complete (0:02:01) Master Install : Complete (0:11:43) Master Additional Install : Complete (0:00:54) Node Install : Complete (0:14:11) Hosted Install : Complete (0:03:28) ```
2017-11-13Merge pull request #6101 from mgugino-upstream-stage/fix-tsb-jsonScott Dodson
Fix extension script for catalog
2017-11-13First pass at v3.8 supportScott Dodson
2017-11-13Fix extension script for catalogMichael Gugino
Currently, playbook wire_aggregator places an empty plugin script for openshift master called openshift-ansible-catalog-console.js This file should not be empty if using template_service_broker. I have updated this file to include a boolean and the proper string. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506502
2017-11-09Combine master upgrade play with roleMichael Gugino
Currently, there are plays importing tasks directly from openshift_master role. This has caused numerous bugs and code duplicaiton in the past. This commit combines the upgrade into openshift_master role utilizing include_role syntax.
2017-11-08Remove upgrade playbooks for 3.3 through 3.5Russell Teague
2017-11-08Merge pull request #6016 from kwoodson/bootstrap_enhancements-v3Kenny Woodson
Bootstrap enhancements.
2017-11-08Fix preupgrade authorization objects are in sync minor versionsMichael Gugino
Currently, we check that upgrade target is less than 3.8, but this will break for minor upgrades. This commit set's a fact early in the upgrade process to deterime what the currently installed version on the first master is. This fact is used to determine if our currently installed version is less than 3.7. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508301
2017-11-08Remove debug code that was mistakenly committedZohar Galor
This also causes a failure if nfs block is not defined, because the condition is missing. Anyway this shouldn't have been committed.
2017-11-08Bootstrap enhancements.Kenny Woodson
2017-11-06Merge pull request #6031 from abutcher/temporary-servinginfo-clientcaOpenShift Merge Robot
Automatic merge from submit-queue. Temporarily set master servingInfo.clientCA as client-ca-bundle.crt during rolling CA redeployment. This PR temporarily configures master `servingInfo.clientCA` as `client-ca-bundle.crt` during CA redeploy so that clients referencing the old OpenShift CA can continue to function until all cluster certificates have been replaced and `servingInfo.clientCA` is reset to `ca.crt`. `client-ca-bundle.crt` is a new bundle created by the `openshift_ca` role which contains old and new OpenShift CA certificates. https://bugzilla.redhat.com/show_bug.cgi?id=1509124 Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1493276
2017-11-06Merge pull request #6027 from ↵OpenShift Merge Robot
mgugino-upstream-stage/retry-restart-master-controllers Automatic merge from submit-queue. Retry restarting master controllers Currently, master controller services may fail to restart if master api services are not fully initialized. This commit enables retry of master controllers. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509837
2017-11-06Temporarily set master servingInfo.clientCA as client-ca-bundle.crt during ↵Andrew Butcher
rolling CA redeployment.
2017-11-06Retry restarting master controllersMichael Gugino
Currently, master controller services may fail to restart if master api services are not fully initialized. This commit enables retry of master controllers. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509837
2017-11-06Fix preupgrade authorization objects are in syncMichael Gugino
Currently, this task is executed based on openshift_version. openshift_version is based on the upgrade target, thus not the currently install versions. This commit ensures that the task executes as intended. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508301
2017-11-05Revert "Bootstrap enhancements."Clayton Coleman
2017-11-03Merge pull request #6006 from mgugino-upstream-stage/elb-v2OpenShift Merge Robot
Automatic merge from submit-queue. Bootstrap enhancements. This includes the elb work.
2017-11-03Bootstrap enhancements.Kenny Woodson
2017-11-03Merge pull request #5959 from sdodson/sc-asb-tsb-on-by-defaultOpenShift Merge Robot
Automatic merge from submit-queue. Enable SC, ASB, TSB by default It was decided that SC, ASB, and TSB should be installed by default. This will not install the components on an upgrade from 3.6 to 3.7, that will require that you run the sc playbook on your own. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1508085
2017-11-03Merge pull request #5995 from ashcrow/docker-gc-daemonsetOpenShift Merge Robot
Automatic merge from submit-queue. openshift_hosted: Add docker-gc Two new inventory variables have been created: - ``openshift_crio_enable_docker_gc``: Enable docker_gc daemon set - ``openshift_crio_docker_gc_node_selector``: Optional dictionary to use node selector When ``openshift_crio_enable_docker_gc`` and ``openshift_use_crio`` are both true then ``docker_gc`` daemonset will be created along with adding a ``docker-gc`` sa.
2017-11-03Correct groupname during upgrade_control_plane playMichael Gugino
Currently, upgrade_control_plane calls tasks meant for master on etcd group. This commit corrects the groupname. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508734
2017-11-02openshift_hosted: Add docker-gcSteve Milner
Two new inventory variables have been created: - openshift_crio_enable_docker_gc: Enable docker_gc daemon set - openshift_crio_docker_gc_node_selector: Optional dictionary to use node selector When openshift_crio_enable_docker_gc and openshift_use_crio are both true then dockergc daemonset will be created along with adding a dockergc sa. Signed-off-by: Steve Milner <smilner@redhat.com>
2017-11-02Enable SC, ASB, TSB by defaultScott Dodson
This will not install the components on an upgrade.
2017-10-31Add execution times to checkpoint statusRussell Teague
2017-10-31Merge pull request #5722 from qinpingli/sc_openstackOpenShift Merge Robot
Automatic merge from submit-queue. Create default storageclass for cloudprovider openstack With this patch, a default storageclass will be created on openstack cloudprovider after installation.
2017-10-30Merge pull request #5915 from sdodson/bz1507061OpenShift Merge Robot
Automatic merge from submit-queue. Correctly install cockpit Seems this was changed inadvertantly in #5378 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1507061
2017-10-30Merge pull request #5720 from sdodson/issue5108Scott Dodson
Add dm_thin_pool for gluster use
2017-10-30Add dm_thin_pool for gluster useScott Dodson
2017-10-27Correctly install cockpitScott Dodson
Seems this was changed inadvertantly in #5378
2017-10-27Merge pull request #5823 from mtnbikenc/fix-initialize_factsScott Dodson
Force include_role to static for loading openshift_facts module
2017-10-27Merge pull request #5742 from mtnbikenc/refactor-checksScott Dodson
1504593 Refactor health check playbooks
2017-10-27Merge pull request #5875 from mgugino-upstream-stage/fix-upgrade-config-hookMichael Gugino
This previously passed all CI tests, merge queue broke last night. Merging, this is a blocker bug.
2017-10-27Create default storageclass for cloudprovider openstackPing Qin
2017-10-26Merge pull request #5885 from kwoodson/fix_image_cleanScott Dodson
Moving removal of unwanted artifacts to image_prep.
2017-10-26Merge pull request #5793 from tbielawa/openshift_management_moduleOpenShift Merge Robot
Automatic merge from submit-queue. Openshift MGMT Fixes and Container Provider Integration Various small fixes/polishing to the openshift management role. * Updated uninstall script * Automatically add cluster to new management deployment * Scaffolding for scripts to add *N* number of OCP/Origin clusters as Container Providers in any arbitrary MIQ/CFME instance * Fix mis-named task in `openshift_nfs/create_export` * Uninstall playbook only runs on one master
2017-10-25Merge pull request #5850 from mgugino-upstream-stage/remove-base-packageScott Dodson
Remove base package install
2017-10-25Moving removal of unwanted artifacts to image_prep.Kenny Woodson
2017-10-25Merge pull request #5810 from zgalor/refactor-prom-entryOpenShift Merge Robot
Automatic merge from submit-queue. Add installer checkpoint for prometheus
2017-10-25Add master config upgrade hook to upgrade-all playsMichael Gugino
Currently, in 1.5, 3.6, 1.7 upgrade-all plays, control plane upgrades are not called correctly. This commit ensures the master config hook is appropriately applied during these upgrades to match the steps in control plane only upgrades. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1486054
2017-10-24Merge pull request #5814 from mgugino-upstream-stage/docker-auth-upgradesOpenShift Merge Robot
Automatic merge from submit-queue. Enable oreg_auth credential replace during upgrades 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-24Merge pull request #5838 from ↵Jan Chaloupka
ingvagabund/strip-dash-when-comparing-versions-python3 strip dash when comparing version with Python3
2017-10-24Merge pull request #5796 from mgugino-upstream-stage/journald-masters-upgradesOpenShift Merge Robot
Automatic merge from submit-queue. Ensure upgrades apply latest journald settings 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-23Merge pull request #5569 from ganhuang/all-hosts-no-proxyScott Dodson
Generate internal hostnames of no_proxy
2017-10-23Merge pull request #5832 from sdodson/bz1504525Scott Dodson
Correct version gates on policy reconciliation and add retries
2017-10-23Merge pull request #5845 from ingvagabund/check-correct-master-servicesScott Dodson
Check if the master service is non-ha or not