#47595 CI lib389: fail to detect/reinit already existing instance/backup
Closed: Fixed None Opened 6 years ago by tbordaz.

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

if not offline:
# 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
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

3 years ago

Login to comment on this ticket.