summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_7
Commit message (Collapse)AuthorAgeFilesLines
* Fix preupgrade authorization objects are in sync minor versionsMichael Gugino2017-11-081-1/+1
| | | | | | | | | | | | | | Currently, we check that upgrade target is less than 3.8, but this will break for minor upgrades. This commit set's a fact early in the upgrade process to deterime what the currently installed version on the first master is. This fact is used to determine if our currently installed version is less than 3.7. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508301
* Fix preupgrade authorization objects are in syncMichael Gugino2017-11-061-1/+1
| | | | | | | | | | | Currently, this task is executed based on openshift_version. openshift_version is based on the upgrade target, thus not the currently install versions. This commit ensures that the task executes as intended. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508301
* Correct groupname during upgrade_control_plane playMichael Gugino2017-11-031-1/+1
| | | | | | | | | Currently, upgrade_control_plane calls tasks meant for master on etcd group. This commit corrects the groupname. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508734
* Merge pull request #5875 from mgugino-upstream-stage/fix-upgrade-config-hookMichael Gugino2017-10-271-2/+2
|\ | | | | | | | | This previously passed all CI tests, merge queue broke last night. Merging, this is a blocker bug.
| * Add master config upgrade hook to upgrade-all playsMichael Gugino2017-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | Currently, in 1.5, 3.6, 1.7 upgrade-all plays, control plane upgrades are not called correctly. This commit ensures the master config hook is appropriately applied during these upgrades to match the steps in control plane only upgrades. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1486054
* | Merge pull request #5850 from mgugino-upstream-stage/remove-base-packageScott Dodson2017-10-251-1/+0
|\ \ | |/ |/| Remove base package install
| * Remove base package installMichael Gugino2017-10-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | Currently, base atomic-openshift package is installed for versioning. This doesn't appear to be necessary. This commit removes this step. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1504196
* | Merge pull request #5832 from sdodson/bz1504525Scott Dodson2017-10-231-1/+1
|\ \ | |/ |/| Correct version gates on policy reconciliation and add retries
| * verstion_gte seems unreliable on containerized installsScott Dodson2017-10-201-1/+1
| |
* | Correct host group for controller restartRussell Teague2017-10-231-1/+1
| | | | | | | | | | | | Fixes 1504515 https://bugzilla.redhat.com/show_bug.cgi?id=1504515
* | Merge pull request #5749 from abutcher/servinginfo-client-ca-upgradeOpenShift Merge Robot2017-10-201-0/+5
|\ \ | |/ |/| | | | | | | | | Automatic merge from submit-queue. Set servingInfo.clientCA to ca.crt during upgrade. https://bugzilla.redhat.com/show_bug.cgi?id=1501795
| * Set servingInfo.clientCA to ca.crt during upgrade.Andrew Butcher2017-10-171-0/+5
| |
* | Merge pull request #5763 from mgugino-upstream-stage/fix-master-config-upgradeScott Dodson2017-10-181-16/+0
|\ \ | | | | | | Remove unneeded master config updates during upgrades
| * | Remove unneeded master config updates during upgradesMichael Gugino2017-10-171-16/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, upgrade_control_plane.yml will add any missing sections to the openshift master's config. These additions are only needed once. Users who perform multiple upgrades to their clusters over time do not need to have these variables re-inserted. Currently, re-inserting these variables can cause unwanted local changes. This commit ensures that the variables are only inserted into openshift master's config once. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1486054
* | Merge pull request #5730 from sdodson/restart-controllersScott Dodson2017-10-172-0/+30
|\ \ | |/ |/| Restart all controllers to force reconfiguration during upgrade
| * Restart all controllers to force reconfiguration during upgradeScott Dodson2017-10-112-0/+30
| |
* | Ensure controllerConfig.serviceServingCert is correctly set during upgrade.Andrew Butcher2017-10-131-0/+10
|/
* Switch to configmap leader election on 3.7 upgradeMonis Khan2017-10-061-0/+5
| | | | | | | | | | | | | | | | | This change sets the controllerConfig.election.lockName to openshift-master-controllers on a 3.7 upgrade. This is the default in a new 3.7 cluster. Important excerpt from the docs inside the origin codebase (slightly modified): There are two modes for lease operation - a legacy mode that directly connects to etcd, and the preferred mode which coordinates on a configmap or endpoint in the kube-system namespace. Because legacy mode and the new mode do not coordinate on the same key, an upgrade must stop all controllers before changing the configuration and starting controllers with the new config. Signed-off-by: Monis Khan <mkhan@redhat.com>
* Limit base-package install during master upgradesMichael Gugino2017-10-021-0/+1
| | | | | | | | | | | Currently, openshift_version installs RPM packages on all nodes and masters to aid in determining and setting the proper version across the cluster. This commit limits the host groups to only masters during upgrade_control_plane plays. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1495107
* Merge pull request #5593 from ingvagabund/block-upgrade-if-etcd3-not-setJan Chaloupka2017-09-301-0/+4
|\ | | | | block 3.6->3.7 upgrade if storage backend is not set to etcd3
| * block 3.6->3.7 upgrade if storage backend is not set to etcd3Jan Chaloupka2017-09-291-0/+4
| |
* | move health-checks and control-plane-verification before excludersJan Chaloupka2017-09-292-12/+12
|/
* check if the storage backend is set to etcd3 before upgrading to 3.7Jan Chaloupka2017-09-251-0/+4
|
* disable excluders after all pre-checksJan Chaloupka2017-09-211-8/+8
|
* add health checks 3_6,3_7 upgrade pathjuanvallejo2017-09-112-0/+8
|
* 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
| |
* | Test: Fail on entry point playbooks in commonRussell Teague2017-08-293-3/+3
|/
* 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
* Fix syntax for when statementRodolfo Carvalho2017-08-103-6/+9
| | | | | | | | 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}}
* Add v3_7 upgradesScott Dodson2017-08-087-0/+382