diff options
author | Steve Kuznetsov <skuznets@redhat.com> | 2017-03-23 10:30:06 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-03-24 17:00:53 -0400 |
commit | 94bcc154b85092fc4b85915b36f94b138a91e9b6 (patch) | |
tree | cc2d877b46d8bca682edcbb0786e024a267b7b98 /playbooks/common/openshift-cluster | |
parent | 86d56d1aabdff4a4d828a3f22099640f9769f9f4 (diff) | |
download | openshift-94bcc154b85092fc4b85915b36f94b138a91e9b6.tar.gz openshift-94bcc154b85092fc4b85915b36f94b138a91e9b6.tar.bz2 openshift-94bcc154b85092fc4b85915b36f94b138a91e9b6.tar.xz openshift-94bcc154b85092fc4b85915b36f94b138a91e9b6.zip |
Added 3.5 -> 3.6 upgrade playbooks
Diffstat (limited to 'playbooks/common/openshift-cluster')
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: [] |