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

Replication: setting a server id with an hyphen prevents replication from being configured

    Details

      Description

      We are encountering a regression with rev a0f4e712fdd.
      Setting a server id with an hyphen prevents replication from being configured.

      /local/GIT/pyforge/results/20190612-103047/replication_group1/ReplicationServerId/DJ1/opendj/bin/dsconfig -h openam.example.com -p 4444 -D "uid=admin" -w password -X set-global-configuration-prop --set "server-id:DJ1-1" -n 	
      
      /local/GIT/pyforge/results/20190612-103047/replication_group1/ReplicationServerId/DJ2/opendj/bin/dsconfig -h openam.example.com -p 4445 -D "uid=admin" -w password -X set-global-configuration-prop --set "server-id:DJ2-2" -n 
      
      /local/GIT/pyforge/results/20190612-103047/replication_group1/ReplicationServerId/DJ1/opendj/bin/dsreplication configure --host1 openam.example.com --port1 4444 --bindDN1 "uid=admin" --bindPassword1 "password" --replicationPort1 8989 --host2 openam.example.com --port2 4445 --bindDN2 "uid=admin" --bindPassword2 "password" --replicationPort2 8990 -b dc=example,dc=com -I admin -w password  -X -n 	
      
      Establishing connections ..... Done
      Checking registration information ..... Done
      Updating remote references on server openam.example.com:4444 ..... Configuring Replication port on server openam.example.com:4444 ..... Done
      Done
      Updating remote references on server openam.example.com:4445 ..... Configuring Replication port on server openam.example.com:4445 ..... Done
      Done
      Updating replication configuration for baseDN dc=example,dc=com on server
      openam.example.com:4444 .....Done
      Updating replication configuration for baseDN dc=example,dc=com on server
      openam.example.com:4445 .....Done
      Updating registration configuration on server openam.example.com:4444 ..... Done
      Updating registration configuration on server openam.example.com:4445 ..... Done
      Updating replication configuration for baseDN cn=schema on server
      openam.example.com:4444 .....Done
      Updating replication configuration for baseDN cn=schema on server
      openam.example.com:4445 .....Done
      Initializing registration information on server openam.example.com:4445 with
      the contents of server openam.example.com:4444 .....
      -- stderr --
      
      Error during the initialization with contents from server
      openam.example.com:4444. Last log details: [12/Jun/2019:10:32:08 +0200]
      severity="NOTICE" msgCount=0 msgID=org.opends.messages.backend-413
      message="Initialize From Replica task setup-initialize-1 started execution".
      Task state: STOPPED_BY_ERROR. Check the error logs of openam.example.com:4444
      for more information.
      See /tmp/opendj-replication-7465493674551099827.log for a detailed log of this
      operation.
      

      reproducible with:

      ./run-pybot.py -n -s replication_group1.ReplicationServerId -t string_with_hyphen opendj
      

        Attachments

          Activity

            People

            • Assignee:
              JnRouvignac Jean-Noël Rouvignac
              Reporter:
              cforel carole forel
              QA Assignee:
              carole forel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: