summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
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
|
* 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
* 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.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-205-14/+14
| | | | | 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-191-1/+1
|\ | | | | Plugin consolidate
| * Relocate filter plugins to lib_utilsMichael Gugino2017-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-182-4/+4
|/ | | | | 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
|
* Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino2017-12-085-33/+33
|\ | | | | Remove openshift.common.service_type
| * Remove openshift.common.service_typeMichael Gugino2017-12-075-33/+33
| | | | | | | | | | | | | | | | 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-052-70/+0
| | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* 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 #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).
* Simplify is_master_system_container logicMichael Gugino2017-11-272-5/+5
| | | | 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-221-3/+3
|/ | | | Simplify the logic for this variable.
* Merge pull request #6084 from mgugino-upstream-stage/combine-master-upgradeOpenShift Merge Robot2017-11-157-3/+295
|\ | | | | | | | | | | | | | | | | | | | | | | 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-097-3/+295
| | | | | | | | | | | | | | | | | | 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-151-8/+0
|\ \ | | | | | | Removed old version code
| * | Removed old version codeMichael Gugino2017-11-141-8/+0
| |/ | | | | | | | | | | 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.
* | Alternative method to create docker registry auth credsMichael Gugino2017-11-141-0/+20
|/ | | | | | | | | | | | | | | 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
* Merge pull request #6016 from kwoodson/bootstrap_enhancements-v3Kenny Woodson2017-11-083-77/+17
|\ | | | | Bootstrap enhancements.
| * Bootstrap enhancements.Kenny Woodson2017-11-083-77/+17
| |
* | Revert "Bootstrap enhancements."Clayton Coleman2017-11-053-17/+77
| |
* | Merge pull request #6006 from mgugino-upstream-stage/elb-v2OpenShift Merge Robot2017-11-033-77/+17
|\ \ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Bootstrap enhancements. This includes the elb work.
| * | Bootstrap enhancements.Kenny Woodson2017-11-033-77/+17
| |/
* | Fix master upgrade version detect and systemd enableMichael Gugino2017-11-031-0/+11
|/ | | | | Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508755 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509158
* Retry service account bootstrap kubeconfig creationClayton Coleman2017-10-311-0/+3
| | | | Pulled back from the larger refactor so this job can be enabled.
* Merge pull request #5929 from ↵OpenShift Merge Robot2017-10-312-10/+15
|\ | | | | | | | | | | | | | | | | ingvagabund/remove-master-service-during-non-ha-to-ha-upgrade Automatic merge from submit-queue. remove master.service during the non-ha to ha upgrade Bug: 1506165
| * remove master.service during the non-ha to ha upgradeJan Chaloupka2017-10-302-10/+15
| |
* | Merge pull request #5924 from smarterclayton/bootstrap_cleanupOpenShift Merge Robot2017-10-311-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. GCP cannot use growpart utils from AWS due to conflicting package Allow cloud provider specific packages to be specified. Also, fix a wait condition in openshift_gcp to allow masters to be bootstrapped nodes. @kwoodson
| * | Use global IP to indicate node should pick DNSClayton Coleman2017-10-301-0/+1
| |/
* | Merge pull request #5932 from mgugino-upstream-stage/retry-docker-credsOpenShift Merge Robot2017-10-311-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add retry logic to docker auth credentials This commit enables retry on docker login commands. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506931
| * | Add retry logic to docker auth credentialsMichael Gugino2017-10-301-0/+3
| |/ | | | | | | | | | | This commit enables retry on docker login commands. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506931
* | Merge pull request #5930 from mgugino-upstream-stage/retry-journald-restartScott Dodson2017-10-311-3/+5
|\ \ | | | | | | Retry restarting journald
| * | Retry restarting journaldMichael Gugino2017-10-301-3/+5
| |/ | | | | | | | | | | | | | | Sometimes journald fails to restart cleanly during upgrades. This commit retries restarting 3 times. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506141
* | Removing unneeded bootstrap which moved into the product.Kenny Woodson2017-10-301-17/+0
|/
* Merge pull request #5882 from mgugino-upstream-stage/persistent-journald-logsScott Dodson2017-10-261-0/+5
|\ | | | | Ensure journald persistence directories exist
| * Ensure journald persistence directories existMichael Gugino2017-10-251-0/+5
| | | | | | | | | | | | | | | | | | | | Currently, we configure openshfit masters to modify journald to use persistent storage. The directory structure must be created manually according to documentation. This commit ensures the needed directory is created. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506141