If the instance exists but is stopped, createInstance fails to return a proper DirSrv Instance. In fact, if it can not establish a connection to the instance, it assumes it needs to be created (setup-ds.pl) instead of trying to start it and retry
attachment 0001-Ticket-47595-fail-to-detect-reinit-already-existing-.patch
https://fedorahosted.org/389/attachment/ticket/47595/0001-Ticket-47595-fail-to-detect-reinit-already-existing-.patch#L295 {{{ if not offline: ... # add brookers self.add_brookers() }}} Why not add_brookers even if offline?
{{{
175 try: 176 self.unbind() 177 except: 178 pass
}}} Can you add a log.debug here to print the exception?
Otherwise, ack
git merge ticket47595 Updating 693e668..2e790bb Fast-forward lib389/init.py | 14 ++++++++----- lib389/brooker.py | 6 +++--- lib389/tools.py | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
git push origin master
Counting objects: 11, done. Delta compression using up to 4 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 2.41 KiB, done. Total 6 (delta 5), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/lib389.git/ 693e668..2e790bb master -> master
Milestone lib389 1.0 deleted
Metadata Update from @rmeggins: - Issue assigned to tbordaz
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/932
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)
Login to comment on this ticket.