diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2013-03-06 10:17:58 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-21 17:14:55 +0100 |
commit | 41031fe121d6ec8bc9a6bb48b62068a9af905dc3 (patch) | |
tree | 3c4b38e314a3c24c2a4aa4097841032c7ab8c7ed /ipalib/text.py | |
parent | 1336b399065ff47477029ba487f1d392f1ce6ac8 (diff) | |
download | freeipa-41031fe121d6ec8bc9a6bb48b62068a9af905dc3.tar.gz freeipa-41031fe121d6ec8bc9a6bb48b62068a9af905dc3.tar.xz freeipa-41031fe121d6ec8bc9a6bb48b62068a9af905dc3.zip |
Process exceptions when talking to Dogtag
The problem is the ca_status() uses an HTTP GET operation to check Dogtag's
status. Under some circumstances Dogtag may take a long time to respond, so the
HTTP GET may time out much earlier than 2 minutes. And since the above code
doesn't catch the exception, the whole loop fails immediately, so it doesn't
wait for a full 2 minutes as expected.
https://fedorahosted.org/freeipa/ticket/3492
Diffstat (limited to 'ipalib/text.py')
0 files changed, 0 insertions, 0 deletions