summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
Commit message (Collapse)AuthorAgeFilesLines
* Simplify double upgrade version logicMichael Gugino2018-02-131-37/+38
| | | | | | | | | | | | | | | | | Currently, double upgrade process (3.7 -> 3.9) for control plane attempts to run openshift_version role twice to set the appropriate values for upgrading each major version, 3.8 and 3.9. This commit instructs openshift_version to only inquire about the proper settings for 3.9, and hard-sets the appropriate values for 3.8. This allows a simplification of the openshift_version role, allowing for easier debugging. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542368
* Merge pull request #7017 from mtnbikenc/fix-1540537OpenShift Merge Robot2018-02-071-0/+1
|\ | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. [1540537] Add base package installation to upgrade playbooks Hosts will need python ipaddress module installed if it was not installed during initial installation. Bug 1540537 https://bugzilla.redhat.com/show_bug.cgi?id=1540537
| * Add base package installation to upgrade playbooksRussell Teague2018-02-071-0/+1
| | | | | | | | | | | | | | | | Hosts will need python ipaddress module installed if it was not installed during initial installation. Bug 1540537 https://bugzilla.redhat.com/show_bug.cgi?id=1540537
* | 3.9 upgrade: fix typos in restart masters procedureVadim Rutkovsky2018-02-071-2/+2
|/ | | | | | | * 'rolling_restart_mode' should be 'services', not 'service' * use 'state: restarted' to properly restart services Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* Merge pull request #6980 from mtnbikenc/fix-upgradesScott Dodson2018-02-041-7/+5
|\ | | | | Fix version handling in 3.8/3.9 control plane upgrades
| * Fix version handling in 3.8/3.9 control plane upgradesRussell Teague2018-02-021-7/+5
| |
* | Merge pull request #6958 from vrutkovs/rework-full-upgradeOpenShift Merge Robot2018-02-021-6/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Upgrade playbook improvements Two changes in this PR: * Avoid duplication in upgrade.yml - it now would simply run upgrade_control_plane and upgrade_nodes playbooks * Restart controllers instead of start/stop if restart mode is 'services' * For 'system' restart mode controllers are disabled before master upgrade and re-enabled after upgrades are finished
| * Disable master controllers before upgrade and re-enable those when restart ↵Vadim Rutkovsky2018-01-311-6/+8
| | | | | | | | | | | | mode is system This removes a start/stop after control plane upgrade
* | Ignore openshift_pkg_version during 3.8 upgradeRussell Teague2018-01-301-0/+1
|/ | | | | | | | | | Version 3.8 is an intermediate step when upgrading to 3.9 and openshift_pkg_version may be set in the inventory for 3.9. This will ensure there is not a conflict between the intermediate step and the final version requested. Bug 1540108 https://bugzilla.redhat.com/show_bug.cgi?id=1540108
* Correct 3.7 to 3.9 upgrade openshift_image_tagMichael Gugino2018-01-261-3/+24
| | | | | | | | | | | Due to complexities upgrading two versions at the same time, openshift_image_tag was being set incorrectly during control_plane upgrades. This commit ensures that openshift_image_tag is set correctly during this process. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1536839
* Remove old assetConfig from master-config.yamlSamuel Padgett2018-01-251-0/+6
| | | | | | | | The `assetConfig` is no longer used now that the console is split into its own pod. - Remove `assetConfig` on upgrades to 3.9 - Stop writing logging and metrics URLs to assetConfig for 3.9
* Protect master installed version during node upgradesMichael Gugino2018-01-231-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.
* Add call to 3.8 playbook in 3.9 upgradeScott Dodson2018-01-171-5/+49
|
* Remove 3.8 and 3.9 specific steps right nowScott Dodson2018-01-171-2/+0
|
* fix bug 1534271MENG Weihua2018-01-151-4/+4
|
* 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.
* Refactor upgrade codepaths step 1Michael Gugino2017-12-121-96/+15
| | | | | | | | | | | | | | | | 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-091-0/+2
| | | | | Bring openshift_facts into scope for plays that utilize openshift_service_type as it is defined there.
* Include Deprecation: Convert to import_playbookRussell Teague2017-12-071-16/+16
|
* Add v3.9 supportScott Dodson2017-11-301-0/+144