commit 2d239cfbc37573f245e6560b42117828b73d19b9
Author: Kam Nasim <email address hidden>
Date: Wed Jan 11 18:55:40 2017 +0000
Set connection timeout for LDAP configuration
Presently the Identity LDAP driver does not set a connection timeout
option which has the disadvantage of causing the Identity LDAP backend
handler to stall indefinitely (or until TCP timeout) on LDAP bind, if
a) the LDAP URL is incorrect, or b) there is a connection failure/link
loss.
This commit add a new option to set the LDAP connection timeout to
set a new OPT_NETWORK_TIMEOUT option on the LDAP object. This will
raise ldap.SERVER_DOWN exceptions on timeout.
Reviewed: https:/ /review. openstack. org/390948 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=2d239cfbc37 573f245e6560b42 117828b73d19b9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2d239cfbc37573f 245e6560b421178 28b73d19b9
Author: Kam Nasim <email address hidden>
Date: Wed Jan 11 18:55:40 2017 +0000
Set connection timeout for LDAP configuration
Presently the Identity LDAP driver does not set a connection timeout
option which has the disadvantage of causing the Identity LDAP backend
handler to stall indefinitely (or until TCP timeout) on LDAP bind, if
a) the LDAP URL is incorrect, or b) there is a connection failure/link
loss.
This commit add a new option to set the LDAP connection timeout to
set a new OPT_NETWORK_TIMEOUT option on the LDAP object. This will
raise ldap.SERVER_DOWN exceptions on timeout.
Signed-off-by: Kam Nasim <email address hidden>
Closes-Bug: #1636950 0bef2cc990d2d41 0a638d1b770
Change-Id: I574e6368169ad6