mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 14:40:16 -05:00
Fix certmonger.wait_for_request
https://fedorahosted.org/freeipa/ticket/4558 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
734afdf936
commit
05e66264a9
1 file changed
+1
-1
@@ -474,7 +474,7 @@ def check_state(dirs):
|
||||
|
||||
def wait_for_request(request_id, timeout=120):
|
||||
for i in range(0, timeout, 5):
|
||||
state = get_request_value(request_id, 'state').strip()
|
||||
state = get_request_value(request_id, 'status')
|
||||
root_logger.debug("certmonger request is in state %r", state)
|
||||
if state in ('CA_REJECTED', 'CA_UNREACHABLE', 'CA_UNCONFIGURED',
|
||||
'NEED_GUIDANCE', 'NEED_CA', 'MONITORING'):
|
||||
|
||||
Reference in new issue
Block a user