summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
Commit message (Collapse)AuthorAgeFilesLines
* Implement container runtime roleMichael Gugino2017-12-011-4/+0
|
* Correct usage of include_roleRussell Teague2017-11-271-1/+1
| | | | Switch to import_role for some required roles.
* Include Deprecation - openshift-masterRussell Teague2017-11-221-2/+2
|
* Playbook Consolidation - openshift-masterRussell Teague2017-11-221-2/+2
|
* Combine openshift_node and openshift_node_upgradeMichael Gugino2017-11-161-5/+5
| | | | | | | | | 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 #6084 from mgugino-upstream-stage/combine-master-upgradeOpenShift Merge Robot2017-11-151-56/+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-091-56/+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-151-1/+0
|\ \ | | | | | | Removed old version code
| * | Removed old version codeMichael Gugino2017-11-141-1/+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.
* / Allow disabling authorization migration checkScott Dodson2017-11-141-17/+19
|/
* Merge pull request #5796 from mgugino-upstream-stage/journald-masters-upgradesOpenShift Merge Robot2017-10-241-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Ensure upgrades apply latest journald settings Currently, existing clusters might not have journald configurations applied. This may result in a rate- limiting of important log messages on openshift-masters. This commit ensures that journald settings are applied during the upgrade process openshif-masters. Fixes: https://github.com/openshift/openshift-ansible/issues/5642
| * Ensure upgrades apply latest journald settingsMichael Gugino2017-10-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | Currently, existing clusters might not have journald configurations applied. This may result in a rate- limiting of important log messages on openshift-masters. This commit ensures that journald settings are applied during the upgrade process openshif-masters. Fixes: https://github.com/openshift/openshift-ansible/issues/5642
* | verstion_gte seems unreliable on containerized installsScott Dodson2017-10-201-5/+6
| |
* | Retry reconcile in case of error and give up eventuallySimo Sorce2017-10-201-0/+6
|/ | | | | | Handles spurious failures and does not get mad if it just cannot do it. Signed-off-by: Simo Sorce <simo@redhat.com>
* Fix broken debug_levelMichael Gugino2017-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | Currently, debug_level is documented as a way to change the debug output level for both masters and nodes. debug_level does not currently have any effect. This commit removes debug_level from openshift_facts and properly sets openshift_master_debug_level and openshift_node_debug_level to the value of debug_level specified in the inventory. This commit also reorganizes some set_fact tasks needed during master upgrades to put all work-around set-facts for undefined variables in one place, allowing for easier cleanup in the future. This includes an entry for openshift_master_debug_level. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500164
* Force reconciliation of role for 3.6Simo Sorce2017-10-101-0/+39
| | | | | | | | This is needed because in 3.6 we cannot reconcile non-cluster roles in the bootstrap reconciliation code. In 3.7 this is taken care of in code. Signed-off-by: Simo Sorce <simo@redhat.com>
* make difference filter output a list for Python3Jan Chaloupka2017-09-261-2/+2
|
* Do not reconcile in >= 3.7Simo Sorce2017-09-201-4/+3
| | | | | | | | Starting with 3.7 we use kube's RBAC which happens to do a forceful reconcile at server startup. Explicit reconciles are not needed anymore. Also drop obsolete version checks and simplify 'when' conditional Signed-off-by: Simo Sorce <simo@redhat.com>
* Don't assume storage_migration control variables are already booleanMark Chappell2017-09-131-9/+9
| | | | | | | | | | | | openshift_upgrade_pre_storage_migration_enabled openshift_upgrade_pre_storage_migration_fatal openshift_upgrade_post_storage_migration_enabled openshift_upgrade_post_storage_migration_enabled because the 4 variables are not already defaulted/evaluated there's no guarantee that they're actually the boolean type at this point. Example: if they're passed in on the command line
* Merge pull request #5247 from mgugino-upstream-stage/fix-master-upgradesOpenShift Bot2017-08-301-4/+1
|\ | | | | Merged by openshift-bot
| * Fix openshift_master upgradeMichael Gugino2017-08-291-4/+1
| | | | | | | | | | | | | | | | Currently, openshift_master upgrade play imports tasks directly from the openshift_master role. This method does not honor role defaults. This commit changes sets openshift_master_config_dir if undefined.
* | Test: Fail on entry point playbooks in commonRussell Teague2017-08-291-1/+1
|/
* Disable old openshift-master.service on upgradeClayton Coleman2017-08-081-0/+3
|
* Fix incorrect delegate_to in control plane upgradeScott Dodson2017-07-271-1/+1
|
* Allow storage migrations to be optional and/or non fatalScott Dodson2017-07-241-8/+25
| | | | | | | | Allow configuration of these options, these are their defaults openshift_upgrade_pre_storage_migration_enabled=true openshift_upgrade_post_storage_migration_enabled=true openshift_upgrade_pre_storage_migration_fatal=true openshift_upgrade_post_storage_migration_fatal=false
* Add drain retries after 60 second delayScott Dodson2017-07-181-0/+4
|
* Merge pull request #4750 from jkaurredhat/drain_upgrade1.6Scott Dodson2017-07-141-1/+1
|\ | | | | Upgrade fails when "Drain Node for Kubelet upgrade"
| * Upgrade fails when "Drain Node for Kubelet upgrade"jkaurredhat2017-07-131-1/+1
| | | | | | | | | | | | Fixes : https://bugzilla.redhat.com/show_bug.cgi?id=1468572 Signed-off-by: jkaurredhat <jkaur@redhat.com>
* | Error upgrading control_plane when user is not system:adminjkaurredhat2017-07-071-1/+1
|/ | | | Signed-off-byr jkaurredhat <jkaur@redhat.com>
* Merge pull request #4533 from sdodson/storage-migration-fixesOpenShift Bot2017-07-031-6/+12
|\ | | | | Merged by openshift-bot
| * Fixes to storage migrationScott Dodson2017-06-221-6/+12
| |
* | Run dns on the node and use that for dnsmasqScott Dodson2017-06-301-1/+1
|/
* Merge pull request #4292 from sdodson/push-via-dnsOpenShift Bot2017-06-201-0/+1
|\ | | | | Merged by openshift-bot
| * Add openshift_node_dnsmasq role to upgradeScott Dodson2017-06-181-0/+1
| |
* | Temporarilly only migrate jobs as we were beforeScott Dodson2017-06-191-2/+2
|/
* Run storage upgrade pre and post master upgradeRussell Teague2017-06-181-0/+18
|
* Merge pull request #4252 from sdodson/tolerate-node-upgrade-failureOpenShift Bot2017-06-061-2/+2
|\ | | | | Merged by openshift-bot
| * Add separate variables for control plane nodesScott Dodson2017-05-221-2/+2
| |
| * Tolerate failures in the node upgrade playbookScott Dodson2017-05-191-1/+1
| |
* | allow to configure oreg_url specifically for node or master. refs #4233Tobias Brunner2017-05-191-2/+2
|/ | | | | | | | | This commit allows to specify imageConfig.format specifically for master or for nodes. One use case of this could be if you want to use customer builder images. In this case imageConfig.format only needs to be changed in the master-config.yml but not in the node-config.yml.
* etcd Upgrade RefactorRussell Teague2017-05-021-11/+0
| | | | | | * Renaming etcd_hosts_to_* to oo_etcd_hosts_to* * Moving host group evaluation to evaluate_groups.yml * Removing duplicate evaluate_groups.yml usage
* Update imageConfig.format on upgrades to match oreg_urlScott Dodson2017-03-211-0/+8
|
* Renaming oadm_manage_node to oc_adm_manage_nodeRussell Teague2017-03-101-2/+2
|
* Updating stdout check for changed_whenewolinetz2017-03-021-5/+5
|
* Resolving yammlint errorsewolinetz2017-03-011-8/+8
|
* Adding changed_whens for role, rolebinding, and scc reconciliation based on ↵ewolinetz2017-02-281-4/+20
| | | | output from oadm policy command
* Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)Andrew Baldi2017-02-151-1/+1
|
* Modify playbooks to use oadm_manage_node moduleRussell Teague2017-02-131-25/+20
|
* run node upgrade if master is node as part of the control plan upgrade onlyJan Chaloupka2017-02-021-0/+53
|
* Create v3_5 upgrade playbooksRussell Teague2017-01-301-1/+1
|