summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-25 09:38:28 -0400
committerGitHub <noreply@github.com>2017-08-25 09:38:28 -0400
commitc9be553a256b788cc0ef7f221ad4a7f276ed1dca (patch)
tree231a9d0c16b08eaaa41fdbdab997de83a47c9384
parent788888606414b5f323e43ac7841462330d544fc1 (diff)
parent186f6a6b44daf10d450331384df8bb6ab157ffac (diff)
downloadopenshift-c9be553a256b788cc0ef7f221ad4a7f276ed1dca.tar.gz
openshift-c9be553a256b788cc0ef7f221ad4a7f276ed1dca.tar.bz2
openshift-c9be553a256b788cc0ef7f221ad4a7f276ed1dca.tar.xz
openshift-c9be553a256b788cc0ef7f221ad4a7f276ed1dca.zip
Merge pull request #5198 from mtnbikenc/migrate-auth
Upgrade check for OpenShift authorization objects
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml b/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml
index 90e95422b..136ad5362 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_7/validator.yml
@@ -7,6 +7,16 @@
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
+ changed_when: false
+ register: l_oc_result
+ until: l_oc_result.rc == 0
+ retries: 4
+ delay: 15