summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Move wait_for_pods to it's own play openshift_hostedMichael Gugino2017-12-214-32/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, both registry and router pods need to be polled for successful deployment. Somtimes this can take up to a minute. This commit attempts to deploy both pods before polling either. This should reduce the average wait time for polling pods by 50% as time spent polling the first will also allow the second pod to continue it's own deployment.
* | | | | | | Merge pull request #5894 from ewolinetz/logging_defaults_from_existingOpenShift Merge Robot2018-01-0213-67/+312
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Update logging to use existing cluster deployment for defaults This will allow us to use logging facts to set defaults of specific configurations such as ES index replicas and shard count. The update to logging facts yields us output like: ```json "elasticsearch": { "clusterrolebindings": {}, "configmaps": { "logging-elasticsearch": { "elasticsearch.yml": { "cloud": { "kubernetes": { "namespace": "${NAMESPACE}", "pod_label": "${POD_LABEL}", "pod_port": 9300 } }, "cluster": { "name": "${CLUSTER_NAME}" }, "discovery": { "type": "kubernetes", "zen.minimum_master_nodes": "${NODE_QUORUM}", "zen.ping.multicast.enabled": false }, "gateway": { "expected_nodes": "${RECOVER_EXPECTED_NODES}", "recover_after_nodes": "${NODE_QUORUM}", "recover_after_time": "${RECOVER_AFTER_TIME}" }, "index": { "number_of_replicas": 0, "number_of_shards": 1, "translog": { "flush_threshold_period": "5m", "flush_threshold_size": "256mb" }, "unassigned.node_left.delayed_timeout": "2m" }, "io.fabric8.elasticsearch.authentication.users": [ "system.logging.kibana", "system.logging.fluentd", "system.logging.curator", "system.admin" ], ``` TODO: - [x] Update logging facts to pull out settings from config maps - [x] Move `openshift_sanitize_inventory/library/conditional_set_fact.py` up to repo level - [x] Generate diffs against currently deployed configs and correctly patch in custom changes from customers - [x] Use `conditional_set_fact` to easily set defaults for logging based on logging facts, or falling back to role defaults when not specified in the inventory - [x] Update all components to follow patching configmaps
| * | | | | | | Updating logging_facts to be able to pull values from config maps yaml ↵Eric Wolinetz2018-01-0213-67/+312
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | files, use diffs to keep custom changes, white list certain settings when creating diffs
* | | | | | | Merge pull request #6523 from nhosoi/allowed_versionsOpenShift Merge Robot2018-01-025-10/+10
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bug 1527178 - installation of logging stack failed: Invalid version s… …pecified for Elasticsearch openshift_logging_{curator,elasicsearch,fluentd,kibana,mux}/vars/main.yml: - adding "3_8" to __allowed_.*_versions - replacing the value of __latest_.*_version "3_6" with "3_8". Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1527178
| * | | | | | Bug 1527178 - installation of logging stack failed: Invalid version ↵Noriko Hosoi2017-12-275-10/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified for Elasticsearch openshift_logging_{curator,elasicsearch,fluentd,kibana,mux}/vars/main.yml: - adding "3_8" to __allowed_.*_versions - replacing the value of __latest_.*_version "3_6" with "3_8".
* | | | | | Merge pull request #6554 from mgugino-upstream-stage/bootstrap-to-include-roleMichael Gugino2018-01-021-4/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Remove bootstrap.yml from main.yml in openshift_node role
| * | | | | Remove bootstrap.yml from main.yml in openshift_node roleMichael Gugino2017-12-211-4/+0
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This commit utilizes include_role for bootstrapping the node instead of conditional include of tasks now that the node role has no meta includes that have tasks.
* | | | | Merge pull request #6497 from kwoodson/remove_docker_credsOpenShift Merge Robot2017-12-231-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Adding no_log to registry_auth. We were seeing credentials show up in our jenkins logs. We'd prefer if they were not logged. I'm not sure the repercussions but these are sensitive and probably should be `no_log`.
| * | | | | Adding no_log to registry_auth.Kenny Woodson2017-12-151-0/+2
| | | | | |
* | | | | | Merge pull request #6462 from kwoodson/daemonset_configOpenShift Merge Robot2017-12-234-0/+222
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Laying config files down in a daemonset pod. Work to have daemonset config laydown files for nodes used with golden images. Based on the original work from @smarterclayton https://github.com/openshift/origin/pull/17351
| * | | | | daemonset config role.Kenny Woodson2017-12-214-0/+222
| | | | | |
* | | | | | Remove references to deployment_typeMichael Gugino2017-12-2121-59/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* | | | | | Move validate_hosts to prerequisites.ymlMichael Gugino2017-12-203-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move more checks outside of init/main.yml for speeding up upgrades and other operational plays that need to run.
* | | | | | Move sanity_checks into custom action pluginMichael Gugino2017-12-201-0/+96
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit moves sanity_checks tasks into a custom action plugin that is only run against a single host. This will result in a large reduction of tasks during initialization
* | | | | Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-20113-313/+247
| | | | | | | | | | | | | | | | | | | | | | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* | | | | Merge pull request #6524 from kwoodson/docker_storage_setup_overlayScott Dodson2017-12-203-0/+36
|\ \ \ \ \ | | | | | | | | | | | | Adding support for docker-storage-setup on overlay
| * | | | | Adding support for docker-storage-setup on overlayKenny Woodson2017-12-193-0/+36
| |/ / / /
* | | | | Merge pull request #6509 from abutcher/asg-tagsOpenShift Merge Robot2017-12-193-14/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Move node group tags to openshift_aws_{master,node}_group. Move node groups tags to `openshift_aws_{master,node}_group` variables as discussed below.
| * | | | | Move node group tags to openshift_aws_{master,node}_group.Andrew Butcher2017-12-183-14/+15
| | |_|_|/ | |/| | |
* | | | | Merge pull request #6062 from luis5tb/readinessMichael Gugino2017-12-191-0/+7
|\ \ \ \ \ | | | | | | | | | | | | Add readiness probe to kuryr controller pod
| * | | | | Add readiness probe to kuryr controller podLuis Tomas Bolivar2017-11-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits adds a readiness probe to the kuryr controller when the kuryr ports pool functionality is enabled. This way the controller will not be set as ready until all the pre-created ports have been loaded into their respective pools and are ready to be used by the pods.
* | | | | | Merge pull request #6510 from abutcher/centos37Scott Dodson2017-12-191-0/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add CentOS-OpenShift-Origin37 repo template.
| * | | | | | Add CentOS-OpenShift-Origin37 repo template.Andrew Butcher2017-12-181-0/+27
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #6469 from mgugino-upstream-stage/plugin-consolidateScott Dodson2017-12-19103-188/+1496
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Plugin consolidate
| * | | | | Relocate filter plugins to lib_utilsMichael Gugino2017-12-18103-188/+1496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* | | | | | Merge pull request #6515 from mgugino-upstream-stage/defactingOpenShift Merge Robot2017-12-1910-34/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Remove some small items from openshift_facts Remove some small items from openshift_facts that don't need to be there.
| * | | | | | Remove some small items from openshift_factsMichael Gugino2017-12-1810-34/+20
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Remove some small items from openshift_facts that don't need to be there.
* | | | | | Merge pull request #6517 from mgugino-upstream-stage/router-selectorOpenShift Merge Robot2017-12-191-5/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix hosted_reg_router selectors This commit removes duplicate (and incorrect) assignment of openshift_hosted_registry_selector and openshift_hosted_router_selector Fixes https://github.com/openshift/origin/issues/17682
| * | | | | Fix hosted_reg_router selectorsMichael Gugino2017-12-181-5/+0
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes duplicate (and incorrect) assignment of openshift_hosted_registry_selector and openshift_hosted_router_selector
* / / / / Remove openshift_node_facts roleMichael Gugino2017-12-1813-110/+38
|/ / / / | | | | | | | | | | | | | | | | This commit removes the remainder of openshift_node_facts role.
* | | | Merge pull request #6492 from mazzystr/fix_rhel_reposMichael Gugino2017-12-181-3/+2
|\ \ \ \ | | | | | | | | | | Fix rhel_repos disable command
| * | | | Fix rhel_repos disable commandChris Callegari2017-12-151-3/+2
| | | | |
* | | | | Merge pull request #6456 from mgugino-upstream-stage/node-factsMichael Gugino2017-12-1711-105/+68
|\ \ \ \ \ | |_|_|_|/ |/| | | | Remove openshift_node_facts part 1
| * | | | Remove openshift_node_facts part 1Michael Gugino2017-12-1411-105/+68
| | | | | | | | | | | | | | | | | | | | | | | | | This commit removes some items from openshift_facts for the openshit_node role.
* | | | | Merge pull request #6489 from mgugino-upstream-stage/fix-repos-v2Michael Gugino2017-12-151-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | Fix rhel_subscribe boolean
| * | | | Fix rhel_subscribe booleanMichael Gugino2017-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes a variable name to it's correct name used in a when condition. Also makes use of 'is defined' consistent.
* | | | | Merge pull request #6484 from mtnbikenc/tests-as-filtersRussell Teague2017-12-1573-145/+182
|\ \ \ \ \ | | | | | | | | | | | | Deprecate using Ansible tests as filters
| * | | | | Deprecate using Ansible tests as filtersRussell Teague2017-12-1473-145/+182
| | | | | |
* | | | | | Merge pull request #6450 from nhosoi/file_buffer_limitOpenShift Merge Robot2017-12-152-2/+2
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. openshift_logging_{fluentd,mux}_file_buffer_limit mismatch . fixing a typo in fluentd template . adjusting the default value of openshift_logging_mux_file_buffer_limit
| * | | | | openshift_logging_{fluentd,mux}_file_buffer_limit mismatchNoriko Hosoi2017-12-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . fixing a typo in fluentd template . adjusting the default value of openshift_logging_mux_file_buffer_limit
* | | | | | Merge pull request #6379 from ewolinetz/disable_config_trigger_loggingOpenShift Merge Robot2017-12-156-0/+107
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Disable config trigger logging Removes the default config trigger from the ES generated DC and adds a handler to roll out any updated ES node in a controlled, rolling manner Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1498989
| * | | | | Removing config trigger for ES DC, updating to use a handler to rollout ES ↵Eric Wolinetz2017-12-146-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | at the end of a deployment, allowing for override with variable
* | | | | | Merge pull request #6483 from mgugino-upstream-stage/fix-reposScott Dodson2017-12-143-47/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Move repo and subscribe to prerequisites
| * | | | | | Move repo and subscribe to prerequisitesMichael Gugino2017-12-143-47/+14
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | This commit refactors some steps in rhel subscribe and moves repos.yml from init/main to prerequisites.
* | | | | | Merge pull request #6386 from jim-minter/spinning_tsb_podsScott Dodson2017-12-142-0/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | | prevent TSB pods from spinning on inappropriate nodes
| * | | | | prevent TSB pods from spinning on inappropriate nodesJim Minter2017-12-112-0/+4
| | | | | |
* | | | | | Merge pull request #6314 from riffraff169/contiv-ovs-fixScott Dodson2017-12-141-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove version requirement from openvswitch package
| * | | | | | Remove version requirement from openvswitch package, since listed version ↵riffraff2017-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | got removed from repo
* | | | | | | Merge pull request #6449 from giuseppe/crio-change-socket-pathScott Dodson2017-12-142-3/+3
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | crio: change socket path to /var/run/crio/crio.sock
| * | | | | | crio: change socket path to /var/run/crio/crio.sockGiuseppe Scrivano2017-12-122-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it is required for OpenShift 3.9 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>