From e450db9ac1371d099e12d960b5f3c65bab2a066f Mon Sep 17 00:00:00 2001 From: Bin Qian Date: Mon, 9 Apr 2018 08:54:11 -0400 Subject: [PATCH] Extend glance-registry timeout The glance-registry timeout is insufficient often resulting in swact failure. Extend the glance-registry enable/enable-audit action timeout to 60 seconds. Change-Id: Ie951ca413b3829807b6453e9ab96538417bd65ec Signed-off-by: Kristine Bujold --- service-mgmt/sm-db-1.0.0/database/create_sm_db.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql b/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql index b69e6c0e..5eba529c 100644 --- a/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql +++ b/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql @@ -935,4 +935,6 @@ INSERT INTO "CONFIGURATION" VALUES(1,'ENABLING_THROTTLE','2'); -- INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','drbd-patch-vault','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES"; -- INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','distributed-cloud-services','dcorch-nova-api-proxy','critical' FROM "SERVICE_GROUP_MEMBERS"; +update "SERVICE_ACTIONS" set TIMEOUT_IN_SECS=60 where action in ('enable', 'audit-enabled') and service_name = 'glance-registry'; + COMMIT;