Merge "devstack: log all requests to sushy-emulator"

This commit is contained in:
Zuul 2020-11-02 12:36:31 +00:00 committed by Gerrit Code Review
commit 7080f2ce20

View File

@ -1049,6 +1049,8 @@ function install_redfish {
# NOTE(dtantsur): handling virtual media ISO can take time, so increase # NOTE(dtantsur): handling virtual media ISO can take time, so increase
# both concurrency and the worker timeout. # both concurrency and the worker timeout.
cmd+=" --workers 2 --threads 2 --timeout 90" 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" write_user_unit_file $IRONIC_REDFISH_EMULATOR_SYSTEMD_SERVICE "$cmd" "" "$STACK_USER"