Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7367

split mode: Cannot add server instance keys to the new server in mixed topology


    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: replication
    • Labels:


      Found with full linux split job using 7.0.0-M2020-10.1:

      When trying to add new server to topology of old servers (6.5.3) we hit following issue in the test:

      ./DJ3_RT1_DSRS/opendj/bin/dsrepl add-local-server-to-pre-7-0-topology  -h openam.example.com -p 4444 -D "cn=admin,cn=Administrators,cn=admin data" -w "password" -X  --baseDn "dc=com"
      -- rc --
      returned 1, expected to be in [0]
      -- stdout --
      Establishing connections ..... Done
      Checking registration information ..... Done
      Configuring the servers in the topology to talk to the local server ..... Done
      Adding server instances keys from the existing topology into 'cn=admin data'
      in the new server .....
      -- stderr --
      Cannot add server instance keys to the new server. The error was:
      (No such file or directory)
      Check the server error logs for additional details

      The above error can be reproduced by any test in replication_group3.mixedTopologies for instance with this cmd:

      btw you will need to add this line 

      reloc_instance = True

      to [OpenDJ] and [OpenDJProxy] sections in config.cfg.

      python3 run-pybot.py -v -s replication_group3.mixedTopologies -t add_dsrs_into_existing_dsrs_dsrs_topology dj


      1. Setup old DSRS-DSRS topo (use --instancePath different then extract path)
      2. Setup 7.0.0 DSRS and do not start it (use --instancePath different then extract path)
      3. Configure 7.0.0 DSRS to be compatible with 6.5.3
      4. run dsrepl add-local-server... cmd :
         ./DJ3_RT1_DSRS/opendj/bin/dsrepl add-local-server-to-pre-7-0-topology -h openam.example.com -p 4444 -D "cn=admin,cn=Administrators,cn=admin data" -w "password" -X --baseDn "dc=com"




            • Assignee:
              ondrej.fuchsik Ondrej Fuchsik
              ondrej.fuchsik Ondrej Fuchsik
              Dev Assignee:
              Jean-Noël Rouvignac
              QA Assignee:
              Ondrej Fuchsik
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: