summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
Commit message (Collapse)AuthorAgeFilesLines
* Fix master and node system container variablesMichael Gugino2018-02-061-0/+4
| | | | | | | | | | | This commit corrects service names and adds DOCKER_SERVICE variable to openshift_master system container creation. This will ensure services will restart correctly and in the proper order. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542324
* Upgrade to migrate to using push to DNS for registries.Kenny Woodson2018-02-013-12/+19
|
* Merge pull request #6876 from mgugino-upstream-stage/fix-restart-master-playScott Dodson2018-02-012-11/+8
|\ | | | | Remove master_ha bool checks
| * Remove master_ha bool checksMichael Gugino2018-01-252-11/+8
| | | | | | | | | | | | | | | | | | | | Most of these checks are no longer applicable to the tasks on which they are applied. This commit removes incorrect ha checks to ensure services are restarted at appropriate times. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500897
* | Don't emit assetConfig on 3.9Scott Dodson2018-01-251-0/+3
|/
* Add call to 3.8 playbook in 3.9 upgradeScott Dodson2018-01-171-1/+0
|
* Exclude 3.9 packages during 3.8 upgradeScott Dodson2018-01-171-2/+21
| | | | | | | | There are some obsoletes in 3.9 packages which lead yum to upgrade directly from 3.7 to 3.9 when you ask for 3.8 packages while 3.9 repos are enabled. Since we'd like to allow people to run one playbook to upgrade from 3.7 to 3.8 to 3.9 we need to exclude those packages when upgrading to 3.8
* Remove tuned-profiles from list of master packages upgradedScott Dodson2018-01-161-1/+0
|
* Merge pull request #6614 from mgugino-upstream-stage/plugins-to-lib-utilsScott Dodson2018-01-112-0/+3
|\ | | | | Move more plugins to lib_utils
| * Move more plugins to lib_utilsMichael Gugino2018-01-102-0/+3
| | | | | | | | | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* | Add defaults for openshift_pkg_versionMichael Gugino2018-01-101-6/+6
|/ | | | | | | | | | | | This variable may or may not be defined by the users. During deployments, it will be set to '-{{ openshift_version }}' if undefined. During upgrades, it will remain undefined. This commit ensures that if the variable is undefined, empty strings '' are set.
* Merge pull request #6586 from ↵OpenShift Merge Robot2018-01-031-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgugino-upstream-stage/cast-bool-openshift_docker_use_system_container Automatic merge from submit-queue. Cast openshift_docker_use_system_container to bool openshift_docker_use_system_container might be passed in via ini inventory as 'openshift_docker_use_system_container=false' This condition will be interpreted as a string type, instead of boolean. Casting openshift_docker_use_system_container as bool will achieve the users desired intent. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1528943
| * Cast openshift_docker_use_system_container to boolMichael Gugino2018-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | openshift_docker_use_system_container might be passed in via ini inventory as 'openshift_docker_use_system_container=false' This condition will be interpreted as a string type, instead of boolean. Casting openshift_docker_use_system_container as bool will achieve the users desired intent. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1528943
* | Remove oauth_template bits from openshift_factsMichael Gugino2017-12-212-2/+11
|/ | | | | This commit moves some deprecated variable logic outside of openshift_facts and into role defaults.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-208-17/+17
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Merge pull request #6469 from mgugino-upstream-stage/plugin-consolidateScott Dodson2017-12-193-13/+12
|\ | | | | Plugin consolidate
| * Relocate filter plugins to lib_utilsMichael Gugino2017-12-183-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove some small items from openshift_factsMichael Gugino2017-12-185-6/+12
|/ | | | | Remove some small items from openshift_facts that don't need to be there.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-145-17/+17
|
* Combine openshift_master/vars with defaultsMichael Gugino2017-12-132-41/+42
| | | | | | | | | This commit combines these two sources of variables. Prior to the current release, some plays external to the openshift_master role consumed these variables using relative imports. This is no longer the case, so we can safely combine the vars into defaults.
* Remove unneeded embedded etcd logicMichael Gugino2017-12-081-17/+1
| | | | | Removing some remaining embedded etcd facts except for the migration plays.
* Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino2017-12-0810-58/+58
|\ | | | | Remove openshift.common.service_type
| * Remove openshift.common.service_typeMichael Gugino2017-12-0710-58/+58
| | | | | | | | | | | | | | | | This commit removes openshift.common.service_type in favor of openshift_service_type. This commit also removes r_openshift_excluder_service_type from plays in favor of using the role's defaults.
* | Fix incorrect register name master registry authMichael Gugino2017-12-071-1/+1
|/ | | | | | Corrects register variable name to registry auth support. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
* Implement container_runtime playbooks and changesMichael Gugino2017-12-071-4/+0
| | | | | | This commit refactors some duplicate code, removes usage of set_fact where not needed, and reorganizes container_runtime role to use include_role.
* Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-054-73/+1
| | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* Merge pull request #6306 from mgugino-upstream-stage/fix-hosted-varsScott Dodson2017-12-052-1/+2
|\ | | | | Fix hosted vars
| * Fix hosted varsMichael Gugino2017-12-052-1/+2
| | | | | | | | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* | Fix oreg_auth_credentials_create register varMichael Gugino2017-12-051-2/+6
|/ | | | | | | | | | | | There is a variable collision for the *oreg_auth_credentials_create variables in openshift_master and openshift_node registry_create tasks. This commit ensures standard and alternative oreg auth credential placement tasks don't use the same register variable. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1520866
* Merge pull request #6297 from mgugino-upstream-stage/crt_roleScott Dodson2017-12-043-8/+10
|\ | | | | Implement container runtime role
| * Implement container runtime roleMichael Gugino2017-12-013-8/+10
| |
* | Merge pull request #6069 from kwoodson/upgrade_scale_groupsScott Dodson2017-12-011-0/+1
|\ \ | |/ |/| Initial upgrade for scale groups.
| * Initial upgrade for scale groups.Kenny Woodson2017-11-291-0/+1
| |
* | retry package operationsLuke Meyer2017-11-302-0/+7
|/ | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* Remove openshift_facts project_cfg_factsMichael Gugino2017-11-282-6/+12
| | | | This simplifies some variable logic.
* Remove dns_port factMichael Gugino2017-11-282-3/+5
| | | | Simply dns_port variable by remove from openshift_facts.
* Merge pull request #6259 from adelton/issue-6255Michael Gugino2017-11-281-1/+1
|\ | | | | dist.iteritems() no longer exists in Python 3.
| * dist.iteritems() no longer exists in Python 3.Jan Pazdziora2017-11-271-1/+1
| |
* | Simplify is_master_system_container logicMichael Gugino2017-11-273-5/+7
|/ | | | Simplify the variable is_master_system_container
* Merge pull request #6231 from mtnbikenc/include-deprecation-openshift-masterRussell Teague2017-11-223-15/+14
|\ | | | | Include Deprecation - openshift-master
| * Include Deprecation - openshift-masterRussell Teague2017-11-223-15/+14
| |
* | Fix system_images_registry variableMichael Gugino2017-11-222-3/+9
|/ | | | Simplify the logic for this variable.
* Merge pull request #6084 from mgugino-upstream-stage/combine-master-upgradeOpenShift Merge Robot2017-11-158-3/+298
|\ | | | | | | | | | | | | | | | | | | | | | | 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.
| * Combine master upgrade play with roleMichael Gugino2017-11-098-3/+298
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #5968 from mgugino-upstream-stage/version-scrubScott Dodson2017-11-154-55/+1
|\ \ | | | | | | Removed old version code
| * | Removed old version codeMichael Gugino2017-11-144-55/+1
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #6094 from ↵OpenShift Merge Robot2017-11-152-0/+21
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgugino-upstream-stage/syscontainers-docker-login-module Automatic merge from submit-queue. Alternative method to create docker registry auth creds Currently, the command 'docker login' is run when using oreg with authentication. On some hosts, such as hosts configured to use system containers, the docker service is not running. 'docker login' will fail without the docker service running. This commit adds a module to idempotently add credentials to the registry credentials file without the use of 'docker login' Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
| * | Alternative method to create docker registry auth credsMichael Gugino2017-11-142-0/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the command 'docker login' is run when using oreg with authentication. On some hosts, such as hosts configured to use system containers, the docker service is not running. 'docker login' will fail without the docker service running. This commit adds a module to idempotently add credentials to the registry credentials file without the use of 'docker login' Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
* / Regex anchors changed to match protocol start and ports.Kenny Woodson2017-11-131-2/+2
|/
* Merge pull request #6016 from kwoodson/bootstrap_enhancements-v3Kenny Woodson2017-11-084-158/+20
|\ | | | | Bootstrap enhancements.