Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-35

Long delay when setting replication agreement through command line with dsconf

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • dirsrv-12.5
    • dirsrv-12.2
    • 389-ds-base
    • None
    • rhel-sst-idm-ds
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Bug Fix
    • Hide
      .Creating a replication agreement with `dsconf` now completes without a delay

      Previously, when you created a replication agreement by using the `dsconf` utility, the command hanged for a minute and only then proceeded further. With this update, a replication agreement is now created without any delays.
      Show
      .Creating a replication agreement with `dsconf` now completes without a delay Previously, when you created a replication agreement by using the `dsconf` utility, the command hanged for a minute and only then proceeded further. With this update, a replication agreement is now created without any delays.

      Description of problem:
      When creating 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.

      Version-Release number of selected component (if applicable):
      389-ds-base-1.4.3.25-1.module+el8dsrv+12110+4144c5dd.x86_64

      How reproducible:
      Always

      Steps to Reproduce:
      1. Enable replication on supplier and consumer machine (either on the same machine or two separate, the issue is on both)
      2. Setup a replication agreement:

      1. 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?

      Additional info:
      See attachment for verbose output.

      I also tested this on Fedora and there the command is almost immediate just as in WebUI.

              idm-ds-dev-bugs IdM DS Dev
              bsmejkal@redhat.com Barbora Simonova
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: