devstack: log all requests to sushy-emulator

Change-Id: Ie2e97ebd51182ccec488199a34c27a3d8a2a02b9
This commit is contained in:
Dmitry Tantsur 2020-10-28 15:56:12 +01:00
parent 5e68f79102
commit db7c0c069d
1 changed files with 2 additions and 0 deletions

View File

@ -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"