Skip to content
Snippets Groups Projects

Fix acct. creation and ldapsearch concurrency issue

Merged Ravi Tripathi requested to merge github/fork/eesaanatluri/fix-acct-create-wait into feat-cod-rmq
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -2,6 +2,7 @@
import sys
import json
import ldap
import time
import logging
import argparse
import rc_util
@@ -36,6 +37,7 @@ def create_account(msg):
if not args.dry_run:
popen(cmd)
time.sleep(1)
logger.info(f'Bright command to create user:{cmd}')
except Exception:
logger.exception("Fatal cmsh error:")
Loading