diff options
Diffstat (limited to 'cns-libs/cnslibs/common/openshift_ops.py')
-rw-r--r-- | cns-libs/cnslibs/common/openshift_ops.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cns-libs/cnslibs/common/openshift_ops.py b/cns-libs/cnslibs/common/openshift_ops.py index b7390152..0d44df1f 100644 --- a/cns-libs/cnslibs/common/openshift_ops.py +++ b/cns-libs/cnslibs/common/openshift_ops.py @@ -930,7 +930,8 @@ def wait_for_pod_be_ready(hostname, pod_name, ":.status.phase") % pod_name ret, out, err = g.run(hostname, cmd, "root") if ret != 0: - msg = ("failed to execute cmd %s" % cmd) + msg = "Failed to execute cmd: %s\nout: %s\nerr: %s" % ( + cmd, out, err) g.log.error(msg) raise exceptions.ExecutionError(msg) output = out.strip().split() |