summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5256 from ashcrow/1451023Scott Dodson2017-09-111-0/+15
|\ | | | | upgrade: Verify required network items are set
| * upgrade: Verify required network items are setSteve Milner2017-09-081-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When upgrading osm_cluster_network_cidr, osm_host_subnet_length, and openshift_portal_net must be set to avoid SDN initialization errors. This was found when the default parameters were changed between Openshift versions. This meant users who upgraded and did not specify either mentioned variable at install/upgrade time ended up getting SDN errors post upgrade. When osm_cluster_network_cidr, osm_host_subnet_length, and openshift_portal_net are not set the upgrade will fail telling the user that the variables must be set and how to find the current values in the current install. References: https://github.com/openshift/openshift-ansible/commit/b50b4ea0b03feb9431abd7294fe4fb6b549ddfc0 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1451023
* | Fix include path for docker upgrade tasksRussell Teague2017-09-081-2/+4
|/
* Remove openshift-commonMichael Gugino2017-09-062-2/+0
| | | | | | | | | Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
* 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
| |
* | 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-2920-17/+17
|/
* Merge pull request #5182 from mtnbikenc/upgrade-orphansOpenShift Bot2017-08-261-13/+0
|\ | | | | Merged by openshift-bot
| * Remove unused upgrade playbookRussell Teague2017-08-231-13/+0
| |
* | Upgrade check for OpenShift authorization objectsRussell Teague2017-08-241-0/+10
|/ | | | | | | Adds task to run `oc adm migrate authorization` to ensure OpenShift authorization objects are in sync. Fixes #5021
* Remove orphan filesRussell Teague2017-08-152-15/+0
|
* Fix syntax for when statementRodolfo Carvalho2017-08-1016-44/+66
| | | | | | | | Without that, playbook runs print warnings such as this: [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_etcd_hosts is not defined and g_new_etcd_hosts is not defined}}
* Merge pull request #4832 from smarterclayton/stop_using_old_modeOpenShift Bot2017-08-094-11/+5
|\ | | | | Merged by openshift-bot
| * Remove remaining references to openshift-master.serviceClayton Coleman2017-08-082-2/+0
| | | | | | | | Prevents playbooks from accidentally restarting the master service.
| * Disable old openshift-master.service on upgradeClayton Coleman2017-08-081-0/+3
| |
| * Remove the origin-master.service and associated filesClayton Coleman2017-08-081-9/+2
| | | | | | | | | | | | From now on, all master configurations use the api / controller split, regardless of HA mode or previous configuration. This will be our only supported configuration starting in 3.7 or 3.8.
* | Add v3_7 upgradesScott Dodson2017-08-087-0/+382
|/
* add pre-flight checks to ugrade pathjuanvallejo2017-08-022-0/+17
|
* Revert "Add health checks to upgrade playbook"Rodolfo Carvalho2017-07-282-15/+0
|
* Merge pull request #4372 from ↵Rodolfo Carvalho2017-07-282-0/+15
|\ | | | | | | | | juanvallejo/jvallejo/verify-disk-memory-before-upgrade Add health checks to upgrade playbook
| * add pre-flight checks to ugrade pathjuanvallejo2017-07-262-0/+15
| |
* | 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
* Merge pull request #4778 from jkaurredhat/drain_upgrade-1.6Scott Dodson2017-07-182-2/+2
|\ | | | | drain still pending in below files without fix :
| * drain still pending in below files without fix :jkaurredhat2017-07-182-2/+2
| | | | | | | | | | | | | | playbooks/common/openshift-cluster/upgrades/docker/docker_upgrade.yml playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml Signed-off-by: jkaurredhat <jkaur@redhat.com>
* | Add drain retries after 60 second delayScott Dodson2017-07-183-0/+12
| |
* | Wrap docker stop in retriesScott Dodson2017-07-181-1/+7
| |
* | Test docker restart with retries 3 delay 30Steve Milner2017-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>
* | Merge pull request #4709 from jkaurredhat/upgrade-control_planeOpenShift Bot2017-07-111-1/+1
|\ \ | | | | | | Merged by openshift-bot
| * | Error upgrading control_plane when user is not system:adminjkaurredhat2017-07-071-1/+1
| |/ | | | | | | Signed-off-byr jkaurredhat <jkaur@redhat.com>
* | Merge pull request #4624 from ↵Jan Chaloupka2017-07-081-0/+1
|\ \ | |/ |/| | | | | ingvagabund/increase-timeout-when-waiting-for-master-and-nodes increase implicit 300s default timeout to explicit 600s
| * increase implicit 300s default timeout to explicit 600sJan Chaloupka2017-06-281-0/+1
| |
* | 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-302-2/+2
| |
* | upgrade: fix name for the etcd system containerGiuseppe Scrivano2017-06-291-1/+1
|/ | | | | | | | | | Fixes this error when running upgrade_etcd.yml: The conditional check 'etcd_container_version | default('99') | version_compare(etcd_upgrade_version,'<')' failed. The error was: Version comparison: LooseVersion instance has no attribute 'version' Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #4498 from mtnbikenc/verify-upgrade-node-labelScott Dodson2017-06-221-20/+25
|\ | | | | Verify matched openshift_upgrade_nodes_label
| * Verify matched openshift_upgrade_nodes_labelRussell Teague2017-06-191-20/+25
| | | | | | | | | | | | | | Verifies the provided label matches a set of hosts prior to upgrading. If the label didn't match hosts, the upgrade would silently proceed with upgrading all nodes given the logic for creating the oo_nodes_to_upgrade group.
* | Merge pull request #4292 from sdodson/push-via-dnsOpenShift Bot2017-06-202-0/+2
|\ \ | |/ |/| Merged by openshift-bot
| * Add openshift_node_dnsmasq role to upgradeScott Dodson2017-06-182-0/+2
| |
* | Temporarilly only migrate jobs as we were beforeScott Dodson2017-06-191-2/+2
|/
* Run storage upgrade pre and post master upgradeRussell Teague2017-06-187-44/+18
|
* move etcd backup to etcd_common roleJan Chaloupka2017-06-142-7/+8
|
* Merge pull request #4391 from mtnbikenc/1456096OpenShift Bot2017-06-124-0/+36
|\ | | | | Merged by openshift-bot
| * Correct master-config update during upgradeRussell Teague2017-06-084-0/+36
| |
* | Merge pull request #4400 from ingvagabund/replace-repoquery-with-moduleJan Chaloupka2017-06-101-9/+11
|\ \ | | | | | | replace repoquery with module