summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Standardize add_host: with name and changed_whenRussell Teague2017-01-251-0/+1
| | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* Add a mid upgrade hook, re-prefix variables.Devan Goodwin2017-01-231-9/+17
|
* Debug message before running hooks.Devan Goodwin2017-01-191-0/+6
|
* Run user provided hooks prior to system/service restarts.Devan Goodwin2017-01-191-3/+4
|
* Implement pre/post master upgrade hooks.Devan Goodwin2017-01-191-0/+9
|
* Perform master upgrades in a single play serially.Devan Goodwin2017-01-181-16/+13
|
* Add master config hook for 3.4 upgrade and fix facts ordering for config ↵Andrew Butcher2016-12-161-2/+11
| | | | hook run.
* [upgrades] Upgrade etcd by defaultScott Dodson2016-12-091-3/+2
|
* upgrades - Fix logic error about when to backup etcdScott Dodson2016-12-091-1/+1
|
* Handle updating of scheduler config during upgradeJason DeTiberus2016-12-061-3/+2
| | | | | | | | | | | - do not upgrade predicates if openshift_master_scheduler_predicates is defined - do not upgrade priorities if openshift_master_scheduler_priorities is defined - do not upgrade predicates/priorities unless they match known previous default configs - output WARNING to user if predictes/priorities are not updated during install
* upgrade_control_plane.yml: systemd_units.yaml nees the master factsMark Chappell2016-12-021-0/+1
|
* Cleanup ovs file and restart docker on every upgrade.Devan Goodwin2016-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In 3.3 one of our services lays down a systemd drop-in for configuring Docker networking to use lbr0. In 3.4, this has been changed but the file must be cleaned up manually by us. However, after removing the file docker requires a restart. This had big implications particularly in containerized environments where upgrade is a very fragile series of upgrading and service restarts. To avoid double docker restarts, and thus double service restarts in containerized environments, this change does the following: - Skip restart during docker upgrade, if it is required. We will restart on our own later. - Skip containerized service restarts when we upgrade the services themselves. - Clean shutdown of all containerized services. - Restart Docker. (always, previously this only happened if it needed an upgrade) - Ensure all containerized services are restarted. - Restart rpm node services. (always) - Mark node schedulable again. At the end of this process, docker0 should be back on the system.
* Merge pull request #2562 from sdodson/etcd3Scott Dodson2016-11-141-73/+1
|\ | | | | etcd upgrade playbooks
| * Add etcd upgrade for RHEL and FedoraScott Dodson2016-11-141-1/+1
| | | | | | | | | | On Fedora we just blindly upgrade to the latest. On RHEL we do stepwise upgrades 2.0,2.1,2.2,2.3,3.0
| * Move backups to a separate file for re-useScott Dodson2016-11-141-73/+1
| |
* | Fix HA upgrade when fact cache deleted.Devan Goodwin2016-11-141-0/+1
|/ | | | | This variable is referenced in the systemd unit templates, this seems like the easiest and most consistent fix.