diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-03-07 10:45:12 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-03-07 14:58:19 -0500 |
commit | 049af8749ac52066aa9cc27130b8dd5b00ceaef4 (patch) | |
tree | 288563075ce302604c4b9acc9fbeda911ecda84d /roles/lib_openshift/library | |
parent | 7556fa3093eaa023b45b64586bf969c5bb86ed45 (diff) | |
download | openshift-049af8749ac52066aa9cc27130b8dd5b00ceaef4.tar.gz openshift-049af8749ac52066aa9cc27130b8dd5b00ceaef4.tar.bz2 openshift-049af8749ac52066aa9cc27130b8dd5b00ceaef4.tar.xz openshift-049af8749ac52066aa9cc27130b8dd5b00ceaef4.zip |
Generic message directing people to contact support
Diffstat (limited to 'roles/lib_openshift/library')
-rw-r--r-- | roles/lib_openshift/library/oc_objectvalidator.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/roles/lib_openshift/library/oc_objectvalidator.py b/roles/lib_openshift/library/oc_objectvalidator.py index f6802a9b3..5a966fa93 100644 --- a/roles/lib_openshift/library/oc_objectvalidator.py +++ b/roles/lib_openshift/library/oc_objectvalidator.py @@ -1380,7 +1380,16 @@ class OCObjectValidator(OpenShiftCLI): all_invalid[invalid_msg] = invalid if failed: - return {'failed': True, 'msg': 'All objects are not valid.', 'state': 'list', 'results': all_invalid} + return { + 'failed': True, + 'msg': ( + "All objects are not valid. If you are a supported customer please contact " + "Red Hat Support providing the complete output above. If you are not a customer " + "please contact users@lists.openshift.redhat.com for assistance." + ), + 'state': 'list', + 'results': all_invalid + } return {'msg': 'All objects are valid.'} |