From e0e3b524008516bdf967a5b3cbd442860b796c65 Mon Sep 17 00:00:00 2001 From: Tee Ngo Date: Fri, 4 May 2018 14:56:12 -0400 Subject: [PATCH] AIO Reduce number of workers TIS_WORKERS_FACTOR for keystone service is reduced to 1 for all AIO variants. Tests conducted: - Bulk VM launch/delete via heat stack create/delete - duplex (20 VMs) & simplex (10 VMs) - Swact, failover, parallel live migration - duplex - Lock/unlock with max VMs, DOR - both duplex & simplex - Sanity, nightly sanity - both duplex & simplex - Full nova regression - duplex - Bulk VM launch/delete stress test - duplex (60 VMs) - Platform CPU adjustments via system host-cpu-modify - Ceilometer message queues verification - Standard system installation Change-Id: Ia455f1492ed3950ec937ad6d3a2e08b2364d9665 Signed-off-by: Jack Ding --- openstack/python-keystone/centos/files/keystone-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/python-keystone/centos/files/keystone-all b/openstack/python-keystone/centos/files/keystone-all index a0d1a09d..bde324bb 100644 --- a/openstack/python-keystone/centos/files/keystone-all +++ b/openstack/python-keystone/centos/files/keystone-all @@ -44,7 +44,7 @@ TIMEOUT="200" # Calculate the no of workers based on the number of workers retrieved by # Platform Eng which is retreived from the keystone-extra.conf -if [ "$system_type" = "All-in-one" ] & [ "$system_mode" = "simplex" ]; then +if [ "$system_type" == "All-in-one" ]; then TIS_WORKERS_FACTOR=1 else TIS_WORKERS_FACTOR=1.5