summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_7
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to 3.7.2andsSuren A. Chilingaryan2018-03-201-1/+1
|
* Allow upgrade to OpenShift 3.7.1Suren A. Chilingaryan2018-02-271-1/+1
|
* Protect master installed version during node upgradesMichael Gugino2018-01-232-0/+2
| | | | | | | | | | Master version is unprotected during all upgrades. During node-only upgrades, master version should remain protected to ensure correct image tag is set for node upgrades. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1536839
* Fix node scaleup playsMichael Gugino2018-01-181-1/+1
| | | | | | | | Currently, users have no way to run preqrequisites.yml on just newly added nodes during scaleup. This commit ensures only the new nodes are changed during scaleup as well as ensure prerequisites are run.
* Merge pull request #6666 from sdodson/fix_client_binaryScott Dodson2018-01-101-0/+1
|\ | | | | Ensure that openshift_facts role is imported whenever we rely on
| * Ensure that openshift_facts role is imported whenever we rely onScott Dodson2018-01-091-0/+1
| | | | | | | | openshift_client_binary
* | Limit host group scope on control-plane upgradesMichael Gugino2018-01-091-0/+5
|/ | | | | This commit limits common init code to exclude oo_nodes_to_config during upgrade_control_plane runs.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-1/+1
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-181-1/+0
| | | | | | | | | | | | | | 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.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-1/+1
|
* Refactor upgrade codepaths step 1Michael Gugino2017-12-123-267/+41
| | | | | | | | | | | | | | | | 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.
* Add openshift_facts to upgrade plays for service_typeMichael Gugino2017-12-092-0/+4
| | | | | 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-082-8/+8
|\ | | | | Remove openshift.common.service_type
| * Remove openshift.common.service_typeMichael Gugino2017-12-072-8/+8
| | | | | | | | | | | | | | | | 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.
* | Include Deprecation: Convert to import_playbookRussell Teague2017-12-073-46/+46
|/
* Implement container runtime roleMichael Gugino2017-12-013-18/+0
|
* Playbook Consolidation - openshift-masterRussell Teague2017-11-222-2/+2
|
* Merge pull request #6064 from mtnbikenc/consolidate-initScott Dodson2017-11-163-3/+3
|\ | | | | Playbook Consolidation - Initialization
| * Playbook Consolidation - InitializationRussell Teague2017-11-153-3/+3
| |
* | Merge pull request #6084 from mgugino-upstream-stage/combine-master-upgradeOpenShift Merge Robot2017-11-151-20/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 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-091-20/+0
| | | | | | | | | | | | | | | | | | 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.
* | Allow disabling authorization migration checkScott Dodson2017-11-141-3/+5
|/
* Fix preupgrade authorization objects are in sync minor versionsMichael Gugino2017-11-081-1/+1
| | | | | | | | | | | | | | 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
* Merge pull request #5875 from mgugino-upstream-stage/fix-upgrade-config-hookMichael Gugino2017-10-271-2/+2
|\ | | | | | | | | This previously passed all CI tests, merge queue broke last night. Merging, this is a blocker bug.
| * Add master config upgrade hook to upgrade-all playsMichael Gugino2017-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | Currently, in 1.5, 3.6, 1.7 upgrade-all plays, control plane upgrades are not called correctly. This commit ensures the master config hook is appropriately applied during these upgrades to match the steps in control plane only upgrades. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1486054
* | Merge pull request #5850 from mgugino-upstream-stage/remove-base-packageScott Dodson2017-10-251-1/+0
|\ \ | |/ |/| Remove base package install
| * Remove base package installMichael Gugino2017-10-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | Currently, base atomic-openshift package is installed for versioning. This doesn't appear to be necessary. This commit removes this step. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1504196
* | Merge pull request #5832 from sdodson/bz1504525Scott Dodson2017-10-231-1/+1
|\ \ | |/ |/| Correct version gates on policy reconciliation and add retries
| * verstion_gte seems unreliable on containerized installsScott Dodson2017-10-201-1/+1
| |
* | Correct host group for controller restartRussell Teague2017-10-231-1/+1
| | | | | | | | | | | | Fixes 1504515 https://bugzilla.redhat.com/show_bug.cgi?id=1504515
* | Merge pull request #5749 from abutcher/servinginfo-client-ca-upgradeOpenShift Merge Robot2017-10-201-0/+5
|\ \ | |/ |/| | | | | | | | | Automatic merge from submit-queue. Set servingInfo.clientCA to ca.crt during upgrade. https://bugzilla.redhat.com/show_bug.cgi?id=1501795
| * Set servingInfo.clientCA to ca.crt during upgrade.Andrew Butcher2017-10-171-0/+5
| |
* | Merge pull request #5763 from mgugino-upstream-stage/fix-master-config-upgradeScott Dodson2017-10-181-16/+0
|\ \ | | | | | | Remove unneeded master config updates during upgrades
| * | Remove unneeded master config updates during upgradesMichael Gugino2017-10-171-16/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, upgrade_control_plane.yml will add any missing sections to the openshift master's config. These additions are only needed once. Users who perform multiple upgrades to their clusters over time do not need to have these variables re-inserted. Currently, re-inserting these variables can cause unwanted local changes. This commit ensures that the variables are only inserted into openshift master's config once. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1486054
* | Merge pull request #5730 from sdodson/restart-controllersScott Dodson2017-10-172-0/+30
|\ \ | |/ |/| Restart all controllers to force reconfiguration during upgrade
| * Restart all controllers to force reconfiguration during upgradeScott Dodson2017-10-112-0/+30
| |
* | Ensure controllerConfig.serviceServingCert is correctly set during upgrade.Andrew Butcher2017-10-131-0/+10
|/
* Switch to configmap leader election on 3.7 upgradeMonis Khan2017-10-061-0/+5
| | | | | | | | | | | | | | | | | This change sets the controllerConfig.election.lockName to openshift-master-controllers on a 3.7 upgrade. This is the default in a new 3.7 cluster. Important excerpt from the docs inside the origin codebase (slightly modified): There are two modes for lease operation - a legacy mode that directly connects to etcd, and the preferred mode which coordinates on a configmap or endpoint in the kube-system namespace. Because legacy mode and the new mode do not coordinate on the same key, an upgrade must stop all controllers before changing the configuration and starting controllers with the new config. Signed-off-by: Monis Khan <mkhan@redhat.com>
* Limit base-package install during master upgradesMichael Gugino2017-10-021-0/+1
| | | | | | | | | | | 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
* Merge pull request #5593 from ingvagabund/block-upgrade-if-etcd3-not-setJan Chaloupka2017-09-301-0/+4
|\ | | | | block 3.6->3.7 upgrade if storage backend is not set to etcd3
| * block 3.6->3.7 upgrade if storage backend is not set to etcd3Jan Chaloupka2017-09-291-0/+4
| |
* | move health-checks and control-plane-verification before excludersJan Chaloupka2017-09-292-12/+12
|/
* check if the storage backend is set to etcd3 before upgrading to 3.7Jan Chaloupka2017-09-251-0/+4
|
* disable excluders after all pre-checksJan Chaloupka2017-09-211-8/+8
|
* add health checks 3_6,3_7 upgrade pathjuanvallejo2017-09-112-0/+8
|
* Merge pull request #5259 from mtnbikenc/fix-upgrade-auth-checkRussell Teague2017-08-311-0/+1
|\ | | | | [BZ1486450] Only run migrate auth for < 3.7
| * Only run migrate auth for < 3.7Russell Teague2017-08-291-0/+1
| |
* | Test: Fail on entry point playbooks in commonRussell Teague2017-08-293-3/+3
|/