summaryrefslogtreecommitdiff
path: root/devstack/lib/ironic
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2020-10-28 15:56:12 +0100
committerDmitry Tantsur <dtantsur@protonmail.com>2020-10-28 15:56:12 +0100
commitdb7c0c069d209609ce1abf181ed3d4b597e2f12c (patch)
treec4c1629ecf5dbdbf76fd67ed4d5d8de5b0c333a9 /devstack/lib/ironic
parent5e68f7910245408ed0705b1a97fff06676a2a60f (diff)
downloadironic-db7c0c069d209609ce1abf181ed3d4b597e2f12c.tar.gz
devstack: log all requests to sushy-emulator
Change-Id: Ie2e97ebd51182ccec488199a34c27a3d8a2a02b9
Diffstat (limited to 'devstack/lib/ironic')
-rw-r--r--devstack/lib/ironic2
1 files changed, 2 insertions, 0 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index b0280f3fb..0da2ae2ce 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -1045,6 +1045,8 @@ function install_redfish {
# NOTE(dtantsur): handling virtual media ISO can take time, so increase
# both concurrency and the worker timeout.
cmd+=" --workers 2 --threads 2 --timeout 90"
+ # NOTE(dtantsur): log all accesses to stdout
+ cmd+=" --access-logfile=- --error-logfile=-"
write_user_unit_file $IRONIC_REDFISH_EMULATOR_SYSTEMD_SERVICE "$cmd" "" "$STACK_USER"