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

Adjust webhook timeout & Fix CNI timeout error message #245

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

TothFerenc
Copy link
Contributor

What type of PR is this?
bug

What does this PR give to us:
During CNI ADD/DEL operations DANM waits 30 seconds to finish all
the delegated CNI tasks and DanmEp processing. In case the webhook
is too slow to respond, DANM timeouts without knowing the reason.
The webhook REST call timeout is lowered to 25 seconds (by default
it is 30 sec), so its timeout event can arrive back to DANM, which
can log that error message.

Which issue(s) this PR fixes:
Related to #144, which is still a valid issue.

Special notes for your reviewer:

Does this PR introduce a user-facing change?:
No.

During CNI ADD/DEL operations DANM waits 30 seconds to finish all
the delegated CNI tasks and DanmEp processing. In case the webhook
is too slow to respond, DANM timeouts without knowing the reason.
The webhook REST call timeout is lowered to 25 seconds (by default
it is 30 sec), so its timeout event can arrive back to DANM, which
can log that error message.
@Levovar
Copy link
Collaborator

Levovar commented Jan 25, 2021

RIP lónyál :(

@Levovar Levovar merged commit e5e8b7f into nokia:master Jan 25, 2021
@Levovar Levovar deleted the timeout-fix branch January 25, 2021 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants