summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/initialize_openshift_version.yml
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5636 from ↵OpenShift Merge Robot2017-10-041-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgugino-upstream-stage/limit-openshift-version-hosts Automatic merge from submit-queue. Limit hosts that run openshift_version role Currently, the openshift_version role is run against the oo_all_hosts group. This causes the dependencies, such as openshift_docker and docker, to be run against host groups that were not intended, such as nfs. This commit explicitly limits the openshift_version role to run only against masters, nodes, and etcd host groups. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1497144
| * Limit hosts that run openshift_version roleMichael Gugino2017-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the openshift_version role is run against the oo_all_hosts group. This causes the dependencies, such as openshift_docker and docker, to be run against host groups that were not intended, such as nfs. This commit explicitly limits the openshift_version role to run only against masters, nodes, and etcd host groups. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1497144
* | Limit base-package install during master upgradesMichael Gugino2017-10-021-1/+4
|/ | | | | | | | | | | Currently, openshift_version installs RPM packages on all nodes and masters to aid in determining and setting the proper version across the cluster. This commit limits the host groups to only masters during upgrade_control_plane plays. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1495107
* Only install base openshift package on masters and nodesMichael Gugino2017-09-121-0/+8
| | | | | | | | | | | Recent refactoring to remove openshift_common resulted in base openshift rpm's being installed on more hosts than previous. This situation results in hosts that would otherwise not need access to openshift repositories to require them. This patch set results in only openshift_masters and openshift_nodes to have the openshift base package installed.
* Fix rpm version logic for hostsMichael Gugino2017-09-081-0/+5
| | | | | | | | | | | | | | | | | | Currently, the variable openshift_pkg_version is defined by the first master unless specified by the user. The role openshift_version attempts to set this value on all other hosts after setting it on the first master. During normal installation, openshift_pkg_version is not initially defined, therefor each host will utilize the most recent rpm available. This creates a problem during later operations of a cluster if a node is added or replaced by a new node. This commit ensures that the value for openshift_pkg_version set by the first master is respected by subsequent hosts. Fixes: #5341
* Remove obsolete yum checkRussell Teague2017-08-141-19/+0
|
* Merge pull request #4045 from kwoodson/normalize_groupsOpenShift Bot2017-05-021-1/+2
|\ | | | | Merged by openshift-bot
| * Normalizing groups.Kenny Woodson2017-05-011-1/+2
| |
* | Don't double quote when conditionsScott Dodson2017-05-011-1/+1
|/
* Make the OCP available version detection excluder freeJan Chaloupka2017-03-281-22/+0
| | | | | | When detecting available OCP version via repoquery, use yum.conf file with exclude= set to an empty array. So the detection is independent of the OCP excluder.
* enable docker excluder since the time it is installedJan Chaloupka2017-03-161-0/+7
|
* Revert "Enable docker during installation and upgrade by default"Steve Kuznetsov2017-03-141-7/+0
|
* enable docker excluder since the time it is installedJan Chaloupka2017-03-131-0/+7
|
* re-enable excluders if they are enabled after openshift version detectionJan Chaloupka2017-03-091-0/+8
|
* - update excluders to latest, in non-upgrade scenarios do not updateJan Chaloupka2017-03-071-0/+3
| | | | | | - check both available excluder versions are at most of upgrade target version - get excluder status through status command - make excluders enablement configurable
* initialize_openshift_version: handle excluder packagesGiuseppe Scrivano2017-02-231-0/+4
| | | | | | Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1423447 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Adding names to plays and standardizingRussell Teague2017-01-271-1/+2
|
* Fix yum/subman version check on Atomic.Devan Goodwin2016-11-171-1/+2
|
* Check for bad versions of yum and subscription-manager.Devan Goodwin2016-11-161-0/+16
| | | | | | | | | | | | Use of yum and repoquery will output the given additional warning when using newer versions of subscription-manager, with older versions of yum. (RHEL 7.1) Installing/upgrading newer docker can pull this subscription-manager in resulting in problems with older versions of ansible and it's yum module, as well as any use of repoquery/yum commands in our playbooks. This change explicitly checks for the problem by using repoquery and fails early if found. This is run early in both config and upgrade.
* Remove all debug used during devel of openshift_version.Devan Goodwin2016-07-081-13/+0
|
* Respect image tag/pkg version during upgrade.Devan Goodwin2016-06-071-5/+7
|
* Force version to latest 3.2 during upgrade.Devan Goodwin2016-06-071-1/+1
|
* Do not install rpm for version in openshift_version role.Devan Goodwin2016-06-061-4/+0
|
* Stop requiring/using first master version fact and use openshift_version var ↵Devan Goodwin2016-05-311-5/+4
| | | | instead.
* Refactor openshift_version behavior.Devan Goodwin2016-05-301-0/+32
Very early in playbooks we must init the openshift_version for each host. First we determine it for the master, logic now is pushed into the openshift_docker role which we run only on first master via openshift_cli. Facts are reloaded leaving us with a first master with openshift.common.version fact we can then re-use on all other hosts. The correct version of docker should be installed as well. We then set openshift_version for all other hosts by re-using the master fact.