The following errors repeat every once in a while in our integration tests:
______________________ TestReplicaInstall.test_revoked_ds ______________________ args = (<ipatests.test_integration.test_caless.TestReplicaInstall object at 0x7f1185578b10>,) replica = <ipatests.test_integration.host.Host vm-035.idm.lab.eng.brq.redhat.com (replica)> def wrapped(*args): try: > func(*args) test_integration/test_caless.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_integration/test_caless.py:926: in test_revoked_ds dirsrv_pkcs12='dirsrv.p12') test_integration/test_caless.py:260: in prepare_replica raiseonerr=False) test_integration/tasks.py:376: in install_replica enable_replication_debugging(replica) test_integration/tasks.py:231: in enable_replication_debugging stdin_text=logging_ldif) ../pytest_multihost/host.py:246: in run_command command.wait(raiseonerr=raiseonerr) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pytest_multihost.transport.SSHCommand object at 0x7f1185889950> raiseonerr = True def wait(self, raiseonerr=True): """Wait for the remote process to exit Raises an excption if the exit code is not 0, unless raiseonerr is true. """ if self._done: return self.returncode self._end_process() self._done = True if raiseonerr and self.returncode: self.log.error('Exit code: %s', self.returncode) > raise subprocess.CalledProcessError(self.returncode, self.argv) E CalledProcessError: Command '['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', '<password>']' returned non-zero exit status 255 ../pytest_multihost/transport.py:159: CalledProcessError
The piece of code, where the error gets caught, enables replication debugging in a freshly installed replica by modifying the nsslapd-errorlog-level attribute in replica's ldap. For some reason immediately after replica installation ldap does not perform the requested operation. The operation succeeds however, if we put some sleep time, like 15 seconds, before enabling replication debugging
attachment errors
Update. Not always a wait interval helps. As a result we are having otherwise functional replica (can kinit, create user which does get replicated to master, etc) with an unresponding ldap instance.[[BR]] Dirsrv errors log attached
Resolution: ldapmodify uses incorrect CA cert. Patches causes this issues has not been pushed, this ticket is invalid.
Metadata Update from @ofayans: - Issue assigned to someone - Issue set to the milestone: 0.0 NEEDS_TRIAGE