summaryrefslogtreecommitdiff
path: root/playbooks/common
AgeCommit message (Collapse)Author
2018-03-20Upgrade to 3.7.2andsSuren A. Chilingaryan
2018-02-27Allow upgrade to OpenShift 3.7.1Suren A. Chilingaryan
2018-02-14Merge pull request #7124 from mgugino-upstream-stage/fix-version-multiOpenShift Merge Robot
Automatic merge from submit-queue. Fix version multi Simplify double upgrade version logic 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
2018-02-13Simplify double upgrade version logicMichael Gugino
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
2018-02-13Merge pull request #7116 from mgugino-upstream-stage/fix-docker-upgradeOpenShift Merge Robot
Automatic merge from submit-queue. Fix docker_upgrade variable Currently, docker_upgrade is ignored during cluster upgrades. This commit ensures that the variable is respected. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543714
2018-02-13Merge pull request #7121 from sdodson/fix-registry-cert-redeployKenny Woodson
Invert logic to decide when to re-deploy certs
2018-02-12Merge pull request #7095 from jpeeler/upgrade-catOpenShift Merge Robot
Automatic merge from submit-queue. Add service catalog to be upgraded Currently service catalog was left running at the previous version. https://bugzilla.redhat.com/show_bug.cgi?id=1541247
2018-02-12Invert logic to decide when to re-deploy certsScott Dodson
2018-02-12Fix docker_upgrade variableMichael Gugino
Currently, docker_upgrade is ignored during cluster upgrades. This commit ensures that the variable is respected. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543714
2018-02-12Disable console install when not 3.9 or newerSamuel Padgett
2018-02-12Add service catalog to be upgradedJeff Peeler
Currently service catalog was left running at the previous version.
2018-02-09Fix upgrade-control plane post_control_plane.ymlMichael Gugino
An entry-point playbook was imported by mistake. This caused common init code to run again, which is undesireable. This commit changes the import to use the corresponding 'private' play which does not call the init code. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542855
2018-02-08Merge pull request #7074 from kwoodson/redeploy_certs_insecureOpenShift Merge Robot
Automatic merge from submit-queue. Redeploy router certificates during upgrade only when secure. Wrap the upgrade logic for redeploying certificates into another block so that insecure registries do not perform any certificate tasks.
2018-02-08Merge pull request #6926 from abutcher/etcd-ca-hostScott Dodson
Determine which host is the etcd CA host
2018-02-08Redeploy router certificates during upgrade only when secure.Kenny Woodson
2018-02-07Merge pull request #7017 from mtnbikenc/fix-1540537OpenShift Merge Robot
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
2018-02-07Merge pull request #7052 from vrutkovs/rolling_restart_modeOpenShift Merge Robot
Automatic merge from submit-queue. 3.9 upgrade: fix typos in restart masters procedure * 'rolling_restart_mode' should be 'services', not 'service' * use 'state: restarted' to properly restart services Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540054 Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-02-07Add base package installation to upgrade playbooksRussell Teague
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
2018-02-073.9 upgrade: fix typos in restart masters procedureVadim Rutkovsky
* 'rolling_restart_mode' should be 'services', not 'service' * use 'state: restarted' to properly restart services Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-02-06Make sure to include upgrade_pre when upgrading master nodesScott Dodson
2018-02-06Merge pull request #7015 from sdodson/v310Scott Dodson
Initial support for 3.10
2018-02-06Merge pull request #7020 from vrutkovs/node-config-on-upgradeScott Dodson
Upgrades: pass openshift_manage_node_is_master to master nodes during upgrade
2018-02-06Update code to not fail when rc != 0Kenny Woodson
2018-02-06Upgrades: pass openshift_manage_node_is_master to master nodes during upgradeVadim Rutkovsky
This ensures required labels for master would be set
2018-02-05Move cert SAN update logic to openshift-etcdRussell Teague
2018-02-05Initial support for 3.10Scott Dodson
2018-02-04Merge pull request #6980 from mtnbikenc/fix-upgradesScott Dodson
Fix version handling in 3.8/3.9 control plane upgrades
2018-02-03remove openshift_upgrade_{pre,post}_storage_migration_enabled from failed_whenKenjiro Nakayama
2018-02-02Merge pull request #6958 from vrutkovs/rework-full-upgradeOpenShift Merge Robot
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
2018-02-02Fix version handling in 3.8/3.9 control plane upgradesRussell Teague
2018-02-01Upgrade to migrate to using push to DNS for registries.Kenny Woodson
2018-02-01Remove pre upgrade verification step re: etcd ca host.Andrew Butcher
2018-02-01Merge pull request #6955 from vrutkovs/upgrade-regex-version-matchOpenShift Merge Robot
Automatic merge from submit-queue. upgrades: use openshift_version as a regexp when checking openshift.common.version This would fix errors like 'Master running 3.9.0 must be upgraded to 3.9* before node upgrade can be run' during the upgrade Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-02-01Merge pull request #6876 from mgugino-upstream-stage/fix-restart-master-playScott Dodson
Remove master_ha bool checks
2018-01-31Disable master controllers before upgrade and re-enable those when restart ↵Vadim Rutkovsky
mode is system This removes a start/stop after control plane upgrade
2018-01-31upgrade: run upgrade_control_plane and upgrade_nodes playbooks during full ↵Vadim Rutkovsky
upgrade
2018-01-31upgrades: use openshift_version as a regexp when checking ↵Vadim Rutkovsky
openshift.common.version This would fix errors like 'Master running 3.9.0 must be upgraded to 3.9* before node upgrade can be run' during the upgrade Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-01-30Ignore openshift_pkg_version during 3.8 upgradeRussell Teague
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
2018-01-26Correct 3.7 to 3.9 upgrade openshift_image_tagMichael Gugino
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
2018-01-26Merge pull request #6821 from spadgett/remove-asset-configScott Dodson
Remove old assetConfig from master-config.yaml
2018-01-25Merge pull request #6859 from abutcher/bz1536217OpenShift Merge Robot
Automatic merge from submit-queue. Bug 1536217: Need to validate etcd serving certs before 3.9 upgrade
2018-01-25Remove old assetConfig from master-config.yamlSamuel Padgett
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
2018-01-25Remove master_ha bool checksMichael Gugino
Most of these checks are no longer applicable to the tasks on which they are applied. This commit removes incorrect ha checks to ensure services are restarted at appropriate times. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500897
2018-01-25Merge pull request #6849 from vrutkovs/label-masters-with-upstream-standardOpenShift Merge Robot
Automatic merge from submit-queue. Label masters with node-role.kubernetes.io/master This is controlled by `openshift_master_node_label` var in openshift_manage_node Related to https://bugzilla.redhat.com/show_bug.cgi?id=1535673
2018-01-24Merge pull request #6842 from ↵Scott Dodson
mgugino-upstream-stage/protect-upgrade-master-version Protect master installed version during node upgrades
2018-01-24Redeploy etcd certificates during upgrade when etcd hostname not present in ↵Andrew Butcher
etcd serving cert SAN.
2018-01-24Label masters with node-role.kubernetes.io/master. This PR also sets these ↵Vadim Rutkovsky
labels and scheduling status during upgrades Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-01-24Merge pull request #6541 from smarterclayton/move_gcp_inScott Dodson
Allow openshift-ansible image to deploy to GCP
2018-01-23Protect master installed version during node upgradesMichael Gugino
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
2018-01-23Split control plane and component install in deploy_clusterClayton Coleman