Description of problem:
When creating a replication agreement with dsconf, the command line gets stuck for 65 seconds on average. If the agreement is created and initialized through WebUI, the change is almost immediate.
Steps to Reproduce:
Enable replication on supplier and consumer machine (either on the same machine or two separate, the issue is on both)
Setup a replication agreement:
dsconf -D "cn=Directory Manager" ldap://supplier.example.com repl-agmt create --suffix="dc=example,dc=com" --host="consumer.example.com" --port=389 --conn-protocol=LDAP --bind-dn="cn=replication manager,cn=config" --bind-passwd="password" --bind-method=SIMPLE --init example-agreement
Enter password for cn=Directory Manager on ldap://supplier.example.com:
Successfully created replication agreement "example-agreement"
-----here it gets stuck for 65 seconds, then proceeds further -------
Agreement initialization started...
Actual results:
The dsconf command is stuck for a minute.
Description of problem: When creating a replication agreement with dsconf, the command line gets stuck for 65 seconds on average. If the agreement is created and initialized through WebUI, the change is almost immediate.
Steps to Reproduce:
dsconf -D "cn=Directory Manager" ldap://supplier.example.com repl-agmt create --suffix="dc=example,dc=com" --host="consumer.example.com" --port=389 --conn-protocol=LDAP --bind-dn="cn=replication manager,cn=config" --bind-passwd="password" --bind-method=SIMPLE --init example-agreement Enter password for cn=Directory Manager on ldap://supplier.example.com: Successfully created replication agreement "example-agreement" -----here it gets stuck for 65 seconds, then proceeds further -------
Agreement initialization started...
Actual results: The dsconf command is stuck for a minute.
Expected results: Reduce the time if possible?