summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml
blob: f76fc68d1a9dfbf9711db347e49d6b953dace0d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
###############################################################################
# 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.7 specific upgrade checks
  hosts: oo_first_master
  roles:
  - { role: lib_openshift }

  tasks:
  - name: Check for invalid namespaces and SDN errors
    oc_objectvalidator:

  - name: Confirm OpenShift authorization objects are in sync
    command: >
      {{ openshift.common.client_binary }} adm migrate authorization
    when: not openshift.common.version_gte_3_7 | bool
    changed_when: false
    register: l_oc_result
    until: l_oc_result.rc == 0
    retries: 4
    delay: 15