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

Upgrade: Error at startup with migrated replication configuration durations

    Details

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

      Description

      Found with rev 3bdda4966e5

      We set up 2 servers with version 6.0.0, as a replicated topology.
      We set up some configurations parameters:

      /Users/carole.forel/wks/pyforge/results/20191010-101637/upgrade_group/UpgradeTasksPart1/DJ_TASKS2/opendj/bin/dsconfig -h openam.example.com -p 4448 -D "cn=Directory Manager" -w password -X set-replication-domain-prop --provider-name "Multimaster Synchronization" --domain-name dc=com --set heartbeat-interval:"12 s" -n
      

      Then we stop and upgrade one server.
      At startup, it throws the following error:

      /Users/carole.forel/wks/pyforge/results/20191010-101637/upgrade_group/UpgradeTasksPart1/DJ_TASKS2/opendj/bin/start-ds 	
      10:18:16.378	WARN	ERROR:
      -- rc --
      returned 1, expected to be in [0]
      -- stdout --
      [10/Oct/2019:10:18:13 +0200] category=CORE severity=NOTICE msgID=134 msg=ForgeRock Directory Services 7.0.0-SNAPSHOT (build 20191009121745, revision number 3bdda4966e59d6ffa119b60781535d732275f757) starting up
      [10/Oct/2019:10:18:13 +0200] category=JVM severity=NOTICE msgID=21 msg=Installation Directory:  /Users/carole.forel/wks/pyforge/results/20191010-101637/upgrade_group/UpgradeTasksPart1/DJ_TASKS2/opendj
      [10/Oct/2019:10:18:13 +0200] category=JVM severity=NOTICE msgID=23 msg=Instance Directory:      /Users/carole.forel/wks/pyforge/results/20191010-101637/upgrade_group/UpgradeTasksPart1/DJ_TASKS2/opendj
      [10/Oct/2019:10:18:13 +0200] category=JVM severity=NOTICE msgID=17 msg=JVM Information: 1.8.0_222-b10 by AdoptOpenJDK, 64-bit architecture, 7635730432 bytes heap size
      [10/Oct/2019:10:18:13 +0200] category=JVM severity=NOTICE msgID=18 msg=JVM Host: openam.example.com default/22124, running Mac OS X 10.14.6 x86_64, 34359738368 bytes physical memory size, number of processors available 16
      [10/Oct/2019:10:18:13 +0200] category=JVM severity=NOTICE msgID=19 msg=JVM Arguments: "-Dorg.opends.server.scriptName=start-ds"
      [10/Oct/2019:10:18:15 +0200] category=BACKEND severity=NOTICE msgID=513 msg=The database backend userRoot containing 209 entries has started
      [10/Oct/2019:10:18:15 +0200] category=EXTENSIONS severity=WARNING msgID=568 msg=The subject attribute to user attribute certificate mapper defined in configuration entry cn=Subject DN to User Attribute,cn=Certificate Mappers,cn=config references attribute type ds-certificate-subject-dn which does not have an equality index defined in backend userRoot
      [10/Oct/2019:10:18:15 +0200] category=EXTENSIONS severity=WARNING msgID=568 msg=The subject attribute to user attribute certificate mapper defined in configuration entry cn=Fingerprint Mapper,cn=Certificate Mappers,cn=config references attribute type ds-certificate-fingerprint which does not have an equality index defined in backend userRoot
      [10/Oct/2019:10:18:15 +0200] category=EXTENSIONS severity=NOTICE msgID=221 msg=DIGEST-MD5 SASL mechanism using a server fully qualified domain name of: openam.example.com
      [10/Oct/2019:10:18:15 +0200] category=CORE severity=NOTICE msgID=139 msg=The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.DirectoryServerShutdown, alert ID org.opends.messages.core-141): The Directory Server has started the shutdown process. The shutdown was initiated by an instance of class org.opends.server.core.DirectoryServer and the reason provided for the shutdown was An error occurred while attempting to bootstrap the Directory Server: An error occurred while trying to decode the managed object configuration entry cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config: The Replication Synchronization Provider could not be decoded due to the following reasons: The value "PT12S" is not a valid value for the "heartbeat-interval" property, which must have the following syntax: 100 ms <= DURATION (ms); The value "PT3S" is not a valid value for the "changetime-heartbeat-interval" property, which must have the following syntax: DURATION (ms)
      [10/Oct/2019:10:18:15 +0200] category=BACKEND severity=NOTICE msgID=370 msg=The backend userRoot is now taken offline
      [10/Oct/2019:10:18:15 +0200] category=CORE severity=NOTICE msgID=203 msg=The Directory Server is now stopped
      
      

        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: