Send tempest.log to the packstack log directory

Otherwise it gets written to /var/lib/tempest/tempest.log which is
not where logs should be kept.

Change-Id: I5ee2c30f93e0bf53c0a450dace891ae46307157b
This commit is contained in:
David Moreau Simard
2015-12-11 14:20:16 -05:00
parent 084fed8f5b
commit 6067ef65ca
2 changed files with 3 additions and 1 deletions

View File

@@ -968,6 +968,7 @@ def main():
controller.CONF['DEFAULT_EXEC_TIMEOUT'] = options.timeout
controller.CONF['DRY_RUN'] = options.dry_run
controller.CONF['DIR_LOG'] = basedefs.DIR_LOG
# If --gen-answer-file was supplied, do not run main
if options.gen_answer_file:

View File

@@ -40,7 +40,8 @@ $resize_available = true
$change_password_available = undef
$allow_tenant_isolation = true
$log_file = 'tempest.log'
$dir_log = hiera('DIR_LOG')
$log_file = "${dir_log}/tempest.log"
$use_stderr = false
$debug = true
$public_router_id = undef