diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-03-28 12:06:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 12:06:44 -0500 |
commit | b89d85cf623ac050ad7d4c8fff9f84a841191a51 (patch) | |
tree | 66dcd45f76a116492b75fb7efb96c53302f2c4d8 /playbooks/common | |
parent | e9a4e751bc28f43583087ce6502a36c5d83cf30d (diff) | |
parent | 94bcc154b85092fc4b85915b36f94b138a91e9b6 (diff) | |
download | openshift-b89d85cf623ac050ad7d4c8fff9f84a841191a51.tar.gz openshift-b89d85cf623ac050ad7d4c8fff9f84a841191a51.tar.bz2 openshift-b89d85cf623ac050ad7d4c8fff9f84a841191a51.tar.xz openshift-b89d85cf623ac050ad7d4c8fff9f84a841191a51.zip |
Merge pull request #3750 from stevekuznetsov/skuznets/3-6-upgrade
Merged by openshift-bot
Diffstat (limited to 'playbooks/common')
4 files changed, 30 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_6/filter_plugins b/playbooks/common/openshift-cluster/upgrades/v3_6/filter_plugins new file mode 120000 index 000000000..7de3c1dd7 --- /dev/null +++ b/playbooks/common/openshift-cluster/upgrades/v3_6/filter_plugins @@ -0,0 +1 @@ +../../../../../filter_plugins/
\ No newline at end of file diff --git a/playbooks/common/openshift-cluster/upgrades/v3_6/roles b/playbooks/common/openshift-cluster/upgrades/v3_6/roles new file mode 120000 index 000000000..415645be6 --- /dev/null +++ b/playbooks/common/openshift-cluster/upgrades/v3_6/roles @@ -0,0 +1 @@ +../../../../../roles/
\ No newline at end of file diff --git a/playbooks/common/openshift-cluster/upgrades/v3_6/storage_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_6/storage_upgrade.yml new file mode 100644 index 000000000..48c69eccd --- /dev/null +++ b/playbooks/common/openshift-cluster/upgrades/v3_6/storage_upgrade.yml @@ -0,0 +1,18 @@ +--- +############################################################################### +# Post upgrade - Upgrade job storage +############################################################################### +- name: Upgrade job storage + hosts: oo_first_master + roles: + - { role: openshift_cli } + vars: + # Another spot where we assume docker is running and do not want to accidentally trigger an unsafe + # restart. + skip_docker_role: True + tasks: + - name: Upgrade job storage + command: > + {{ openshift.common.client_binary }} adm --config={{ openshift.common.config_base }}/master/admin.kubeconfig + migrate storage --include=jobs --confirm + run_once: true diff --git a/playbooks/common/openshift-cluster/upgrades/v3_6/validator.yml b/playbooks/common/openshift-cluster/upgrades/v3_6/validator.yml new file mode 100644 index 000000000..ac5704f69 --- /dev/null +++ b/playbooks/common/openshift-cluster/upgrades/v3_6/validator.yml @@ -0,0 +1,10 @@ +--- +############################################################################### +# Pre upgrade checks for known data problems, if this playbook fails you should +# contact support. If you're not supported contact users@lists.openshift.com +############################################################################### +- name: Verify 3.6 specific upgrade checks + hosts: oo_first_master + roles: + - { role: lib_openshift } + tasks: [] |