summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate using Ansible tests as filtersRussell Teague2017-12-1410-30/+36
|
* Refactor node upgrade to include less serial tasksMichael Gugino2017-12-121-11/+22
| | | | | | | | | | | | | This commit moves the pulling of images, packages, and updating config files into a non-serialized play. The serialized play is now in charge of marking unschedulable, draining, stopping and restarting services, and marking schedulable. If rpm install / container download takes 60s per host, this will save 3 hours and 10 minutes at 200 hosts per cluster and forks of 20 hosts.
* Refactor upgrade codepaths step 1Michael Gugino2017-12-1227-1342/+339
| | | | | | | | | | | | | | | | This commit refactors some upgrade code paths. Touched areas are: 1) Reduces usage of 'oo_all_hosts' in various places, especially when running upgrade_control_plane. 2) Reuses common code across the various upgrade* playbooks. 3) Moves docker upgrade checks into container_runtime_role. 4) Combines smaller playbooks and plays to reduce file sprawl.
* Merge pull request #6335 from kwoodson/node_groups_refactorScott Dodson2017-12-121-14/+21
|\ | | | | Node group management update.
| * Changing the node group format to a list.Kenny Woodson2017-12-111-14/+21
| |
* | Merge pull request #6414 from mgugino-upstream-stage/remove-embedded-etcdOpenShift Merge Robot2017-12-111-14/+0
|\ \ | |/ |/| | | | | | | | | | | Automatic merge from submit-queue. Remove unneeded embedded etcd logic Removing some remaining embedded etcd facts except for the migration plays.
| * Remove unneeded embedded etcd logicMichael Gugino2017-12-081-14/+0
| | | | | | | | | | Removing some remaining embedded etcd facts except for the migration plays.
* | Add openshift_facts to upgrade plays for service_typeMichael Gugino2017-12-097-0/+13
|/ | | | | Bring openshift_facts into scope for plays that utilize openshift_service_type as it is defined there.
* Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino2017-12-0812-33/+29
|\ | | | | Remove openshift.common.service_type
| * Remove openshift.common.service_typeMichael Gugino2017-12-0712-33/+29
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #6371 from mtnbikenc/include-to-import_playbookOpenShift Merge Robot2017-12-0718-199/+199
|\ \ | |/ |/| | | | | | | | | | | | | | | Automatic merge from submit-queue. Include Deprecation: Convert to import_playbook * Converts playbooks/ to use `import_playbook`. * Updates remaining `include:` tasks to `include_tasks:` Trello: https://trello.com/c/ZTyZu3UM/484-3-ansible-24-include-deprecation
| * Include Deprecation: Convert to import_playbookRussell Teague2017-12-0718-199/+199
| |
* | Merge pull request #6380 from sdodson/oc-admScott Dodson2017-12-074-4/+4
|\ \ | |/ |/| Remove all uses of openshift.common.admin_binary
| * Remove all uses of openshift.common.admin_binaryScott Dodson2017-12-074-4/+4
| | | | | | | | Replace with `oc adm`
* | Playbook Consolidation - etcd UpgradeRussell Teague2017-12-059-161/+2
|/
* Merge pull request #6297 from mgugino-upstream-stage/crt_roleScott Dodson2017-12-0412-63/+1
|\ | | | | Implement container runtime role
| * Implement container runtime roleMichael Gugino2017-12-0112-63/+1
| |
* | Merge pull request #6321 from sdodson/v3_9Scott Dodson2017-12-027-0/+430
|\ \ | | | | | | Add v3.9 support
| * | Add v3.9 supportScott Dodson2017-11-307-0/+430
| | |
* | | Merge pull request #6069 from kwoodson/upgrade_scale_groupsScott Dodson2017-12-011-0/+59
|\ \ \ | |_|/ |/| | Initial upgrade for scale groups.
| * | Initial upgrade for scale groups.Kenny Woodson2017-11-291-0/+59
| |/
* | retry package operationsLuke Meyer2017-11-301-0/+2
| | | | | | | | | | | | 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).
* | Merge pull request #6282 from mtnbikenc/fix-include_roleScott Dodson2017-11-303-3/+4
|\ \ | |/ |/| Correct usage of include_role
| * Correct usage of include_roleRussell Teague2017-11-273-3/+4
| | | | | | | | Switch to import_role for some required roles.
* | 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 #6134 from fraenkel/allow_falseScott Dodson2017-11-241-2/+2
|\ | | | | Allow openshift_install_examples to be false
| * Allow openshift_install_examples to be falseMichael Fraenkel2017-11-221-2/+2
| | | | | | | | when using yaml or json, a false value is converted to true
* | Merge pull request #6227 from adelton/issue-5517Scott Dodson2017-11-241-1/+1
|\ \ | |/ |/| Workaround the fact that package state=present with dnf fails for already installed but excluded packages.
| * With dnf repoquery and excluded packages, --disableexcludes=all is needed to ↵Jan Pazdziora2017-11-221-1/+1
| | | | | | | | list the package with --installed.
* | Include Deprecation - openshift-masterRussell Teague2017-11-221-2/+2
| |
* | Merge pull request #6151 from mtnbikenc/consolidate-openshift-masterRussell Teague2017-11-227-8/+8
|\ \ | |/ |/| Playbook Consolidation - openshift-master
| * Playbook Consolidation - openshift-masterRussell Teague2017-11-227-8/+8
| |
* | Cleanup etcd runtime variable.Michael Gugino2017-11-214-58/+3
|/ | | | Cleaning out reference to etcd_runtime in openshift facts.
* Upgrade to etcd 3.2Scott Dodson2017-11-201-0/+8
|
* Combine openshift_node and openshift_node_upgradeMichael Gugino2017-11-162-13/+15
| | | | | | | | | Currently, having openshift_node and openshift_node_upgrade as two distinct roles has created a duplication across handlers, templates, and some tasks. This commit combines the roles to reduce duplication and bugs encountered by not putting code in both places.
* Merge pull request #6064 from mtnbikenc/consolidate-initScott Dodson2017-11-1611-12/+12
|\ | | | | Playbook Consolidation - Initialization
| * Playbook Consolidation - InitializationRussell Teague2017-11-1511-12/+12
| |
* | Merge pull request #5500 from vshn/projtmpl1OpenShift Merge Robot2017-11-161-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add role to configure project request template The OpenShift master role already supports changing the master configuration to refer to a project template, but there's no way to manage that template directly. This role adds the necessary code to generate a default template and to apply customizations using the "yedit" module. We need to configure custom services and endpoints in every project. The project request template enables us to do that automatically in every project and we'd like to manage the template using Ansible.
| * | Add role to configure project request templateMichael Hanselmann2017-10-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The OpenShift master role already supports changing the master configuration to refer to a project template, but there's no way to manage that template directly. This role adds the necessary code to generate a default template and to apply customizations using the "yedit" module.
* | | Merge pull request #6084 from mgugino-upstream-stage/combine-master-upgradeOpenShift Merge Robot2017-11-155-302/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-096-312/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-152-2/+0
|\ \ \ \ | |_|_|/ |/| | | Removed old version code
| * | | Removed old version codeMichael Gugino2017-11-142-2/+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.
* | | | Merge pull request #6068 from mtnbikenc/remove-old-upgradesOpenShift Merge Robot2017-11-1418-1224/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Remove upgrade playbooks for 3.3 through 3.5 Release branches should be used for older upgrades.
| * | | | Remove upgrade playbooks for 3.3 through 3.5Russell Teague2017-11-0818-1224/+0
| | |/ / | |/| |
* | | | Allow disabling authorization migration checkScott Dodson2017-11-142-20/+24
| |/ / |/| |
* | | First pass at v3.8 supportScott Dodson2017-11-137-0/+430
|/ /
* | Fix preupgrade authorization objects are in sync minor versionsMichael Gugino2017-11-082-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we check that upgrade target is less than 3.8, but this will break for minor upgrades. This commit set's a fact early in the upgrade process to deterime what the currently installed version on the first master is. This fact is used to determine if our currently installed version is less than 3.7. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508301
* | Fix preupgrade authorization objects are in syncMichael Gugino2017-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | Currently, this task is executed based on openshift_version. openshift_version is based on the upgrade target, thus not the currently install versions. This commit ensures that the task executes as intended. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508301
* | Correct groupname during upgrade_control_plane playMichael Gugino2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | Currently, upgrade_control_plane calls tasks meant for master on etcd group. This commit corrects the groupname. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508734