summaryrefslogtreecommitdiff
path: root/playbooks/common/openshift-master
AgeCommit message (Collapse)Author
2017-11-22Playbook Consolidation - openshift-masterRussell Teague
2017-11-22Merge pull request #6146 from mtnbikenc/consolidate-openshift-loadbalancerRussell Teague
Playbook Consolidation - openshift-loadbalancer
2017-11-21Playbook Consolidation - openshift-nodeRussell Teague
2017-11-16Playbook Consolidation - openshift-loadbalancerRussell Teague
2017-11-16Playbook Consolidation - openshift-etcdRussell Teague
2017-11-16Merge pull request #5500 from vshn/projtmpl1OpenShift Merge Robot
Automatic merge from submit-queue. Add role to configure project request template 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. We need to configure custom services and endpoints in every project. The project request template enables us to do that automatically in every project and we'd like to manage the template using Ansible.
2017-11-15Merge pull request #6084 from mgugino-upstream-stage/combine-master-upgradeOpenShift Merge Robot
Automatic merge from submit-queue. Combine master upgrade play with role 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-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-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-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-08Merge pull request #6016 from kwoodson/bootstrap_enhancements-v3Kenny Woodson
Bootstrap enhancements.
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-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-05Revert "Bootstrap enhancements."Clayton Coleman
2017-11-03Bootstrap enhancements.Kenny Woodson
2017-10-31Add execution times to checkpoint statusRussell Teague
2017-10-27Correctly install cockpitScott Dodson
Seems this was changed inadvertantly in #5378
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-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-19set use_manageiq as defaultErez Freiberger
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-10Separate tuned daemon setup into a role.Jiri Mencak
Currently, profiles for the tuned daemon are set only for OpenShift node(s). This excludes the OpenShift loadbalancer. As a result, ARP cache limits on loadbalancers are not raised. This causes problems with HA setups where loadbalancers serve 1k+ OpenShift nodes. This commit ensures the openshift-control-plane role is applied to loadbalancers, masters and OpenShift infra nodes. Regular OpenShift worker nodes get the openshift-node profile. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1498213
2017-10-04Merge pull request #5643 from mtnbikenc/refactor-certificatesOpenShift Merge Robot
Automatic merge from submit-queue. Refactor certificate playbooks for checkpointing The recent breakout of the certificate playbooks resulted in the certificate portion of the install to be outside of the component checkpoint. This PR moves the certificate playbooks inside their respective config.yml playbook. Removes an unused tasks file from the openshift_named_certificates role.
2017-10-04Allow checkpoint status to work across all groupsRussell Teague
2017-10-03Move master cert playbooks into master config pathRussell Teague
2017-10-03Merge pull request #5621 from abutcher/scaleup-portal-netOpenShift Merge Robot
Automatic merge from submit-queue. Ensure openshift.common.portal_net updated during scaleup. https://bugzilla.redhat.com/show_bug.cgi?id=1451023 This fact is set in `initialize_facts.yml` at the beginning of scaleup so make sure that we update this fact if we read a different value from the first master's config file.
2017-10-02Ensure openshift.common.portal_net updated during scaleup.Andrew Butcher
2017-10-02Separate certificate playbooks.Andrew Butcher
2017-09-29Remove oo_option facts.Andrew Butcher
2017-09-28Merge pull request #5508 from sdodson/disable-image-streamsOpenShift Merge Robot
Automatic merge from submit-queue. Allow examples management to be disabled By setting openshift_install_examples=false the image stream and quick start templates will not be installed https://trello.com/c/zLaSgxig/436-2-customers-need-a-way-to-opt-out-of-openshift-ansible-template-and-imagestream-mangement Fixes #5061
2017-09-27OpenShift-Ansible Installer CheckpointingRussell Teague
- Added installer_checkpoint role and callback plugin - Added checkpoint 'Start' and 'End' plays to each installation phase Additional items related to enabling proper checkpointing: - Removed openshift_set_hostname and related task (related to 3.0) - Added openshift-hosted entry point playbook - Moved openshift metrics and logging out of openshift_hosted playbook - Moved API Aggregation play to master install
2017-09-22Add booleans to prevent unwanted install of nuage roles.Michael Gugino
Recently, some role dependencies were removed from meta depends into playbooks. Particularly, the nuage role requires several roles. Currently, only the nuage_master role requires openshift_use_nuage to be true. This commit requires the other nuage roles to reference the variable openshift_use_nuage before install.
2017-09-22Allow examples management to be disabledScott Dodson
2017-09-21Merge pull request #5371 from ingvagabund/consolidate-etcd-certs-rolesOpenShift Merge Robot
Automatic merge from submit-queue consolidate etcd certs roles This is a starter for consolidation of all etcd like roles into a single `etcd` action-based role. I have intentionally started with the simplest one to demonstrate the steps needed to make it so and to make the review easy enough for everyone.
2017-09-21Merge pull request #5473 from abutcher/scaleup-network-valuesScott Dodson
Set network facts using first master's config during scaleup.
2017-09-20Set network facts using first master's config during scaleup.Andrew Butcher
2017-09-20Cleanup old deployment typesMichael Gugino
Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
2017-09-18Consolidate etcd certs rolesJan Chaloupka
This is a part of the etcd_ like role consolidationi into an action-based role. As part of the consilidation some roles have been removed and some replaced by include_role module. Resulting in reorder and shift of role dependencies from a role into a play.
2017-09-13pull openshift_master deps out into a playJan Chaloupka
2017-09-08Correct include path to not follow symlinkRussell Teague
2017-09-07Merge pull request #5305 from mtnbikenc/breakout-master-additionalOpenShift Bot
Merged by openshift-bot
2017-09-06Remove openshift-commonMichael Gugino
Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
2017-09-05Move master additional config out of baseRussell Teague
2017-09-01Break out master config into stand-alone playbookRussell Teague
Added byo/openshift-master/config.yml as a new entry point for performing master installation. Excluder disable/enable for master has been moved to common/openshift-master/config.yml to follow a standard pattern that could be used for both installation and scaleup playbooks.
2017-08-31Break out node config into stand-alone playbookRussell Teague
Added byo/openshift-node/config.yml as a new entry point for performing node installation. This playbook must be run after masters have already been deployed. Excluder disable/enable for both nodes and masters has been moved their respective config.yml. This created a common pattern that could be used for both installation and scaleup playbooks.
2017-08-29Move firewall install and fix scaleup playbooksRussell Teague