Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

agent: Fix the issue of stdout hang on builtin proxy#397

Merged
devimc merged 1 commit intokata-containers:masterfrom
lifupan:fix_stdouthang
Oct 16, 2018
Merged

agent: Fix the issue of stdout hang on builtin proxy#397
devimc merged 1 commit intokata-containers:masterfrom
lifupan:fix_stdouthang

Conversation

@lifupan
Copy link
Copy Markdown
Member

@lifupan lifupan commented Oct 15, 2018

Since the Yamux's keepalive has been disabled both
on the server and the client side, and this brings
a weird issue where the communication between the
proxy and the agent hangs. The same issue has been
fixed in kata proxy by:
"kata-containers/proxy#91".

This commit just cherry-pick that patch here to
fix the same issue on kata builtin proxy.

Fixes: #396

Signed-off-by: fupan lifupan@gmail.com

Since the Yamux's keepalive has been disabled both
on the server and the client side, and this brings
a weird issue where the communication between the
proxy and the agent hangs. The same issue has been
fixed in kata proxy by:
"kata-containers/proxy#91".

This commit just cherry-pick that patch here to
fix the same issue on kata builtin proxy.

Fixes: kata-containers#396

Signed-off-by: fupan <lifupan@gmail.com>
@jodh-intel
Copy link
Copy Markdown

jodh-intel commented Oct 15, 2018

lgtm

Approved with PullApprove

Copy link
Copy Markdown
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@grahamwhaley
Copy link
Copy Markdown
Contributor

/test

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 15, 2018

Codecov Report

Merging #397 into master will increase coverage by 0.12%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #397      +/-   ##
==========================================
+ Coverage   47.83%   47.96%   +0.12%     
==========================================
  Files          17       17              
  Lines        2638     2648      +10     
==========================================
+ Hits         1262     1270       +8     
- Misses       1215     1216       +1     
- Partials      161      162       +1

Copy link
Copy Markdown

@devimc devimc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lifupan
Copy link
Copy Markdown
Member Author

lifupan commented Oct 16, 2018

/test

@devimc devimc merged commit 03f040f into kata-containers:master Oct 16, 2018
@lifupan lifupan deleted the fix_stdouthang branch October 17, 2018 01:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sometimes the IO's stdout will hang on shimv2 with kata builtin proxy

5 participants