summaryrefslogtreecommitdiff
path: root/roles/openshift_master/tasks
AgeCommit message (Collapse)Author
2018-02-06Fix master and node system container variablesMichael Gugino
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
2018-02-01Upgrade to migrate to using push to DNS for registries.Kenny Woodson
2018-01-25Remove master_ha bool checksMichael Gugino
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
2018-01-17Add call to 3.8 playbook in 3.9 upgradeScott Dodson
2018-01-17Exclude 3.9 packages during 3.8 upgradeScott Dodson
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
2018-01-16Remove tuned-profiles from list of master packages upgradedScott Dodson
2018-01-11Merge pull request #6614 from mgugino-upstream-stage/plugins-to-lib-utilsScott Dodson
Move more plugins to lib_utils
2018-01-10Move more plugins to lib_utilsMichael Gugino
This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
2018-01-10Add defaults for openshift_pkg_versionMichael Gugino
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.
2017-12-20Remove openshift.common.{is_atomic|is_containerized}Michael Gugino
We set these variables using facts in init, no need to duplicate the logic all around the codebase.
2017-12-19Merge pull request #6469 from mgugino-upstream-stage/plugin-consolidateScott Dodson
Plugin consolidate
2017-12-18Remove some small items from openshift_factsMichael Gugino
Remove some small items from openshift_facts that don't need to be there.
2017-12-18Relocate filter plugins to lib_utilsMichael Gugino
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.
2017-12-14Deprecate using Ansible tests as filtersRussell Teague
2017-12-08Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino
Remove openshift.common.service_type
2017-12-07Remove openshift.common.service_typeMichael Gugino
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.
2017-12-07Fix incorrect register name master registry authMichael Gugino
Corrects register variable name to registry auth support. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
2017-12-07Implement container_runtime playbooks and changesMichael Gugino
This commit refactors some duplicate code, removes usage of set_fact where not needed, and reorganizes container_runtime role to use include_role.
2017-12-05Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher
openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
2017-12-05Fix oreg_auth_credentials_create register varMichael Gugino
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
2017-12-01Merge pull request #6069 from kwoodson/upgrade_scale_groupsScott Dodson
Initial upgrade for scale groups.
2017-11-30retry package operationsLuke Meyer
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).
2017-11-29Initial upgrade for scale groups.Kenny Woodson
2017-11-27Simplify is_master_system_container logicMichael Gugino
Simplify the variable is_master_system_container
2017-11-22Merge pull request #6231 from mtnbikenc/include-deprecation-openshift-masterRussell Teague
Include Deprecation - openshift-master
2017-11-22Include Deprecation - openshift-masterRussell Teague
2017-11-22Fix system_images_registry variableMichael Gugino
Simplify the logic for this variable.
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-15Merge pull request #5968 from mgugino-upstream-stage/version-scrubScott Dodson
Removed old version code
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-14Alternative method to create docker registry auth credsMichael Gugino
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
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-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-03Fix master upgrade version detect and systemd enableMichael Gugino
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508755 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509158
2017-10-31Retry service account bootstrap kubeconfig creationClayton Coleman
Pulled back from the larger refactor so this job can be enabled.
2017-10-31Merge pull request #5929 from ↵OpenShift Merge Robot
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
2017-10-31Merge pull request #5924 from smarterclayton/bootstrap_cleanupOpenShift Merge Robot
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
2017-10-31Merge pull request #5932 from mgugino-upstream-stage/retry-docker-credsOpenShift Merge Robot
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
2017-10-31Merge pull request #5930 from mgugino-upstream-stage/retry-journald-restartScott Dodson
Retry restarting journald
2017-10-30Use global IP to indicate node should pick DNSClayton Coleman
2017-10-30remove master.service during the non-ha to ha upgradeJan Chaloupka
2017-10-30Removing unneeded bootstrap which moved into the product.Kenny Woodson
2017-10-30Add retry logic to docker auth credentialsMichael Gugino
This commit enables retry on docker login commands. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506931
2017-10-30Retry restarting journaldMichael Gugino
Sometimes journald fails to restart cleanly during upgrades. This commit retries restarting 3 times. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506141
2017-10-26Merge pull request #5882 from mgugino-upstream-stage/persistent-journald-logsScott Dodson
Ensure journald persistence directories exist
2017-10-25Ensure journald persistence directories existMichael Gugino
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