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

dsrepl status displays incomplete message about errors reading cn=monitor

    Details

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

      Description

      In trying out the new dsrepl status command this morning, I seem always to get a spurious, incomplete error message after the table:

      There were error(s) while reading cn=monitor on all the servers in the
      topology:
      

      I've set up 2 replicas with the attached script, setup2replicas.sh.

      The monitor user doesn't seem to have problems reading cn=monitor directly:

      $ /path/to/replica-1/bin/ldapsearch --hostname localhost --port 11389 --bindDN uid=monitor --bindPassword password -b cn=monitor -s base "(&)" 1.1
      dn: cn=monitor
      
      $ /path/to/replica-1/bin/ldapsearch --hostname localhost --port 21389 --bindDN uid=monitor --bindPassword password -b cn=monitor -s base "(&)" 1.1
      dn: cn=monitor
      
      $ /path/to/replica-1/bin/dsrepl status --hostname localhost --port 14444 --bindDN uid=monitor --bindPassword password --trustAll
      Domain / DS        Status  Receive delay  Replay delay
      ------------------------------------------------------
      dc=example,dc=com                         
      ├─ DS/replica-1    OK      0 ms           0 ms
      └─ DS/replica-2    OK      0 ms           0 ms
      cn=schema                                 
      ├─ DS/replica-1    OK      0 ms           0 ms
      └─ DS/replica-2    OK      0 ms           0 ms
      There were error(s) while reading cn=monitor on all the servers in the
      topology:
      $
      

      I don't see anything in the logs about failures or errors on either replica:

      $ grep -iR error /path/to/replica-1/logs 
      $ grep -iR error /path/to/replica-2/logs 
      $ grep -iR fail /path/to/replica-1/logs 
      $ grep -iR fail /path/to/replica-2/logs 
      $
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michal.severin Michal Severin
                Reporter:
                Mark Mark Craig
                Dev Assignee:
                Jean-Noël Rouvignac
                QA Assignee:
                Michal Severin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: