From 21bab8171f6d2d574b277a369924e5fe3ab4700b Mon Sep 17 00:00:00 2001 From: zhurong Date: Thu, 11 Apr 2019 16:42:36 +0800 Subject: [PATCH] Reduce the alarm_threshold value to make autoscaling test stable telemetry-dsvm-integration sometimes failed due to the alarm_threshold is too high[0], we can just deduce the alarm_threshold value to make test stable. [0]http://logs.openstack.org/62/643262/3/check/telemetry-dsvm-integration/9771ecc/logs/screen-aodh-evaluator.txt.gz#_Apr_11_15_36_33_279860 Change-Id: I63af7f6c804e123395b225244111543dedc67581 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 268f18da73..4af0497442 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -405,7 +405,7 @@ if is_service_enabled ceilometer; then start_ceilometer elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then iniset $TEMPEST_CONFIG telemetry alarm_granularity $CEILOMETER_ALARM_GRANULARITY - iniset $TEMPEST_CONFIG telemetry alarm_threshold 10000000000 + iniset $TEMPEST_CONFIG telemetry alarm_threshold 10000000 iniset $TEMPEST_CONFIG telemetry alarm_metric_name cpu iniset $TEMPEST_CONFIG telemetry alarm_aggregation_method rate:mean fi