Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR - Issue 51102 - RFE - ds-replcheck - make online timeout configurable #4156

Closed
389-ds-bot opened this issue Sep 13, 2020 · 6 comments
Closed
Labels
merged Migration flag - PR pr Migration flag - PR

Comments

@389-ds-bot
Copy link

389-ds-bot commented Sep 13, 2020

Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/51103


Bug Description:

When doing an online check with replicas that are very far apart the connection can time out as the hardcoded timeout is 5 seconds.

Fix Description:

Change the default timeout to never timeout, and add an CLI option to specify a specific timeout.

Also caught all the possible LDAP exceptions so we can cleanly "fail". Fixed some python syntax issues, and improved the entry inconsistency report

relates: Resolves: #4155

@389-ds-bot 389-ds-bot added merged Migration flag - PR pr Migration flag - PR labels Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2020-05-20 02:52:33

Looks reasonable to me. Ack,

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2020-05-20 19:36:03

We, probably, need to add the argument to state_parser also because get_state also calls init_online_params(args)

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2020-05-20 19:48:52

rebased onto c350ddc

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2020-05-20 19:49:24

We, probably, need to add the argument to state_parser also because get_state also calls init_online_params(args)

Nice catch! Done, merging...

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2020-05-20 19:49:48

Pull-Request has been merged by mreynolds389

@389-ds-bot
Copy link
Author

Patch
51103.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged Migration flag - PR pr Migration flag - PR
Projects
None yet
Development

No branches or pull requests

1 participant