From dcd4b64c990660f9b11b999a3b70e17c36323c4c Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Mon, 12 Jun 2017 14:41:42 +0000 Subject: [PATCH] Increase KEYSTONE_LOCKOUT_DURATION to 10 Transient failures were being reported because the current lockout period for users was too short. While this does increase the run time IdentityV3UsersTest.test_user_account_lockout, it allows for more flexibility if there is network latency or some other factor that cause the lockout to expired before the next authentication. Change-Id: I61bc39bbc35ac414b4a72929a90845956c99eb1a Closes-Bug: 1693917 --- lib/keystone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/keystone b/lib/keystone index eaed937d2e..b185ae63f2 100644 --- a/lib/keystone +++ b/lib/keystone @@ -124,7 +124,7 @@ KEYSTONE_SERVICE_URI_V3=$KEYSTONE_SERVICE_URI/v3 # Security compliance KEYSTONE_SECURITY_COMPLIANCE_ENABLED=${KEYSTONE_SECURITY_COMPLIANCE_ENABLED:-True} KEYSTONE_LOCKOUT_FAILURE_ATTEMPTS=${KEYSTONE_LOCKOUT_FAILURE_ATTEMPTS:-2} -KEYSTONE_LOCKOUT_DURATION=${KEYSTONE_LOCKOUT_DURATION:-5} +KEYSTONE_LOCKOUT_DURATION=${KEYSTONE_LOCKOUT_DURATION:-10} KEYSTONE_UNIQUE_LAST_PASSWORD_COUNT=${KEYSTONE_UNIQUE_LAST_PASSWORD_COUNT:-2}