diff options
Diffstat (limited to 'kolla')
| -rwxr-xr-x | kolla/image/build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py index cd59aa260..8f617c69e 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -1018,6 +1018,10 @@ class KollaWorker(object): 'name': name, 'status': status, }) + if self.conf.logs_dir and status == STATUS_ERROR: + os.symlink("%s.log" % name, + os.path.join(self.conf.logs_dir, + "000_FAILED_%s.log" % name)) if self.image_statuses_unmatched: LOG.debug("=====================================") |
