From e7880088a05a553f73915d4f63e1f9bf6a65395a Mon Sep 17 00:00:00 2001 From: Tetsuro Nakamura Date: Fri, 12 Jul 2019 08:05:03 +0000 Subject: [PATCH] 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 --- devstack/plugin.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index bf095c7b..8c600511 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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"