Show global request ID in DevStack environment

Work in https://review.opendev.org/#/c/669079 enabled global request ID
in the debug log, but the global request ID is not shown by the default
log configuration which is used in the DevStack environment.

This patch changes the DevStack plugin to let Blazar use the same
logging configuration as other major services, enabling the global
request ID to show up in the debug log.

Change-Id: I343a7ccff82475f3aadb27d6ed741ac9b0ad2ef1
This commit is contained in:
Tetsuro Nakamura 2019-07-12 08:05:03 +00:00 committed by Pierre Riteau
parent 563e4a8da2
commit e7880088a0

View File

@ -72,6 +72,8 @@ function configure_blazar {
iniset_rpc_backend blazar $BLAZAR_CONF_FILE DEFAULT
iniupdate_rpc_backend $BLAZAR_CONF_FILE DEFAULT
setup_logging $BLAZAR_CONF_FILE
ACTUAL_FILTERS=$(iniget $NOVA_CONF filter_scheduler enabled_filters)
if [[ -z "$ACTUAL_FILTERS" ]]; then
iniadd $NOVA_CONF filter_scheduler enabled_filters "RetryFilter, AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, AggregateInstanceExtraSpecsFilter, AggregateMultiTenancyIsolation, ServerGroupAntiAffinityFilter, ServerGroupAffinityFilter, BlazarFilter"