summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/pre/verify_upgrade_targets.yml
Commit message (Collapse)AuthorAgeFilesLines
* Exclude 3.9 packages during 3.8 upgradeScott Dodson2018-01-171-1/+1
| | | | | | | | 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
* Migrate to import_role for static role inclusionScott Dodson2018-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.2, the include_role directive came into existence as a Tech Preview. It is still a Tech Preview through Ansible 2.4 (and in current devel branch), but with a noteable change. The default behavior switched from static: true to static: false because that functionality moved to the newly introduced import_role directive (in order to stay consistent with include* being dynamic in nature and `import* being static in nature). The dynamic include is considerably more memory intensive as it will dynamically create a role import for every host in the inventory list to be used. (Also worth noting, there is at the time of this writing an object allocation inefficiency in the dynamic include that can in certain situations amplify this effect considerably) This change is meant to mitigate the pressure on memory for the Ansible control host. We need to evaluate where it makes sense to dynamically include roles and revert back to dynamic inclusion if and where it makes sense to do so.
* Remove references to deployment_typeMichael Gugino2017-12-211-1/+1
| | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-2/+2
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-2/+2
|
* Remove openshift.common.service_typeMichael Gugino2017-12-071-1/+1
| | | | | | | | 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.
* Implement container runtime roleMichael Gugino2017-12-011-1/+1
|
* Remove openshift.common.cli_imageMichael Gugino2017-11-271-1/+1
| | | | | This commit removes openshift.common.cli_image in favor of openshift_cli_image.
* Merge pull request #5814 from mgugino-upstream-stage/docker-auth-upgradesOpenShift Merge Robot2017-10-241-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Enable oreg_auth credential replace during upgrades Currently, upgrades run a docker image pull prior to upgrading masters and nodes for containerized installs. If using a secure registry, and a user wishes to upgrade their credentials due to expiry, the image pull will fail. This commit ensures docker login credentials are updated during upgrades, if necessary. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503995
| * Enable oreg_auth credential replace during upgradesMichael Gugino2017-10-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, upgrades run a docker image pull prior to upgrading masters and nodes for containerized installs. If using a secure registry, and a user wishes to upgrade their credentials due to expiry, the image pull will fail. This commit ensures docker login credentials are updated during upgrades, if necessary. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503995
* | strip dash when comparing version with Python3Jan Chaloupka2017-10-231-1/+1
|/
* Default openshift_pkg_version to full version-release during upgradesScott Dodson2017-09-201-2/+6
| | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1490677 The versioning scheme for 3.7 pre-releases has changed and now all versions are 3.7.0 and the release is incremented on builds, ie: 3.7.0-0.124.0 upgraded to 3.7.0-0.125.0. If we know we're an upgrade and they haven't requested a specific package version defer the defaulting of openshift_pkg_version until the upgrade playbooks and there set it to the available version including the release.
* Replace repoquery with moduleJan Chaloupka2017-06-091-9/+11
|
* verify upgrade targets separately for each group (masters, nodes, etcd)Jan Chaloupka2017-05-311-37/+33
|
* Properly fail if OpenShift RPM version is undefinedRussell Teague2017-05-081-25/+29
|
* Cleaning repo cache earlierRussell Teague2017-01-191-4/+0
|
* Allow filtering nodes to upgrade by label.Devan Goodwin2016-09-291-1/+1
|
* Attempt to tease apart pre upgrade for masters/nodes.Devan Goodwin2016-09-281-0/+45