diff options
author | Tim Rozet <trozet@redhat.com> | 2018-06-18 11:28:35 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-06-18 14:46:29 -0400 |
commit | 8dc27bd1443a52c177e6dedf550fd7d24a81e84e (patch) | |
tree | 13d73a5af473fcd03513928aa3b1cff2bcb426ac /apex/deploy.py | |
parent | 83ef5ed70381583e1a419716cd9acbf9538074c6 (diff) |
Fetch mistral logs from undercloud
/var/lib/mistral path contains logs for when ansible is invoked by
TripleO for Ceph configuration as well as config download. This patch
now archives and fetches that directory. Logs in previous releases
like Queens store the Ceph logs in /var/log/mistral.
Change-Id: I50c43e55efaa5dbcf8b7fb00b0e11cd3288fdd05
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'apex/deploy.py')
-rw-r--r-- | apex/deploy.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apex/deploy.py b/apex/deploy.py index 1e384a6e..cbecee8b 100644 --- a/apex/deploy.py +++ b/apex/deploy.py @@ -501,7 +501,10 @@ def main(): user='stack', tmp_dir=APEX_TEMP_DIR) logging.info("Overcloud deployment complete") except Exception: - logging.error("Deployment Failed. Please check log") + logging.error("Deployment Failed. Please check deploy log as " + "well as mistral logs in " + "{}".format(os.path.join(APEX_TEMP_DIR, + 'mistral_logs.tar.gz'))) raise finally: os.remove(os.path.join(APEX_TEMP_DIR, 'overcloud-full.qcow2')) |