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:
@@ -968,6 +968,7 @@ def main():
|
|||||||
|
|
||||||
controller.CONF['DEFAULT_EXEC_TIMEOUT'] = options.timeout
|
controller.CONF['DEFAULT_EXEC_TIMEOUT'] = options.timeout
|
||||||
controller.CONF['DRY_RUN'] = options.dry_run
|
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 --gen-answer-file was supplied, do not run main
|
||||||
if options.gen_answer_file:
|
if options.gen_answer_file:
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ $resize_available = true
|
|||||||
|
|
||||||
$change_password_available = undef
|
$change_password_available = undef
|
||||||
$allow_tenant_isolation = true
|
$allow_tenant_isolation = true
|
||||||
$log_file = 'tempest.log'
|
$dir_log = hiera('DIR_LOG')
|
||||||
|
$log_file = "${dir_log}/tempest.log"
|
||||||
$use_stderr = false
|
$use_stderr = false
|
||||||
$debug = true
|
$debug = true
|
||||||
$public_router_id = undef
|
$public_router_id = undef
|
||||||
|
|||||||
Reference in New Issue
Block a user